summaryrefslogtreecommitdiff
path: root/mkspecs/hpux-acc-o64
authorzecke <zecke>2004-07-18 19:32:20 (UTC)
committer zecke <zecke>2004-07-18 19:32:20 (UTC)
commit8795812a0d763742a5273f356c35313af0fed84d (patch) (unidiff)
tree34b7259e1595e53e1fa2069d7d79bbdef67293e8 /mkspecs/hpux-acc-o64
parent8e8fcd65b8d8657650728bae604c5a34dc31338e (diff)
downloadopie-8795812a0d763742a5273f356c35313af0fed84d.zip
opie-8795812a0d763742a5273f356c35313af0fed84d.tar.gz
opie-8795812a0d763742a5273f356c35313af0fed84d.tar.bz2
-CHECK if DIR exist added to qmake.conf's
-use arm-linux-g++ for linking now hopefully not removed anything important Added python tool to opiefy mkspecs
Diffstat (limited to 'mkspecs/hpux-acc-o64') (more/less context) (ignore whitespace changes)
-rw-r--r--mkspecs/hpux-acc-o64/qmake.conf10
-rw-r--r--mkspecs/hpux-acc-o64/qplatformdefs.h8
2 files changed, 15 insertions, 3 deletions
diff --git a/mkspecs/hpux-acc-o64/qmake.conf b/mkspecs/hpux-acc-o64/qmake.conf
index f9f88bb..8aa3b43 100644
--- a/mkspecs/hpux-acc-o64/qmake.conf
+++ b/mkspecs/hpux-acc-o64/qmake.conf
@@ -36,86 +36,90 @@
36# From the online "C/HP-UX Reference Manual": 36# From the online "C/HP-UX Reference Manual":
37 #-Aa 37 #-Aa
38 # Enables strict ANSI C compliance. 38 # Enables strict ANSI C compliance.
39 # -Ae 39 # -Ae
40 # Enables ANSI C compliance, HP value-added features (as described 40 # Enables ANSI C compliance, HP value-added features (as described
41 # for +e option), and _HPUX_SOURCE name space macro. It is equivalent 41 # for +e option), and _HPUX_SOURCE name space macro. It is equivalent
42 # to -Aa +e -D_HPUX_SOURCE. 42 # to -Aa +e -D_HPUX_SOURCE.
43 # +e 43 # +e
44 # Enables the following HP value added features while compiling in 44 # Enables the following HP value added features while compiling in
45 # ANSI C mode: sized enum, long long, long pointers, compiler supplied 45 # ANSI C mode: sized enum, long long, long pointers, compiler supplied
46 # defaults for missing arguments to intrinsic calls, and $ in identifier 46 # defaults for missing arguments to intrinsic calls, and $ in identifier
47 # HP C extensions. 47 # HP C extensions.
48# 48#
49 49
50 MAKEFILE_GENERATOR= UNIX 50 MAKEFILE_GENERATOR= UNIX
51 TEMPLATE = app 51 TEMPLATE = app
52 CONFIG += qt warn_on release 52 CONFIG += qt warn_on release link_prl
53 53
54 QMAKE_CC = cc 54 QMAKE_CC = cc
55 QMAKE_LEX = flex 55 QMAKE_LEX = flex
56 QMAKE_LEXFLAGS = 56 QMAKE_LEXFLAGS =
57 QMAKE_YACC = yacc 57 QMAKE_YACC = yacc
58 QMAKE_YACCFLAGS = -d 58 QMAKE_YACCFLAGS = -d
59 QMAKE_CFLAGS = -Ae +DA2.0 -w $(CFLAGS_EXTRA) 59 QMAKE_CFLAGS = -Ae +DA2.0 -w $(CFLAGS_EXTRA)
60 QMAKE_CFLAGS_WARN_ON= 60 QMAKE_CFLAGS_WARN_ON=
61 QMAKE_CFLAGS_WARN_OFF= 61 QMAKE_CFLAGS_WARN_OFF=
62 QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O +Oentrysched +Onolimit) 62 QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O +Oentrysched +Onolimit)
63 QMAKE_CFLAGS_DEBUG= -y -g 63 QMAKE_CFLAGS_DEBUG= -y -g
64 QMAKE_CFLAGS_SHLIB= +Z 64 QMAKE_CFLAGS_SHLIB= +Z
65 QMAKE_CFLAGS_YACC= 65 QMAKE_CFLAGS_YACC=
66 QMAKE_CFLAGS_THREAD= -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE 66 QMAKE_CFLAGS_THREAD= -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE
67 67
68 QMAKE_CXX = aCC 68 QMAKE_CXX = aCC
69 QMAKE_CXXFLAGS = +DA2.0 -w -D__STRICT_ANSI__ $(CXXFLAGS_EXTRA) 69 QMAKE_CXXFLAGS = +DA2.0 -w -D__STRICT_ANSI__ -D_HPUX_SOURCE $(CXXFLAGS_EXTRA)
70 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON 70 QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON
71 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF 71 QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF
72 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE 72 QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE
73 QMAKE_CXXFLAGS_DEBUG= -g 73 QMAKE_CXXFLAGS_DEBUG= -g
74 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB 74 QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB
75 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC 75 QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC
76 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD 76 QMAKE_CXXFLAGS_THREAD= $$QMAKE_CFLAGS_THREAD
77 77
78 QMAKE_INCDIR = 78 QMAKE_INCDIR =
79 QMAKE_LIBDIR = 79 QMAKE_LIBDIR =
80 QMAKE_INCDIR_X11= /usr/include/X11R6 80 QMAKE_INCDIR_X11= /usr/include/X11R6
81 QMAKE_LIBDIR_X11= /usr/lib/X11R6 81 QMAKE_LIBDIR_X11= /usr/lib/X11R6
82 QMAKE_INCDIR_QT = $(QTDIR)/include 82 QMAKE_INCDIR_QT = $(QTDIR)/include
83 QMAKE_LIBDIR_QT = $(QTDIR)/lib 83 QMAKE_LIBDIR_QT = $(QTDIR)/lib
84 QMAKE_INCDIR_OPENGL= /opt/graphics/OpenGL/include /usr/contrib/X11R6/include 84 QMAKE_INCDIR_OPENGL= /opt/graphics/OpenGL/include /usr/contrib/X11R6/include
85 QMAKE_LIBDIR_OPENGL= /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib 85 QMAKE_LIBDIR_OPENGL= /opt/graphics/OpenGL/lib /usr/contrib/X11R6/lib
86 86
87 QMAKE_LINK = aCC 87 QMAKE_LINK = aCC
88 QMAKE_LINK_SHLIB= aCC 88 QMAKE_LINK_SHLIB= aCC
89 QMAKE_LFLAGS = +DA2.0 -Wl,+s $(LFLAGS_EXTRA) 89 QMAKE_LFLAGS = +DA2.0 -Wl,+s $(LFLAGS_EXTRA)
90 QMAKE_LFLAGS_RELEASE= -O 90 QMAKE_LFLAGS_RELEASE= -O
91 QMAKE_LFLAGS_DEBUG= 91 QMAKE_LFLAGS_DEBUG=
92 QMAKE_LFLAGS_SHLIB= -b 92 QMAKE_LFLAGS_SHLIB= -b
93 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB 93 QMAKE_LFLAGS_PLUGIN= $$QMAKE_LFLAGS_SHLIB
94 QMAKE_LFLAGS_SONAME= -Wl,+h, 94 QMAKE_LFLAGS_SONAME= -Wl,+h,
95 QMAKE_RPATH = -Wl,+b, 95 QMAKE_RPATH = -Wl,+b,
96 QMAKE_HPUX_SHLIB= 2
97 QMAKE_EXTENSION_SHLIB= sl
96 98
97 QMAKE_LIBS = $(LIBS_EXTRA) 99 QMAKE_LIBS = -lm $(LIBS_EXTRA)
98 QMAKE_LIBS_DYNLOAD= -ldld 100 QMAKE_LIBS_DYNLOAD= -ldld
99 QMAKE_LIBS_X11 = -lXext -lX11 101 QMAKE_LIBS_X11 = -lXext -lX11
100 QMAKE_LIBS_X11SM= -lSM -lICE 102 QMAKE_LIBS_X11SM= -lSM -lICE
101 QMAKE_LIBS_QT = -lqt 103 QMAKE_LIBS_QT = -lqt
102 QMAKE_LIBS_QT_THREAD= -lqt-mt 104 QMAKE_LIBS_QT_THREAD= -lqt-mt
103 105
104 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu 106 QMAKE_LIBS_OPENGL= -lGLU -lGL -lXmu
105 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu 107 QMAKE_LIBS_OPENGL_QT= -lGL -lXmu
106 QMAKE_LIBS_THREAD= -lpthread 108 QMAKE_LIBS_THREAD= -lpthread
107 QMAKE_LIBS_YACC = -ly 109 QMAKE_LIBS_YACC = -ly
108 110
109 QMAKE_MOC = $(QTDIR)/bin/moc 111 QMAKE_MOC = $(QTDIR)/bin/moc
110 QMAKE_UIC = $(QTDIR)/bin/uic 112 QMAKE_UIC = $(QTDIR)/bin/uic
111 113
112 QMAKE_AR = ar cqs 114 QMAKE_AR = ar cqs
113 QMAKE_RANLIB = 115 QMAKE_RANLIB =
114 116
115 QMAKE_TAR = tar -cf 117 QMAKE_TAR = tar -cf
116 QMAKE_GZIP = gzip -9f 118 QMAKE_GZIP = gzip -9f
117 119
118 QMAKE_COPY = cp -f 120 QMAKE_COPY = cp -f
119 QMAKE_MOVE = mv -f 121 QMAKE_MOVE = mv -f
120 QMAKE_DEL_FILE = rm -f 122 QMAKE_DEL_FILE = rm -f
121 QMAKE_DEL_DIR = rmdir 123 QMAKE_DEL_DIR = rmdir
124 QMAKE_CHK_DIR_EXISTS= test -d
125 QMAKE_MKDIR = mkdir -p
diff --git a/mkspecs/hpux-acc-o64/qplatformdefs.h b/mkspecs/hpux-acc-o64/qplatformdefs.h
index 8a1410c..6307fc0 100644
--- a/mkspecs/hpux-acc-o64/qplatformdefs.h
+++ b/mkspecs/hpux-acc-o64/qplatformdefs.h
@@ -24,33 +24,41 @@
24#include <signal.h> 24#include <signal.h>
25#include <dl.h> 25#include <dl.h>
26#define QT_HPUX_LD 26#define QT_HPUX_LD
27#define QT_NO_LIBRARY_UNLOAD 27#define QT_NO_LIBRARY_UNLOAD
28 28
29#include <sys/types.h> 29#include <sys/types.h>
30#include <sys/ioctl.h> 30#include <sys/ioctl.h>
31#include <sys/ipc.h> 31#include <sys/ipc.h>
32#include <sys/time.h> 32#include <sys/time.h>
33#include <sys/shm.h> 33#include <sys/shm.h>
34#include <sys/socket.h> 34#include <sys/socket.h>
35#include <sys/stat.h> 35#include <sys/stat.h>
36#include <sys/wait.h> 36#include <sys/wait.h>
37 37
38// DNS header files are not fully covered by X/Open specifications. 38// DNS header files are not fully covered by X/Open specifications.
39// In particular nothing is said about res_* :/ 39// In particular nothing is said about res_* :/
40// #ifdef __cplusplus
41// extern "C" {
42// #endif
43// getres() is mangled because of missing extern "C" on
44// HP-UX 11.x systems missing PHCO_23963
40#include <resolv.h> 45#include <resolv.h>
46// #ifdef __cplusplus
47// }
48// #endif
41// Undeclared - at least on HP-UX 10.20. 49// Undeclared - at least on HP-UX 10.20.
42extern "C" int res_init(); 50extern "C" int res_init();
43 51
44 52
45#if !defined(QT_NO_COMPAT) 53#if !defined(QT_NO_COMPAT)
46 #define QT_STATBUF struct stat 54 #define QT_STATBUF struct stat
47 #define QT_STATBUF4TSTATstruct stat 55 #define QT_STATBUF4TSTATstruct stat
48 #define QT_STAT ::stat 56 #define QT_STAT ::stat
49 #define QT_FSTAT ::fstat 57 #define QT_FSTAT ::fstat
50 #define QT_STAT_REG S_IFREG 58 #define QT_STAT_REG S_IFREG
51 #define QT_STAT_DIR S_IFDIR 59 #define QT_STAT_DIR S_IFDIR
52 #define QT_STAT_MASK S_IFMT 60 #define QT_STAT_MASK S_IFMT
53 #define QT_STAT_LNK S_IFLNK 61 #define QT_STAT_LNK S_IFLNK
54 #define QT_FILENO fileno 62 #define QT_FILENO fileno
55 #define QT_OPEN ::open 63 #define QT_OPEN ::open
56 #define QT_CLOSE ::close 64 #define QT_CLOSE ::close