-rw-r--r-- | mkspecs/aix-xlc-64/qmake.conf | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mkspecs/aix-xlc-64/qmake.conf b/mkspecs/aix-xlc-64/qmake.conf index 2e08cbf..42e362b 100644 --- a/mkspecs/aix-xlc-64/qmake.conf +++ b/mkspecs/aix-xlc-64/qmake.conf | |||
@@ -1,85 +1,90 @@ | |||
1 | # | 1 | # |
2 | # $Id$ | 2 | # $Id$ |
3 | # | 3 | # |
4 | # qmake configuration for aix-xlc | 4 | # qmake configuration for aix-xlc |
5 | # | 5 | # |
6 | 6 | ||
7 | MAKEFILE_GENERATOR= UNIX | 7 | MAKEFILE_GENERATOR= UNIX |
8 | TEMPLATE = app | 8 | TEMPLATE = app |
9 | CONFIG += qt warn_on release | 9 | CONFIG += qt warn_on release link_prl |
10 | 10 | ||
11 | QMAKE_CC = xlc | 11 | QMAKE_CC = xlc |
12 | QMAKE_CC_THREAD = xlc_r | 12 | QMAKE_CC_THREAD = xlc_r |
13 | QMAKE_LEX = flex | 13 | QMAKE_LEX = flex |
14 | QMAKE_LEXFLAGS = | 14 | QMAKE_LEXFLAGS = |
15 | QMAKE_YACC = yacc | 15 | QMAKE_YACC = yacc |
16 | QMAKE_YACCFLAGS = -d | 16 | QMAKE_YACCFLAGS = -d |
17 | QMAKE_CFLAGS = -qstrict -q64 $(CFLAGS_EXTRA) | 17 | QMAKE_CFLAGS = -qstrict -q64 $(CFLAGS_EXTRA) |
18 | QMAKE_CFLAGS_WARN_ON= -qwarn64 | 18 | # -qwarn64 turns on too many bogus warnings and shadows real warnings |
19 | #QMAKE_CFLAGS_WARN_ON= -qwarn64 | ||
20 | QMAKE_CFLAGS_WARN_ON = | ||
19 | QMAKE_CFLAGS_WARN_OFF= | 21 | QMAKE_CFLAGS_WARN_OFF= |
20 | QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O3) | 22 | QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O3) |
21 | QMAKE_CFLAGS_DEBUG= -g | 23 | QMAKE_CFLAGS_DEBUG= -g |
22 | QMAKE_CFLAGS_SHLIB= | 24 | QMAKE_CFLAGS_SHLIB= |
23 | QMAKE_CFLAGS_YACC= | 25 | QMAKE_CFLAGS_YACC= |
24 | QMAKE_CFLAGS_THREAD= -qthreaded -D_THREAD_SAFE | 26 | QMAKE_CFLAGS_THREAD= -qthreaded |
25 | 27 | ||
26 | QMAKE_CXX = xlC | 28 | QMAKE_CXX = xlC |
27 | QMAKE_CXX_THREAD= xlC_r | 29 | QMAKE_CXX_THREAD= xlC_r |
28 | QMAKE_CXXFLAGS = -+ $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA) | 30 | QMAKE_CXXFLAGS = -+ $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA) |
29 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON | 31 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON |
30 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF | 32 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF |
31 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE | 33 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE |
32 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG | 34 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG |
33 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB | 35 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB |
34 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC | 36 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC |
35 | QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD | 37 | QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD |
36 | 38 | ||
37 | QMAKE_INCDIR = | 39 | QMAKE_INCDIR = |
38 | QMAKE_LIBDIR = | 40 | QMAKE_LIBDIR = |
39 | QMAKE_INCDIR_X11= | 41 | QMAKE_INCDIR_X11= |
40 | QMAKE_LIBDIR_X11= | 42 | QMAKE_LIBDIR_X11= |
41 | QMAKE_INCDIR_QT = $(QTDIR)/include | 43 | QMAKE_INCDIR_QT = $(QTDIR)/include |
42 | QMAKE_LIBDIR_QT = $(QTDIR)/lib | 44 | QMAKE_LIBDIR_QT = $(QTDIR)/lib |
43 | QMAKE_INCDIR_OPENGL= | 45 | QMAKE_INCDIR_OPENGL= |
44 | QMAKE_LIBDIR_OPENGL= | 46 | QMAKE_LIBDIR_OPENGL= |
45 | 47 | ||
46 | QMAKE_LINK = xlC | 48 | QMAKE_LINK = xlC |
47 | QMAKE_LINK_THREAD= xlC_r | 49 | QMAKE_LINK_THREAD= xlC_r |
48 | QMAKE_LINK_SHLIB= ld | 50 | QMAKE_LINK_SHLIB= ld |
49 | QMAKE_LINK_SHLIB_CMD= makeC++SharedLib -p 0 -X64 \ | 51 | QMAKE_LINK_SHLIB_CMD= makeC++SharedLib -p 0 -X64 \ |
50 | -o $(TARGETD) \ | 52 | -o $(TARGETD) \ |
51 | $(LFLAGS) $(OBJECTS) $(OBJMOC) $(LIBS); \ | 53 | $(LFLAGS) $(OBJECTS) $(OBJMOC) $(LIBS); \ |
52 | $(AR) lib$(QMAKE_TARGET).a $(TARGETD); \ | 54 | $(AR) lib$(QMAKE_TARGET).a $(TARGETD); \ |
53 | $(RANLIB) lib$(QMAKE_TARGET).a; \ | 55 | $(RANLIB) lib$(QMAKE_TARGET).a; \ |
54 | mv lib$(QMAKE_TARGET).a $(DESTDIR) | 56 | mv lib$(QMAKE_TARGET).a $(DESTDIR) |
55 | QMAKE_LFLAGS = -q64 $(LFLAGS_EXTRA) | 57 | QMAKE_LFLAGS = -q64 $(LFLAGS_EXTRA) |
56 | QMAKE_LFLAGS_RELEASE= | 58 | QMAKE_LFLAGS_RELEASE= |
57 | QMAKE_LFLAGS_DEBUG= | 59 | QMAKE_LFLAGS_DEBUG= |
58 | QMAKE_LFLAGS_SHLIB= | 60 | QMAKE_LFLAGS_SHLIB= |
59 | QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB | 61 | QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB |
60 | QMAKE_LFLAGS_SONAME= | 62 | QMAKE_LFLAGS_SONAME= |
61 | QMAKE_LFLAGS_THREAD= -L/usr/lib/threads | 63 | QMAKE_LFLAGS_THREAD= -L/usr/lib/threads |
64 | QMAKE_AIX_SHLIB = 1 | ||
62 | 65 | ||
63 | QMAKE_LIBS = $(LIBS_EXTRA) | 66 | QMAKE_LIBS = $(LIBS_EXTRA) |
64 | QMAKE_LIBS_DYNLOAD= -ldl | 67 | QMAKE_LIBS_DYNLOAD= -ldl |
65 | QMAKE_LIBS_X11 = -lXext -lX11 -lm -lbind | 68 | QMAKE_LIBS_X11 = -lXext -lX11 -lm -lbind |
66 | QMAKE_LIBS_X11SM= -lSM -lICE | 69 | QMAKE_LIBS_X11SM= -lSM -lICE |
67 | QMAKE_LIBS_QT = -lqt | 70 | QMAKE_LIBS_QT = -lqt |
68 | QMAKE_LIBS_QT_THREAD= -lqt-mt | 71 | QMAKE_LIBS_QT_THREAD= -lqt-mt |
69 | QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu | 72 | QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu |
70 | QMAKE_LIBS_OPENGL_QT= -lGL -lXmu | 73 | QMAKE_LIBS_OPENGL_QT= -lGL -lXmu |
71 | QMAKE_LIBS_THREAD= -lpthreads | 74 | QMAKE_LIBS_THREAD= -lpthreads |
72 | 75 | ||
73 | QMAKE_MOC = $(QTDIR)/bin/moc | 76 | QMAKE_MOC = $(QTDIR)/bin/moc |
74 | QMAKE_UIC = $(QTDIR)/bin/uic | 77 | QMAKE_UIC = $(QTDIR)/bin/uic |
75 | 78 | ||
76 | QMAKE_AR = ar -X64 cq | 79 | QMAKE_AR = ar -X64 cq |
77 | QMAKE_RANLIB = ranlib -X64 | 80 | QMAKE_RANLIB = ranlib -X64 |
78 | 81 | ||
79 | QMAKE_TAR = tar -cf | 82 | QMAKE_TAR = tar -cf |
80 | QMAKE_GZIP = gzip -9f | 83 | QMAKE_GZIP = gzip -9f |
81 | 84 | ||
82 | QMAKE_COPY = cp -f | 85 | QMAKE_COPY = cp -f |
83 | QMAKE_MOVE = mv -f | 86 | QMAKE_MOVE = mv -f |
84 | QMAKE_DEL_FILE = rm -f | 87 | QMAKE_DEL_FILE = rm -f |
85 | QMAKE_DEL_DIR = rmdir | 88 | QMAKE_DEL_DIR = rmdir |
89 | QMAKE_CHK_DIR_EXISTS= test -d | ||
90 | QMAKE_MKDIR = mkdir -p | ||