2015-08-16 21:46:18 -05:00
|
|
|
# 28 april 2015
|
|
|
|
|
2015-10-16 19:55:09 -05:00
|
|
|
MFILES += \
|
2015-08-16 21:46:18 -05:00
|
|
|
darwin/alloc.m \
|
2015-10-09 11:33:45 -05:00
|
|
|
darwin/area.m \
|
|
|
|
darwin/areaevents.m \
|
2015-08-16 21:46:18 -05:00
|
|
|
darwin/autolayout.m \
|
|
|
|
darwin/box.m \
|
|
|
|
darwin/button.m \
|
|
|
|
darwin/checkbox.m \
|
|
|
|
darwin/combobox.m \
|
2015-08-16 22:08:00 -05:00
|
|
|
darwin/control.m \
|
2015-08-16 21:46:18 -05:00
|
|
|
darwin/datetimepicker.m \
|
2015-10-09 11:33:45 -05:00
|
|
|
darwin/draw.m \
|
2016-01-12 00:12:35 -06:00
|
|
|
darwin/drawtext.m \
|
2015-08-16 21:46:18 -05:00
|
|
|
darwin/entry.m \
|
|
|
|
darwin/group.m \
|
|
|
|
darwin/label.m \
|
|
|
|
darwin/main.m \
|
2015-08-17 00:03:53 -05:00
|
|
|
darwin/map.m \
|
2015-08-16 21:46:18 -05:00
|
|
|
darwin/menu.m \
|
2015-12-08 12:06:26 -06:00
|
|
|
darwin/multilineentry.m \
|
2015-08-16 21:46:18 -05:00
|
|
|
darwin/progressbar.m \
|
|
|
|
darwin/radiobuttons.m \
|
|
|
|
darwin/separator.m \
|
|
|
|
darwin/slider.m \
|
|
|
|
darwin/spinbox.m \
|
|
|
|
darwin/stddialogs.m \
|
|
|
|
darwin/tab.m \
|
|
|
|
darwin/text.m \
|
|
|
|
darwin/util.m \
|
|
|
|
darwin/window.m
|
|
|
|
|
2015-10-16 19:55:09 -05:00
|
|
|
HFILES += \
|
2015-08-16 21:46:18 -05:00
|
|
|
darwin/uipriv_darwin.h
|
|
|
|
|
2015-12-11 17:58:27 -06:00
|
|
|
# TODO split into a separate file or put in GNUmakefile.libui somehow?
|
2015-10-16 19:55:09 -05:00
|
|
|
|
2015-12-11 17:58:27 -06:00
|
|
|
# flags for Cocoa
|
2015-10-16 19:55:09 -05:00
|
|
|
LDFLAGS += \
|
|
|
|
-lobjc \
|
|
|
|
-framework Foundation \
|
|
|
|
-framework AppKit
|
2015-08-16 21:46:18 -05:00
|
|
|
|
2015-12-11 17:58:27 -06:00
|
|
|
# flags for OS X versioning
|
|
|
|
CFLAGS += \
|
|
|
|
-mmacosx-version-min=10.7 \
|
|
|
|
-DMACOSX_DEPLOYMENT_TARGET=10.7
|
|
|
|
CXXFLAGS += \
|
|
|
|
-mmacosx-version-min=10.7 \
|
|
|
|
-DMACOSX_DEPLOYMENT_TARGET=10.7
|
|
|
|
LDFLAGS += \
|
|
|
|
-mmacosx-version-min=10.7
|
|
|
|
|
|
|
|
# flags for building a shared library
|
|
|
|
LDFLAGS += \
|
|
|
|
-dynamiclib
|
|
|
|
|
2015-10-16 19:55:09 -05:00
|
|
|
# on warning about undefined symbols:
|
2015-08-16 21:46:18 -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!
|