libui/darwin/GNUmakeinc.mk

43 lines
887 B
Makefile
Raw Normal View History

# 28 april 2015
osMFILES = \
darwin/alloc.m \
2015-04-28 15:38:33 -05:00
darwin/bin.m \
darwin/button.m \
darwin/checkbox.m \
2015-04-28 15:33:16 -05:00
darwin/container.m \
darwin/entry.m \
darwin/init.m \
darwin/label.m \
darwin/main.m \
darwin/menu.m \
2015-04-29 08:38:20 -05:00
darwin/newcontrol.m \
2015-04-29 09:17:49 -05:00
darwin/tab.m \
darwin/text.m \
darwin/util.m \
darwin/window.m
osHFILES = \
darwin/uipriv_darwin.h
osCFLAGS = \
-D_UI_EXTERN='__attribute__((visibility("default"))) extern' \
-fvisibility=hidden \
-mmacosx-version-min=10.7 -DMACOSX_DEPLOYMENT_TARGET=10.7
osLDFLAGS = \
-fvisibility=hidden \
-mmacosx-version-min=10.7 -lobjc -framework Foundation -framework AppKit
2015-04-28 13:46:09 -05:00
# the gcc flags don't work with Apple's linker
# fortunately, we don't need any; Apple's linker warns about undefined symbols in -shared builds!
osLDWarnUndefinedFlags =
osLIBSUFFIX = .dylib
osEXESUFFIX =
ifeq ($(ARCH),386)
archmflag = -m32
else
archmflag = -m64
endif