summaryrefslogtreecommitdiff
path: root/mkspecs/solaris-cc-64
Unidiff
Diffstat (limited to 'mkspecs/solaris-cc-64') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/solaris-cc-64/qmake.conf13
1 files changed, 8 insertions, 5 deletions
diff --git a/mkspecs/solaris-cc-64/qmake.conf b/mkspecs/solaris-cc-64/qmake.conf
index 0da6a2d..45b5e4a 100644
--- a/mkspecs/solaris-cc-64/qmake.conf
+++ b/mkspecs/solaris-cc-64/qmake.conf
@@ -1,55 +1,56 @@
1# 1#
2# $Id$ 2# $Id$
3# 3#
4# qmake configuration for Sun WorkShop 5.0, Forte Developer 6, 4# qmake configuration for solaris-cc-64
5 # and Sun ONE Studio 7 on Solaris 5#
6# Written for Sun WorkShop 5.0, Forte Developer 6, and Sun ONE Studio 7.
6# 7#
7# From the standards(5) manual page: 8# From the standards(5) manual page:
8 # The XNS4 specification is safe for use only in ILP32 (32-bit) 9 # The XNS4 specification is safe for use only in ILP32 (32-bit)
9 # environments and should not be used for LP64 (64-bit) 10 # environments and should not be used for LP64 (64-bit)
10 # application environments. Use XNS5, which has LP64-clean 11 # application environments. Use XNS5, which has LP64-clean
11 # interfaces that are portable across ILP32 and LP64 environments. 12 # interfaces that are portable across ILP32 and LP64 environments.
12 # [...] 13 # [...]
13 # For platforms supporting the LP64 (64-bit) programming environment 14 # For platforms supporting the LP64 (64-bit) programming environment
14 # where the SC5.0 Compilers have been installed, SUSv2-conforming LP64 15 # where the SC5.0 Compilers have been installed, SUSv2-conforming LP64
15 # applications using XNS5 library calls should be built with command 16 # applications using XNS5 library calls should be built with command
16 # lines of the form: 17 # lines of the form:
17 # c89 $(getconf XBS5_LP64_OFF64_CFLAGS) -D_XOPEN_SOURCE=500 \ 18 # c89 $(getconf XBS5_LP64_OFF64_CFLAGS) -D_XOPEN_SOURCE=500 \
18 # $(getconf XBS5_LP64_OFF64_LDFLAGS) foo.c -o foo \ 19 # $(getconf XBS5_LP64_OFF64_LDFLAGS) foo.c -o foo \
19 # $(getconf XBS5_LP64_OFF64_LIBS) -lxnet 20 # $(getconf XBS5_LP64_OFF64_LIBS) -lxnet
20# So it appears that _XOPEN_SOURCE=500 should be defined when building 21# So it appears that _XOPEN_SOURCE=500 should be defined when building
21# 64-bit applications (on Solaris 7 and better). But then __EXTENSIONS__ 22# 64-bit applications (on Solaris 7 and better). But then __EXTENSIONS__
22# should be defined as well to recover all the default system interface. 23# should be defined as well to recover all the default system interface.
23# 24#
24 25
25 MAKEFILE_GENERATOR= UNIX 26 MAKEFILE_GENERATOR= UNIX
26 TEMPLATE = app 27 TEMPLATE = app
27 CONFIG += qt warn_on release 28 CONFIG += qt warn_on release link_prl
28 29
29 QMAKE_CC = cc 30 QMAKE_CC = cc
30 QMAKE_LEX = flex 31 QMAKE_LEX = flex
31 QMAKE_LEXFLAGS = 32 QMAKE_LEXFLAGS =
32 QMAKE_YACC = yacc 33 QMAKE_YACC = yacc
33 QMAKE_YACCFLAGS = -d 34 QMAKE_YACCFLAGS = -d
34 QMAKE_CFLAGS = -xarch=v9 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ $(CFLAGS_EXTRA) 35 QMAKE_CFLAGS = -xarch=v9 -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ $(CFLAGS_EXTRA)
35 QMAKE_CFLAGS_DEPS= -xM 36 QMAKE_CFLAGS_DEPS= -xM
36 QMAKE_CFLAGS_WARN_ON= 37 QMAKE_CFLAGS_WARN_ON=
37 QMAKE_CFLAGS_WARN_OFF= -w 38 QMAKE_CFLAGS_WARN_OFF= -w
38 QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O) 39 QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O)
39 QMAKE_CFLAGS_DEBUG= -g 40 QMAKE_CFLAGS_DEBUG= -g
40 QMAKE_CFLAGS_SHLIB= -KPIC 41 QMAKE_CFLAGS_SHLIB= -KPIC
41 QMAKE_CFLAGS_YACC= 42 QMAKE_CFLAGS_YACC=
42 QMAKE_CFLAGS_THREAD= -mt 43 QMAKE_CFLAGS_THREAD= -mt
43 44
44 QMAKE_CXX = CC 45 QMAKE_CXX = CC
45 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA) 46 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS $(CXXFLAGS_EXTRA)
46 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS 47 QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS
47 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON 48 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
48 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF 49 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
49 QMAKE_CXXFLAGS_RELEASE= -O2 50 QMAKE_CXXFLAGS_RELEASE= -O2
50 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG 51 QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG
51 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB 52 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
52 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC 53 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
53 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD 54 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
54 55
55 QMAKE_INCDIR = 56 QMAKE_INCDIR =
@@ -60,41 +61,43 @@ QMAKE_INCDIR_QT = $(QTDIR)/include
60 QMAKE_LIBDIR_QT = $(QTDIR)/lib 61 QMAKE_LIBDIR_QT = $(QTDIR)/lib
61 QMAKE_INCDIR_OPENGL= /usr/openwin/include 62 QMAKE_INCDIR_OPENGL= /usr/openwin/include
62 QMAKE_LIBDIR_OPENGL= /usr/openwin/lib 63 QMAKE_LIBDIR_OPENGL= /usr/openwin/lib
63 64
64 QMAKE_LINK = CC 65 QMAKE_LINK = CC
65 QMAKE_LINK_SHLIB= CC 66 QMAKE_LINK_SHLIB= CC
66 QMAKE_LFLAGS = -xarch=v9 $(LFLAGS_EXTRA) 67 QMAKE_LFLAGS = -xarch=v9 $(LFLAGS_EXTRA)
67 QMAKE_LFLAGS_RELEASE= 68 QMAKE_LFLAGS_RELEASE=
68 QMAKE_LFLAGS_DEBUG= 69 QMAKE_LFLAGS_DEBUG=
69 QMAKE_LFLAGS_SHLIB= -G 70 QMAKE_LFLAGS_SHLIB= -G
70 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB 71 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
71 QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE 72 QMAKE_LFLAGS_SONAME= -h$$LITERAL_WHITESPACE
72 QMAKE_LFLAGS_THREAD= -mt 73 QMAKE_LFLAGS_THREAD= -mt
73 QMAKE_RPATH = -R 74 QMAKE_RPATH = -R
74 75
75 QMAKE_LIBS = $(LIBS_EXTRA) 76 QMAKE_LIBS = $(LIBS_EXTRA)
76 QMAKE_LIBS_DYNLOAD= -ldl 77 QMAKE_LIBS_DYNLOAD= -ldl
77 QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl 78 QMAKE_LIBS_X11 = -lXext -lX11 -lresolv -lsocket -lnsl
78 QMAKE_LIBS_X11SM= -lSM -lICE 79 QMAKE_LIBS_X11SM= -lSM -lICE
79 QMAKE_LIBS_NIS = 80 QMAKE_LIBS_NIS =
80 QMAKE_LIBS_QT = -lqt 81 QMAKE_LIBS_QT = -lqt
81 QMAKE_LIBS_QT_THREAD= -lqt-mt 82 QMAKE_LIBS_QT_THREAD= -lqt-mt
82 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu 83 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
83 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu 84 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
84 QMAKE_LIBS_THREAD= -lpthread 85 QMAKE_LIBS_THREAD= -lpthread -lrt
85 86
86 QMAKE_MOC = $(QTDIR)/bin/moc 87 QMAKE_MOC = $(QTDIR)/bin/moc
87 QMAKE_UIC = $(QTDIR)/bin/uic 88 QMAKE_UIC = $(QTDIR)/bin/uic
88 89
89 QMAKE_AR = CC -xar -o 90 QMAKE_AR = CC -xar -o
90 QMAKE_RANLIB = 91 QMAKE_RANLIB =
91 92
92 QMAKE_CLEAN = -r $(OBJECTS_DIR)Templates.DB $(OBJECTS_DIR)SunWS_cache 93 QMAKE_CLEAN = -r $(OBJECTS_DIR)Templates.DB $(OBJECTS_DIR)SunWS_cache
93 94
94 QMAKE_TAR = tar -cf 95 QMAKE_TAR = tar -cf
95 QMAKE_GZIP = gzip -9f 96 QMAKE_GZIP = gzip -9f
96 97
97 QMAKE_COPY = cp -f 98 QMAKE_COPY = cp -f
98 QMAKE_MOVE = mv -f 99 QMAKE_MOVE = mv -f
99 QMAKE_DEL_FILE = rm -f 100 QMAKE_DEL_FILE = rm -f
100 QMAKE_DEL_DIR = rmdir 101 QMAKE_DEL_DIR = rmdir
102 QMAKE_CHK_DIR_EXISTS= test -d
103 QMAKE_MKDIR = mkdir -p