summaryrefslogtreecommitdiffstats
path: root/qmake/Makefile.unix.macos
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@qt.io>2016-11-18 16:27:15 +0100
committerOswald Buddenhagen <oswald.buddenhagen@qt.io>2016-11-23 09:38:14 +0000
commit9bdb5b5ffea50b2e8d3deb9fd370c2fb5805e076 (patch)
treec8067d5c482534646a2734c1be07faab0fc7d106 /qmake/Makefile.unix.macos
parent4ce0beee1b69a8695fc24a244a8a3053711906ac (diff)
configure: put more of the makefile contents into template files
... instead of having (duplicated) code in the configures to create it. Change-Id: Ia86b44021a024a969f5a49b7fb18d3d414869f93 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'qmake/Makefile.unix.macos')
-rw-r--r--qmake/Makefile.unix.macos17
1 files changed, 17 insertions, 0 deletions
diff --git a/qmake/Makefile.unix.macos b/qmake/Makefile.unix.macos
new file mode 100644
index 0000000000..06b875a84a
--- /dev/null
+++ b/qmake/Makefile.unix.macos
@@ -0,0 +1,17 @@
+COCOA_LFLAGS = -framework Foundation -framework CoreServices
+CARBON_LFLAGS = -framework ApplicationServices
+CARBON_CFLAGS = -fconstant-cfstrings
+
+EXTRA_CXXFLAGS = $(CARBON_CFLAGS)
+EXTRA_LFLAGS = $(COCOA_LFLAGS) $(CARBON_LFLAGS)
+
+QTOBJS2 = \
+ qsettings_mac.o \
+ qcore_mac.o \
+ qcore_mac_objc.o \
+ qcore_foundation.o
+QTSRCS2 = \
+ $(SOURCE_PATH)/src/corelib/io/qsettings_mac.cpp \
+ $(SOURCE_PATH)/src/corelib/kernel/qcore_mac.cpp \
+ $(SOURCE_PATH)/src/corelib/kernel/qcore_mac_objc.mm \
+ $(SOURCE_PATH)/src/corelib/kernel/qcore_foundation.mm