summaryrefslogtreecommitdiffstats
path: root/qmake/Makefile.unix.macos
diff options
context:
space:
mode:
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..2708d2aab5
--- /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 \
+ qoperatingsystemversion_darwin.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/global/qoperatingsystemversion_darwin.mm \
+ $(SOURCE_PATH)/src/corelib/kernel/qcore_foundation.mm