0
|
1 |
#
|
|
2 |
# qmake configuration for darwin-g++
|
|
3 |
#
|
|
4 |
# Written for Qt/X11 on Darwin and XFree86
|
|
5 |
#
|
|
6 |
|
|
7 |
MAKEFILE_GENERATOR = UNIX
|
|
8 |
TEMPLATE = app
|
|
9 |
CONFIG += qt warn_on release link_prl native_precompiled_headers
|
|
10 |
QT += core gui
|
|
11 |
DEFINES += __USE_WS_X11__
|
|
12 |
|
|
13 |
QMAKE_CC = cc
|
|
14 |
QMAKE_LEX = flex
|
|
15 |
QMAKE_LEXFLAGS =
|
|
16 |
QMAKE_YACC = yacc
|
|
17 |
QMAKE_YACCFLAGS = -d
|
|
18 |
QMAKE_CFLAGS = -pipe
|
|
19 |
QMAKE_CFLAGS_DEPS = -M
|
|
20 |
QMAKE_CFLAGS_WARN_ON = -Wall -W
|
|
21 |
QMAKE_CFLAGS_WARN_OFF = -w
|
|
22 |
QMAKE_CFLAGS_RELEASE = -O2
|
|
23 |
QMAKE_CFLAGS_DEBUG = -g
|
|
24 |
QMAKE_CFLAGS_SHLIB = -fPIC
|
|
25 |
QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
|
|
26 |
QMAKE_EXTENSION_SHLIB = dylib
|
|
27 |
QMAKE_EXTENSION_PLUGIN = so
|
|
28 |
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
|
|
29 |
QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden
|
|
30 |
QMAKE_CFLAGS_THREAD =
|
|
31 |
QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
|
|
32 |
QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE}
|
|
33 |
|
|
34 |
QMAKE_CXX = c++
|
|
35 |
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
|
|
36 |
QMAKE_CXXFLAGS_DEPS = $$QMAKE_CFLAGS_DEPS
|
|
37 |
QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
|
|
38 |
QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
|
|
39 |
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
|
|
40 |
QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
|
|
41 |
QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
|
|
42 |
QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
|
|
43 |
QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
|
|
44 |
QMAKE_CXXFLAGS_HIDESYMS += $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
|
|
45 |
QMAKE_CXXFLAGS_THREAD =
|
|
46 |
|
|
47 |
QMAKE_INCDIR =
|
|
48 |
QMAKE_LIBDIR =
|
|
49 |
QMAKE_INCDIR_X11 = /usr/X11R6/include
|
|
50 |
QMAKE_LIBDIR_X11 = /usr/X11R6/lib
|
|
51 |
QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
|
|
52 |
QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]
|
|
53 |
QMAKE_INCDIR_OPENGL = /usr/X11R6/include
|
|
54 |
QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib
|
|
55 |
|
|
56 |
QMAKE_LINK = c++
|
|
57 |
QMAKE_LINK_SHLIB = c++
|
|
58 |
QMAKE_LFLAGS += -headerpad_max_install_names
|
|
59 |
QMAKE_LFLAGS =
|
|
60 |
QMAKE_LFLAGS_RELEASE =
|
|
61 |
QMAKE_LFLAGS_DEBUG =
|
|
62 |
QMAKE_LFLAGS_APP = -prebind
|
|
63 |
QMAKE_LFLAGS_SHLIB = -prebind -dynamiclib -single_module
|
|
64 |
QMAKE_LFLAGS_PLUGIN = -prebind -bundle
|
|
65 |
QMAKE_LFLAGS_THREAD =
|
|
66 |
QMAKE_LFLAGS_SONAME += -install_name$${LITERAL_WHITESPACE}
|
|
67 |
|
|
68 |
QMAKE_LFLAGS_VERSION = -current_version$${LITERAL_WHITESPACE}
|
|
69 |
QMAKE_LFLAGS_COMPAT_VERSION = -compatibility_version$${LITERAL_WHITESPACE}
|
|
70 |
|
|
71 |
QMAKE_RPATH =
|
|
72 |
|
|
73 |
QMAKE_LIBS_DYNLOAD =
|
|
74 |
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
|
75 |
QMAKE_LIBS_X11SM = -lSM -lICE
|
|
76 |
QMAKE_LIBS_OPENGL = -lGLU -lGL
|
|
77 |
QMAKE_LIBS_OPENGL_QT = -lGL
|
|
78 |
QMAKE_LIBS_THREAD =
|
|
79 |
|
|
80 |
QMAKE_MOC = $$[QT_INSTALL_BINS]/moc
|
|
81 |
QMAKE_UIC = $$[QT_INSTALL_BINS]/uic
|
|
82 |
|
|
83 |
QMAKE_AR = ar cq
|
|
84 |
QMAKE_OBJCOPY = objcopy
|
|
85 |
QMAKE_RANLIB = ranlib -s
|
|
86 |
|
|
87 |
QMAKE_TAR = tar -cf
|
|
88 |
QMAKE_GZIP = gzip -9f
|
|
89 |
|
|
90 |
QMAKE_COPY = cp -f
|
|
91 |
QMAKE_COPY_FILE = $$QMAKE_COPY
|
|
92 |
QMAKE_COPY_DIR = $$QMAKE_COPY -r
|
|
93 |
QMAKE_MOVE = mv -f
|
|
94 |
QMAKE_DEL_FILE = rm -f
|
|
95 |
QMAKE_DEL_DIR = rmdir
|
|
96 |
QMAKE_CHK_DIR_EXISTS = test -d
|
|
97 |
QMAKE_MKDIR = mkdir -p
|
|
98 |
|
|
99 |
QMAKE_PCH_OUTPUT_EXT = .gch
|
|
100 |
|
|
101 |
QMAKE_CXXFLAGS_PRECOMPILE += -x objective-c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT}
|
|
102 |
QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE
|
|
103 |
|
|
104 |
include(../common/unix.conf)
|
|
105 |
load(qt_config)
|