Diffstat (limited to 'mkspecs/linux-kcc/qmake.conf') (more/less context) (ignore whitespace changes)
-rw-r--r-- | mkspecs/linux-kcc/qmake.conf | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mkspecs/linux-kcc/qmake.conf b/mkspecs/linux-kcc/qmake.conf index 5a2a670..30580b8 100644 --- a/mkspecs/linux-kcc/qmake.conf +++ b/mkspecs/linux-kcc/qmake.conf | |||
@@ -1,89 +1,93 @@ | |||
1 | # | 1 | # |
2 | # $Id$ | 2 | # $Id$ |
3 | # | 3 | # |
4 | # qmake configuration for KAI C++ 4.0f for Linux | 4 | # qmake configuration for linux-kcc |
5 | # | ||
6 | # Written for KAI C++ 4.0f for GNU/Linux (discontinued). | ||
5 | # | 7 | # |
6 | # From the KAI C++ man page for Linux: | 8 | # From the KAI C++ man page for Linux: |
7 | # --[no_]thread_safe | 9 | # --[no_]thread_safe |
8 | # [Waive or] Request thread-safe handling of system-allocated objects. | 10 | # [Waive or] Request thread-safe handling of system-allocated objects. |
9 | # To guarantee thread safety, this option must be used when both | 11 | # To guarantee thread safety, this option must be used when both |
10 | # compiling and linking. Thread-safe C++ is not link-compatible with | 12 | # compiling and linking. Thread-safe C++ is not link-compatible with |
11 | # (the default) non-thread-safe C++. | 13 | # (the default) non-thread-safe C++. |
12 | # | 14 | # |
13 | 15 | ||
14 | MAKEFILE_GENERATOR= UNIX | 16 | MAKEFILE_GENERATOR= UNIX |
15 | TEMPLATE = app | 17 | TEMPLATE = app |
16 | CONFIG += qt warn_on release | 18 | CONFIG += qt warn_on release link_prl |
17 | 19 | ||
18 | QMAKE_CC = KCC | 20 | QMAKE_CC = KCC |
19 | QMAKE_LEX = flex | 21 | QMAKE_LEX = flex |
20 | QMAKE_LEXFLAGS = | 22 | QMAKE_LEXFLAGS = |
21 | QMAKE_YACC = yacc | 23 | QMAKE_YACC = yacc |
22 | QMAKE_YACCFLAGS = -d | 24 | QMAKE_YACCFLAGS = -d |
23 | QMAKE_CFLAGS = --c --display_error_number --backend -pipe $(CFLAGS_EXTRA) | 25 | QMAKE_CFLAGS = --c --display_error_number --backend -pipe $(CFLAGS_EXTRA) |
24 | QMAKE_CFLAGS_DEPS= -M | 26 | QMAKE_CFLAGS_DEPS= -M |
25 | QMAKE_CFLAGS_WARN_ON= | 27 | QMAKE_CFLAGS_WARN_ON= |
26 | QMAKE_CFLAGS_WARN_OFF= -w | 28 | QMAKE_CFLAGS_WARN_OFF= -w |
27 | QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), +K2) | 29 | QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), +K2) |
28 | QMAKE_CFLAGS_DEBUG= +K0 | 30 | QMAKE_CFLAGS_DEBUG= +K0 |
29 | QMAKE_CFLAGS_SHLIB= -fPIC | 31 | QMAKE_CFLAGS_SHLIB= -fPIC |
30 | QMAKE_CFLAGS_YACC= --diag_suppress 111,177 | 32 | QMAKE_CFLAGS_YACC= --diag_suppress 111,177 |
31 | QMAKE_CFLAGS_THREAD= --thread_safe | 33 | QMAKE_CFLAGS_THREAD= --thread_safe |
32 | 34 | ||
33 | QMAKE_CXX = KCC | 35 | QMAKE_CXX = KCC |
34 | QMAKE_CXXFLAGS = --display_error_number --diag_suppress 611,1142 --backend -pipe $(CXXFLAGS_EXTRA) | 36 | QMAKE_CXXFLAGS = --display_error_number --diag_suppress 611,1142 --backend -pipe $(CXXFLAGS_EXTRA) |
35 | QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS | 37 | QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS |
36 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON | 38 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON |
37 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF | 39 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF |
38 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE | 40 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE |
39 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG | 41 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG |
40 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB | 42 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB |
41 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC | 43 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC |
42 | QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD | 44 | QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD |
43 | 45 | ||
44 | QMAKE_INCDIR = | 46 | QMAKE_INCDIR = |
45 | QMAKE_LIBDIR = | 47 | QMAKE_LIBDIR = |
46 | QMAKE_INCDIR_X11= /usr/X11R6/include | 48 | QMAKE_INCDIR_X11= /usr/X11R6/include |
47 | QMAKE_LIBDIR_X11= /usr/X11R6/lib | 49 | QMAKE_LIBDIR_X11= /usr/X11R6/lib |
48 | QMAKE_INCDIR_QT = $(QTDIR)/include | 50 | QMAKE_INCDIR_QT = $(QTDIR)/include |
49 | QMAKE_LIBDIR_QT = $(QTDIR)/lib | 51 | QMAKE_LIBDIR_QT = $(QTDIR)/lib |
50 | QMAKE_INCDIR_OPENGL= /usr/X11R6/include | 52 | QMAKE_INCDIR_OPENGL= /usr/X11R6/include |
51 | QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib | 53 | QMAKE_LIBDIR_OPENGL= /usr/X11R6/lib |
52 | 54 | ||
53 | QMAKE_LINK = KCC | 55 | QMAKE_LINK = KCC |
54 | QMAKE_LINK_SHLIB= KCC | 56 | QMAKE_LINK_SHLIB= KCC |
55 | QMAKE_LFLAGS = $(LFLAGS_EXTRA) | 57 | QMAKE_LFLAGS = $(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= --soname$$LITERAL_WHITESPACE | 62 | QMAKE_LFLAGS_SONAME= --soname$$LITERAL_WHITESPACE |
61 | QMAKE_LFLAGS_THREAD= --thread_safe | 63 | QMAKE_LFLAGS_THREAD= --thread_safe |
62 | QMAKE_RPATH = -rpath$$LITERAL_WHITESPACE | 64 | QMAKE_RPATH = -rpath$$LITERAL_WHITESPACE |
63 | 65 | ||
64 | QMAKE_LIBS = $(LIBS_EXTRA) | 66 | QMAKE_LIBS = $(LIBS_EXTRA) |
65 | QMAKE_LIBS_DYNLOAD= -ldl | 67 | QMAKE_LIBS_DYNLOAD= -ldl |
66 | QMAKE_LIBS_X11 = -lXext -lX11 -lm | 68 | QMAKE_LIBS_X11 = -lXext -lX11 -lm |
67 | QMAKE_LIBS_X11SM= -lSM -lICE | 69 | QMAKE_LIBS_X11SM= -lSM -lICE |
68 | QMAKE_LIBS_NIS = -lnsl | 70 | QMAKE_LIBS_NIS = -lnsl |
69 | QMAKE_LIBS_QT = -lqt | 71 | QMAKE_LIBS_QT = -lqt |
70 | QMAKE_LIBS_QT_THREAD= -lqt-mt | 72 | QMAKE_LIBS_QT_THREAD= -lqt-mt |
71 | QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu | 73 | QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu |
72 | QMAKE_LIBS_OPENGL_QT= -lGL -lXmu | 74 | QMAKE_LIBS_OPENGL_QT= -lGL -lXmu |
73 | QMAKE_LIBS_THREAD= | 75 | QMAKE_LIBS_THREAD= |
74 | 76 | ||
75 | QMAKE_MOC = $(QTDIR)/bin/moc | 77 | QMAKE_MOC = $(QTDIR)/bin/moc |
76 | QMAKE_UIC = $(QTDIR)/bin/uic | 78 | QMAKE_UIC = $(QTDIR)/bin/uic |
77 | 79 | ||
78 | QMAKE_AR = ar cqs | 80 | QMAKE_AR = ar cqs |
79 | QMAKE_RANLIB = | 81 | QMAKE_RANLIB = |
80 | 82 | ||
81 | QMAKE_CLEAN = -r $(OBJECTS_DIR)ti_files | 83 | QMAKE_CLEAN = -r $(OBJECTS_DIR)ti_files |
82 | 84 | ||
83 | QMAKE_TAR = tar -cf | 85 | QMAKE_TAR = tar -cf |
84 | QMAKE_GZIP = gzip -9f | 86 | QMAKE_GZIP = gzip -9f |
85 | 87 | ||
86 | QMAKE_COPY = cp -f | 88 | QMAKE_COPY = cp -f |
87 | QMAKE_MOVE = mv -f | 89 | QMAKE_MOVE = mv -f |
88 | QMAKE_DEL_FILE = rm -f | 90 | QMAKE_DEL_FILE = rm -f |
89 | QMAKE_DEL_DIR = rmdir | 91 | QMAKE_DEL_DIR = rmdir |
92 | QMAKE_CHK_DIR_EXISTS= test -d | ||
93 | QMAKE_MKDIR = mkdir -p | ||