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