2015-04-28 12:49:20 -05:00
|
|
|
# 28 april 2015
|
|
|
|
|
|
|
|
osMFILES = \
|
|
|
|
darwin/alloc.m \
|
2015-04-28 15:38:33 -05:00
|
|
|
darwin/bin.m \
|
2015-04-29 09:28:17 -05:00
|
|
|
darwin/button.m \
|
|
|
|
darwin/checkbox.m \
|
2015-04-28 15:33:16 -05:00
|
|
|
darwin/container.m \
|
2015-04-29 09:28:17 -05:00
|
|
|
darwin/entry.m \
|
2015-04-28 12:49:20 -05:00
|
|
|
darwin/init.m \
|
2015-04-29 09:28:17 -05:00
|
|
|
darwin/label.m \
|
2015-04-28 12:49:20 -05:00
|
|
|
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 \
|
2015-04-28 12:49:20 -05:00
|
|
|
darwin/text.m \
|
2015-04-28 16:47:06 -05:00
|
|
|
darwin/util.m \
|
|
|
|
darwin/window.m
|
2015-04-28 12:49:20 -05:00
|
|
|
|
|
|
|
osHFILES = \
|
|
|
|
darwin/uipriv_darwin.h
|
|
|
|
|
|
|
|
osCFLAGS = -mmacosx-version-min=10.7 -DMACOSX_DEPLOYMENT_TARGET=10.7
|
|
|
|
osLDFLAGS = -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 =
|
|
|
|
|
2015-04-28 12:49:20 -05:00
|
|
|
osLIBSUFFIX = .dylib
|
|
|
|
osEXESUFFIX =
|
2015-05-07 14:47:10 -05:00
|
|
|
|
|
|
|
ifeq ($(ARCH),386)
|
2015-05-07 15:02:34 -05:00
|
|
|
archmflag = -m32
|
|
|
|
else
|
|
|
|
archmflag = -m64
|
2015-05-07 14:47:10 -05:00
|
|
|
endif
|