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