author | zecke <zecke> | 2004-07-18 19:32:20 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-07-18 19:32:20 (UTC) |
commit | 8795812a0d763742a5273f356c35313af0fed84d (patch) (unidiff) | |
tree | 34b7259e1595e53e1fa2069d7d79bbdef67293e8 /mkspecs/hpux-acc-o64 | |
parent | 8e8fcd65b8d8657650728bae604c5a34dc31338e (diff) | |
download | opie-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
-rw-r--r-- | mkspecs/hpux-acc-o64/qmake.conf | 10 | ||||
-rw-r--r-- | mkspecs/hpux-acc-o64/qplatformdefs.h | 8 |
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 | |||
@@ -49,7 +49,7 @@ | |||
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 |
@@ -66,7 +66,7 @@ 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 |
@@ -93,8 +93,10 @@ 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 |
@@ -119,3 +121,5 @@ 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 | |||
@@ -37,7 +37,15 @@ | |||
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. |
42 | extern "C" int res_init(); | 50 | extern "C" int res_init(); |
43 | 51 | ||