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/irix-cc | |
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/irix-cc/qmake.conf | 8 | ||||
-rw-r--r-- | mkspecs/irix-cc/qplatformdefs.h | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/mkspecs/irix-cc/qmake.conf b/mkspecs/irix-cc/qmake.conf index 31411af..469a473 100644 --- a/mkspecs/irix-cc/qmake.conf +++ b/mkspecs/irix-cc/qmake.conf | |||
@@ -1,20 +1,20 @@ | |||
1 | # | 1 | # |
2 | # $Id$ | 2 | # $Id$ |
3 | # | 3 | # |
4 | # qmake configuration for irix-n32 | 4 | # qmake configuration for irix-cc |
5 | # | 5 | # |
6 | # From cc(1): | 6 | # From cc(1): |
7 | # -n32 | 7 | # -n32 |
8 | # Generates a (new) 32-bit object. This defaults to -mips3 if | 8 | # Generates a (new) 32-bit object. This defaults to -mips3 if |
9 | # -mips4 has not been specified. | 9 | # -mips4 has not been specified. |
10 | # -LANG: ... | 10 | # -LANG: ... |
11 | # The language feature option group controls the source language | 11 | # The language feature option group controls the source language |
12 | # interpretation assumed by the compiler. The individual controls | 12 | # interpretation assumed by the compiler. The individual controls |
13 | # in this group are as follows: | 13 | # in this group are as follows: |
14 | # ansi-for-init-scope [ = ( ON|OFF ) ] | 14 | # ansi-for-init-scope [ = ( ON|OFF ) ] |
15 | # Enables or disables the ANSI scoping rules for for-init | 15 | # Enables or disables the ANSI scoping rules for for-init |
16 | # declarations (the scope of the name declared extends to | 16 | # declarations (the scope of the name declared extends to |
17 | # the end of the for statement). This enables the behavior | 17 | # the end of the for statement). This enables the behavior |
18 | # that is required by the C++ standard. The default value | 18 | # that is required by the C++ standard. The default value |
19 | # is OFF, which is the ARM behavior (the scope of the name | 19 | # is OFF, which is the ARM behavior (the scope of the name |
20 | # declared extends to the end of the block enclosing the for | 20 | # declared extends to the end of the block enclosing the for |
@@ -25,51 +25,51 @@ | |||
25 | # only to suppress this type in old code that defines bool | 25 | # only to suppress this type in old code that defines bool |
26 | # itself. Because this option changes the mangling of function | 26 | # itself. Because this option changes the mangling of function |
27 | # names with bool parameters, all files comprising a program | 27 | # names with bool parameters, all files comprising a program |
28 | # should be compiled with consistent options. | 28 | # should be compiled with consistent options. |
29 | # Default is ON. | 29 | # Default is ON. |
30 | # The _BOOL feature macro can be used in #ifdefs to do conditional | 30 | # The _BOOL feature macro can be used in #ifdefs to do conditional |
31 | # compilation based on whether or not this option is enabled. | 31 | # compilation based on whether or not this option is enabled. |
32 | # std | 32 | # std |
33 | # Enables use of the standard C++ library and standard- | 33 | # Enables use of the standard C++ library and standard- |
34 | # conforming iostream library. Specifying this flag also | 34 | # conforming iostream library. Specifying this flag also |
35 | # triggers other standard-conforming behavior, such as the | 35 | # triggers other standard-conforming behavior, such as the |
36 | # new rules for the scope of for loop initializers. | 36 | # new rules for the scope of for loop initializers. |
37 | # | 37 | # |
38 | 38 | ||
39 | MAKEFILE_GENERATOR= UNIX | 39 | MAKEFILE_GENERATOR= UNIX |
40 | TEMPLATE = app | 40 | TEMPLATE = app |
41 | CONFIG += qt warn_on release | 41 | CONFIG += qt warn_on release link_prl |
42 | 42 | ||
43 | QMAKE_CC = cc | 43 | QMAKE_CC = cc |
44 | QMAKE_LEX = flex | 44 | QMAKE_LEX = flex |
45 | QMAKE_LEXFLAGS = | 45 | QMAKE_LEXFLAGS = |
46 | QMAKE_YACC = yacc | 46 | QMAKE_YACC = yacc |
47 | QMAKE_YACCFLAGS = -d | 47 | QMAKE_YACCFLAGS = -d |
48 | QMAKE_CFLAGS = -n32 -woff 1021,1209,1233,1314,1355,1375,1506 $(CFLAGS_EXTRA) | 48 | QMAKE_CFLAGS = -n32 -woff 1021,1209,1233,1314,1355,1375,1506 $(CFLAGS_EXTRA) |
49 | QMAKE_CFLAGS_DEPS= -M | 49 | QMAKE_CFLAGS_DEPS= -M |
50 | QMAKE_CFLAGS_WARN_ON= -fullwarn | 50 | QMAKE_CFLAGS_WARN_ON= -fullwarn |
51 | QMAKE_CFLAGS_WARN_OFF= | 51 | QMAKE_CFLAGS_WARN_OFF= |
52 | QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2 -OPT:Olimit=3000) | 52 | QMAKE_CFLAGS_RELEASE= $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2 -OPT:Olimit=3000) |
53 | QMAKE_CFLAGS_DEBUG= -g | 53 | QMAKE_CFLAGS_DEBUG= -g |
54 | QMAKE_CFLAGS_SHLIB= | 54 | QMAKE_CFLAGS_SHLIB= |
55 | QMAKE_CFLAGS_YACC= -woff 1110,1174,3262 | 55 | QMAKE_CFLAGS_YACC= -woff 1110,1174,3262 |
56 | QMAKE_CFLAGS_THREAD= | 56 | QMAKE_CFLAGS_THREAD= |
57 | 57 | ||
58 | QMAKE_CXX = CC | 58 | QMAKE_CXX = CC |
59 | QMAKE_CXXFLAGS = -n32 -woff 1021,1209,1233,1314,1355,1375,1506,1681,1682,3496 $(CXXFLAGS_EXTRA) | 59 | QMAKE_CXXFLAGS = -n32 -woff 1021,1209,1233,1314,1355,1375,1424,1506,1681,1682,3496 $(CXXFLAGS_EXTRA) |
60 | QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS | 60 | QMAKE_CXXFLAGS_DEPS= $$QMAKE_CFLAGS_DEPS |
61 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON | 61 | QMAKE_CXXFLAGS_WARN_ON= $$QMAKE_CFLAGS_WARN_ON |
62 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF | 62 | QMAKE_CXXFLAGS_WARN_OFF= $$QMAKE_CFLAGS_WARN_OFF |
63 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE | 63 | QMAKE_CXXFLAGS_RELEASE= $$QMAKE_CFLAGS_RELEASE |
64 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG | 64 | QMAKE_CXXFLAGS_DEBUG= $$QMAKE_CFLAGS_DEBUG |
65 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB | 65 | QMAKE_CXXFLAGS_SHLIB= $$QMAKE_CFLAGS_SHLIB |
66 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC | 66 | QMAKE_CXXFLAGS_YACC= $$QMAKE_CFLAGS_YACC |
67 | QMAKE_CXXFLAGS_THREAD= | 67 | QMAKE_CXXFLAGS_THREAD= |
68 | 68 | ||
69 | QMAKE_INCDIR = | 69 | QMAKE_INCDIR = |
70 | QMAKE_LIBDIR = | 70 | QMAKE_LIBDIR = |
71 | QMAKE_INCDIR_X11= | 71 | QMAKE_INCDIR_X11= |
72 | QMAKE_LIBDIR_X11= | 72 | QMAKE_LIBDIR_X11= |
73 | QMAKE_INCDIR_QT = $(QTDIR)/include | 73 | QMAKE_INCDIR_QT = $(QTDIR)/include |
74 | QMAKE_LIBDIR_QT = $(QTDIR)/lib | 74 | QMAKE_LIBDIR_QT = $(QTDIR)/lib |
75 | QMAKE_INCDIR_OPENGL= | 75 | QMAKE_INCDIR_OPENGL= |
@@ -98,16 +98,18 @@ QMAKE_LIBS_THREAD = -lpthread | |||
98 | 98 | ||
99 | QMAKE_MOC = $(QTDIR)/bin/moc | 99 | QMAKE_MOC = $(QTDIR)/bin/moc |
100 | QMAKE_UIC = $(QTDIR)/bin/uic | 100 | QMAKE_UIC = $(QTDIR)/bin/uic |
101 | 101 | ||
102 | QMAKE_AR = CC -ar -o | 102 | QMAKE_AR = CC -ar -o |
103 | QMAKE_RANLIB = | 103 | QMAKE_RANLIB = |
104 | 104 | ||
105 | QMAKE_CLEAN = -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files | 105 | QMAKE_CLEAN = -r $(OBJECTS_DIR)so_locations $(OBJECTS_DIR)ii_files |
106 | 106 | ||
107 | QMAKE_TAR = tar -cf | 107 | QMAKE_TAR = tar -cf |
108 | QMAKE_GZIP = gzip -9f | 108 | QMAKE_GZIP = gzip -9f |
109 | 109 | ||
110 | QMAKE_COPY = cp -f | 110 | QMAKE_COPY = cp -f |
111 | QMAKE_MOVE = mv -f | 111 | QMAKE_MOVE = mv -f |
112 | QMAKE_DEL_FILE = rm -f | 112 | QMAKE_DEL_FILE = rm -f |
113 | QMAKE_DEL_DIR = rmdir | 113 | QMAKE_DEL_DIR = rmdir |
114 | QMAKE_CHK_DIR_EXISTS= test -d | ||
115 | QMAKE_MKDIR = mkdir -p | ||
diff --git a/mkspecs/irix-cc/qplatformdefs.h b/mkspecs/irix-cc/qplatformdefs.h index c6eaa2f..8666daf 100644 --- a/mkspecs/irix-cc/qplatformdefs.h +++ b/mkspecs/irix-cc/qplatformdefs.h | |||
@@ -62,27 +62,31 @@ | |||
62 | #define QT_GETCWD ::getcwd | 62 | #define QT_GETCWD ::getcwd |
63 | #define QT_CHDIR ::chdir | 63 | #define QT_CHDIR ::chdir |
64 | #define QT_MKDIR ::mkdir | 64 | #define QT_MKDIR ::mkdir |
65 | #define QT_RMDIR ::rmdir | 65 | #define QT_RMDIR ::rmdir |
66 | #define QT_OPEN_RDONLY O_RDONLY | 66 | #define QT_OPEN_RDONLY O_RDONLY |
67 | #define QT_OPEN_WRONLY O_WRONLY | 67 | #define QT_OPEN_WRONLY O_WRONLY |
68 | #define QT_OPEN_RDWR O_RDWR | 68 | #define QT_OPEN_RDWR O_RDWR |
69 | #define QT_OPEN_CREAT O_CREAT | 69 | #define QT_OPEN_CREAT O_CREAT |
70 | #define QT_OPEN_TRUNC O_TRUNC | 70 | #define QT_OPEN_TRUNC O_TRUNC |
71 | #define QT_OPEN_APPEND O_APPEND | 71 | #define QT_OPEN_APPEND O_APPEND |
72 | #endif | 72 | #endif |
73 | 73 | ||
74 | #define QT_SIGNAL_RETTYPEvoid | 74 | #define QT_SIGNAL_RETTYPEvoid |
75 | #define QT_SIGNAL_ARGS int | 75 | #define QT_SIGNAL_ARGS int |
76 | #define QT_SIGNAL_IGNORESIG_IGN | 76 | #define QT_SIGNAL_IGNORESIG_IGN |
77 | 77 | ||
78 | #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE-0 >= 500) | ||
79 | #define QT_SOCKLEN_T size_t | ||
80 | #else | ||
78 | #define QT_SOCKLEN_T int | 81 | #define QT_SOCKLEN_T int |
82 | #endif | ||
79 | 83 | ||
80 | #if 0 | 84 | #if 0 |
81 | // on Irix 6.5 and better only - but how to check for it? | 85 | // on Irix 6.5 and better only - but how to check for it? |
82 | #if defined(_SGIAPI) | 86 | #if defined(_SGIAPI) |
83 | #define QT_SNPRINTF ::snprintf | 87 | #define QT_SNPRINTF ::snprintf |
84 | #define QT_VSNPRINTF ::vsnprintf | 88 | #define QT_VSNPRINTF ::vsnprintf |
85 | #endif | 89 | #endif |
86 | #endif | 90 | #endif |
87 | 91 | ||
88 | #endif // QPLATFORMDEFS_H | 92 | #endif // QPLATFORMDEFS_H |