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/sco-cc/qmake.conf | |
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/sco-cc/qmake.conf | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mkspecs/sco-cc/qmake.conf b/mkspecs/sco-cc/qmake.conf index 43388f0..54bcbfa 100644 --- a/mkspecs/sco-cc/qmake.conf +++ b/mkspecs/sco-cc/qmake.conf | |||
@@ -7,55 +7,55 @@ | |||
7 | # turns off warning about missing return types in X headers | 7 | # turns off warning about missing return types in X headers |
8 | # | 8 | # |
9 | 9 | ||
10 | MAKEFILE_GENERATOR= UNIX | 10 | MAKEFILE_GENERATOR= UNIX |
11 | TEMPLATE = app | 11 | TEMPLATE = app |
12 | CONFIG += qt warn_on release | 12 | CONFIG += qt warn_on release |
13 | 13 | ||
14 | QMAKE_CC = cc | 14 | QMAKE_CC = cc |
15 | QMAKE_LEX = flex | 15 | QMAKE_LEX = flex |
16 | QMAKE_LEXFLAGS = | 16 | QMAKE_LEXFLAGS = |
17 | QMAKE_YACC = yacc | 17 | QMAKE_YACC = yacc |
18 | QMAKE_YACCFLAGS = -d | 18 | QMAKE_YACCFLAGS = -d |
19 | QMAKE_CFLAGS = | 19 | QMAKE_CFLAGS = $(CFLAGS_EXTRA) |
20 | QMAKE_CFLAGS_WARN_ON= | 20 | QMAKE_CFLAGS_WARN_ON= |
21 | QMAKE_CFLAGS_WARN_OFF= -w | 21 | QMAKE_CFLAGS_WARN_OFF= -w |
22 | QMAKE_CFLAGS_RELEASE= -O | 22 | QMAKE_CFLAGS_RELEASE= -O |
23 | QMAKE_CFLAGS_DEBUG= -g | 23 | QMAKE_CFLAGS_DEBUG= -g |
24 | QMAKE_CFLAGS_SHLIB= -KPIC | 24 | QMAKE_CFLAGS_SHLIB= -KPIC |
25 | QMAKE_CFLAGS_YACC= -Wf,--diag_suppress,111 -Wf,--diag_suppress,177 | 25 | QMAKE_CFLAGS_YACC= -Wf,--diag_suppress,111 -Wf,--diag_suppress,177 |
26 | QMAKE_CFLAGS_THREAD= -Kthread | 26 | QMAKE_CFLAGS_THREAD= -Kthread |
27 | 27 | ||
28 | QMAKE_CXX = CC | 28 | QMAKE_CXX = CC |
29 | QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -Wf,--display_error_number -Wf,--diag_suppress,838 | 29 | QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -Wf,--display_error_number -Wf,--diag_suppress,838 $(CXXFLAGS_EXTRA) |
30 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON | 30 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON |
31 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF | 31 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF |
32 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE -Tused | 32 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE -Tused |
33 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG | 33 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG |
34 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB | 34 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB |
35 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC | 35 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC |
36 | QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD | 36 | QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD |
37 | 37 | ||
38 | QMAKE_INCDIR = | 38 | QMAKE_INCDIR = |
39 | QMAKE_LIBDIR = | 39 | QMAKE_LIBDIR = |
40 | QMAKE_INCDIR_X11= | 40 | QMAKE_INCDIR_X11= |
41 | QMAKE_LIBDIR_X11= /usr/X/lib | 41 | QMAKE_LIBDIR_X11= /usr/X/lib |
42 | QMAKE_INCDIR_QT = $(QTDIR)/include | 42 | QMAKE_INCDIR_QT = $(QTDIR)/include |
43 | QMAKE_LIBDIR_QT = $(QTDIR)/lib | 43 | QMAKE_LIBDIR_QT = $(QTDIR)/lib |
44 | QMAKE_INCDIR_OPENGL= | 44 | QMAKE_INCDIR_OPENGL= |
45 | QMAKE_LIBDIR_OPENGL= | 45 | QMAKE_LIBDIR_OPENGL= |
46 | 46 | ||
47 | QMAKE_LINK = CC | 47 | QMAKE_LINK = CC |
48 | QMAKE_LINK_SHLIB= CC | 48 | QMAKE_LINK_SHLIB= CC |
49 | QMAKE_LFLAGS = | 49 | QMAKE_LFLAGS = $(LFLAGS_EXTRA) |
50 | QMAKE_LFLAGS_RELEASE= | 50 | QMAKE_LFLAGS_RELEASE= |
51 | QMAKE_LFLAGS_DEBUG= | 51 | QMAKE_LFLAGS_DEBUG= |
52 | QMAKE_LFLAGS_SHLIB= -G | 52 | QMAKE_LFLAGS_SHLIB= -G |
53 | QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB | 53 | QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB |
54 | QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE | 54 | QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE |
55 | QMAKE_LFLAGS_THREAD= -Kthread | 55 | QMAKE_LFLAGS_THREAD= -Kthread |
56 | 56 | ||
57 | QMAKE_LIBS = | 57 | QMAKE_LIBS = |
58 | QMAKE_LIBS_DYNLOAD= -ldl | 58 | QMAKE_LIBS_DYNLOAD= -ldl |
59 | QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl -lm | 59 | QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl -lm |
60 | QMAKE_LIBS_X11SM= -lSM -lICE | 60 | QMAKE_LIBS_X11SM= -lSM -lICE |
61 | QMAKE_LIBS_QT = -lqt | 61 | QMAKE_LIBS_QT = -lqt |