author | kergoth <kergoth> | 2002-11-06 04:05:21 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-11-06 04:05:21 (UTC) |
commit | ac1509552bf764ff136690e0e7014d37a59d073e (patch) (unidiff) | |
tree | 6582d6f7574be2f468519b100889cc6c9113c85c /mkspecs/aix-xlc | |
parent | 6b7d5deabe1d2da336fbe6c8409e437cbb8a1c89 (diff) | |
download | opie-ac1509552bf764ff136690e0e7014d37a59d073e.zip opie-ac1509552bf764ff136690e0e7014d37a59d073e.tar.gz opie-ac1509552bf764ff136690e0e7014d37a59d073e.tar.bz2 |
Add an easy means of passing in extra cflags, cxxflags, ldflags from the environment
-rw-r--r-- | mkspecs/aix-xlc/qmake.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mkspecs/aix-xlc/qmake.conf b/mkspecs/aix-xlc/qmake.conf index 364d909..c74459d 100644 --- a/mkspecs/aix-xlc/qmake.conf +++ b/mkspecs/aix-xlc/qmake.conf | |||
@@ -1,85 +1,85 @@ | |||
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 |
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 | 17 | QMAKE_CFLAGS = -qstrict $(CFLAGS_EXTRA) |
18 | QMAKE_CFLAGS_WARN_ON= | 18 | QMAKE_CFLAGS_WARN_ON= |
19 | QMAKE_CFLAGS_WARN_OFF= | 19 | QMAKE_CFLAGS_WARN_OFF= |
20 | QMAKE_CFLAGS_RELEASE= -O3 | 20 | QMAKE_CFLAGS_RELEASE= -O3 |
21 | QMAKE_CFLAGS_DEBUG= -g | 21 | QMAKE_CFLAGS_DEBUG= -g |
22 | QMAKE_CFLAGS_SHLIB= | 22 | QMAKE_CFLAGS_SHLIB= |
23 | QMAKE_CFLAGS_YACC= | 23 | QMAKE_CFLAGS_YACC= |
24 | QMAKE_CFLAGS_THREAD= -qthreaded -D_THREAD_SAFE | 24 | QMAKE_CFLAGS_THREAD= -qthreaded -D_THREAD_SAFE |
25 | 25 | ||
26 | QMAKE_CXX = xlC | 26 | QMAKE_CXX = xlC |
27 | QMAKE_CXX_THREAD= xlC_r | 27 | QMAKE_CXX_THREAD= xlC_r |
28 | QMAKE_CXXFLAGS = -+ $$QMAKE_CFLAGS | 28 | QMAKE_CXXFLAGS = -+ $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA) |
29 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON | 29 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON |
30 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF | 30 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF |
31 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE | 31 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE |
32 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG | 32 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG |
33 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB | 33 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB |
34 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC | 34 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC |
35 | QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD | 35 | QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD |
36 | 36 | ||
37 | QMAKE_INCDIR = | 37 | QMAKE_INCDIR = |
38 | QMAKE_LIBDIR = | 38 | QMAKE_LIBDIR = |
39 | QMAKE_INCDIR_X11= | 39 | QMAKE_INCDIR_X11= |
40 | QMAKE_LIBDIR_X11= | 40 | QMAKE_LIBDIR_X11= |
41 | QMAKE_INCDIR_QT = $(QTDIR)/include | 41 | QMAKE_INCDIR_QT = $(QTDIR)/include |
42 | QMAKE_LIBDIR_QT = $(QTDIR)/lib | 42 | QMAKE_LIBDIR_QT = $(QTDIR)/lib |
43 | QMAKE_INCDIR_OPENGL= | 43 | QMAKE_INCDIR_OPENGL= |
44 | QMAKE_LIBDIR_OPENGL= | 44 | QMAKE_LIBDIR_OPENGL= |
45 | 45 | ||
46 | QMAKE_LINK = xlC | 46 | QMAKE_LINK = xlC |
47 | QMAKE_LINK_THREAD= xlC_r | 47 | QMAKE_LINK_THREAD= xlC_r |
48 | QMAKE_LINK_SHLIB= ld | 48 | QMAKE_LINK_SHLIB= ld |
49 | QMAKE_LINK_SHLIB_CMD= makeC++SharedLib -p 0 \ | 49 | QMAKE_LINK_SHLIB_CMD= makeC++SharedLib -p 0 \ |
50 | -o $(TARGETD) \ | 50 | -o $(TARGETD) \ |
51 | $(LFLAGS) $(OBJECTS) $(OBJMOC) $(LIBS); \ | 51 | $(LFLAGS) $(OBJECTS) $(OBJMOC) $(LIBS); \ |
52 | ar q lib$(QMAKE_TARGET).a $(TARGETD); \ | 52 | ar q lib$(QMAKE_TARGET).a $(TARGETD); \ |
53 | ranlib lib$(QMAKE_TARGET).a; \ | 53 | ranlib lib$(QMAKE_TARGET).a; \ |
54 | mv lib$(QMAKE_TARGET).a $(DESTDIR) | 54 | mv lib$(QMAKE_TARGET).a $(DESTDIR) |
55 | QMAKE_LFLAGS = | 55 | QMAKE_LFLAGS = $(LFLAGS_EXTRA) |
56 | QMAKE_LFLAGS_RELEASE= | 56 | QMAKE_LFLAGS_RELEASE= |
57 | QMAKE_LFLAGS_DEBUG= | 57 | QMAKE_LFLAGS_DEBUG= |
58 | QMAKE_LFLAGS_SHLIB= | 58 | QMAKE_LFLAGS_SHLIB= |
59 | QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB | 59 | QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB |
60 | QMAKE_LFLAGS_SONAME= | 60 | QMAKE_LFLAGS_SONAME= |
61 | QMAKE_LFLAGS_THREAD= -L/usr/lib/threads | 61 | QMAKE_LFLAGS_THREAD= -L/usr/lib/threads |
62 | 62 | ||
63 | QMAKE_LIBS = | 63 | QMAKE_LIBS = |
64 | QMAKE_LIBS_DYNLOAD= -ldl | 64 | QMAKE_LIBS_DYNLOAD= -ldl |
65 | QMAKE_LIBS_X11 = -lXext -lX11 -lm -lbind | 65 | QMAKE_LIBS_X11 = -lXext -lX11 -lm -lbind |
66 | QMAKE_LIBS_X11SM= -lSM -lICE | 66 | QMAKE_LIBS_X11SM= -lSM -lICE |
67 | QMAKE_LIBS_QT = -lqt | 67 | QMAKE_LIBS_QT = -lqt |
68 | QMAKE_LIBS_QT_THREAD= -lqt-mt | 68 | QMAKE_LIBS_QT_THREAD= -lqt-mt |
69 | QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu | 69 | QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu |
70 | QMAKE_LIBS_OPENGL_QT= -lGL -lXmu | 70 | QMAKE_LIBS_OPENGL_QT= -lGL -lXmu |
71 | QMAKE_LIBS_THREAD= -lpthreads | 71 | QMAKE_LIBS_THREAD= -lpthreads |
72 | 72 | ||
73 | QMAKE_MOC = $(QTDIR)/bin/moc | 73 | QMAKE_MOC = $(QTDIR)/bin/moc |
74 | QMAKE_UIC = $(QTDIR)/bin/uic | 74 | QMAKE_UIC = $(QTDIR)/bin/uic |
75 | 75 | ||
76 | QMAKE_AR = ar cq | 76 | QMAKE_AR = ar cq |
77 | QMAKE_RANLIB = ranlib | 77 | QMAKE_RANLIB = ranlib |
78 | 78 | ||
79 | QMAKE_TAR = tar -cf | 79 | QMAKE_TAR = tar -cf |
80 | QMAKE_GZIP = gzip -9f | 80 | QMAKE_GZIP = gzip -9f |
81 | 81 | ||
82 | QMAKE_COPY = cp -f | 82 | QMAKE_COPY = cp -f |
83 | QMAKE_MOVE = mv -f | 83 | QMAKE_MOVE = mv -f |
84 | QMAKE_DEL_FILE = rm -f | 84 | QMAKE_DEL_FILE = rm -f |
85 | QMAKE_DEL_DIR = rmdir | 85 | QMAKE_DEL_DIR = rmdir |