blob: 95cf9ebc99043d491fafcb7302d804b8e40a4429 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
|
XCOMM $Xorg: os2.cf,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
XCOMM platform: $XFree86: xc/config/cf/os2.cf,v 3.41 2003/11/14 02:17:19 dawes Exp $
XCOMM hv: This file will now require a compiler that defines
XCOMM hv: the symbol __UNIXOS2__ (currently a modified EMX gcc,
XCOMM hv: but in future a separate system)
#define OSName OS/2
#define OSVendor IBM
#define OSMajorVersion 4
#define OSMinorVersion 5
#define OSTeenyVersion 1
#define BootstrapCFlags -DBSD43
#define StandardDefines -DX_LOCALE -DX_WCHAR
#define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
/* for the man pages */
#define BookFormatManPages YES
#define ManSuffix 1
#define FileManSuffix 4
#define DontUseLibPathVar YES
/* you must have installed groff! */
#define TblCmd tbl
#define ColCmd cat
#define NeqnCmd eqn
#define NroffCmd groff -Tascii
#define EqnCmd eqn -Tascii
#define HasGroff YES
NEQN = NeqnCmd
NROFF = NroffCmd
/* A set of standard defines: */
#define OSDefines -D_POSIX_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE
#ifndef BuildXKB
#define BuildXKB YES
#endif
#ifndef BuildLBX
#define BuildLBX YES
#endif
#ifndef DoLoadableServer
#define DoLoadableServer YES
#endif
#undef MakeDLLModules
#define MakeDLLModules NO
#ifndef BuildModuleInSubdir
#define BuildModuleInSubdir YES
#endif
/* some more properties of the OS/2 implementation */
#define HasNdbm YES
#define HasPutenv YES
#define HasSockets YES
#define HasSnprintf YES
#define HasWChar32 NO
#define HasUsableFileMap NO
#define HasNCurses YES
#define HasVarRun NO
#define HasLibPthread NO
#define HasPosixThreads NO
#define HasVarDb NO
#define HasDlopen NO
#define HasBsearch NO
#define HasFchown NO
#define HasLargeTmp NO
#define HasPoll NO
#define HasBSD44Sockets NO
#define HasSecureRPC NO
#define HasSymLinks NO
#define HasVFork NO
#define HasVarDirectory NO
#define HasStrcasecmp YES
#define StrcasecmpDefines -DNEED_STRCASECMP -Dstrcasecmp=stricmp -Dstrncasecmp=strnicmp
#define Malloc0ReturnsNull YES
#define SetTtyGroup NO
#ifndef HasLibCrypt
# define HasLibCrypt NO
#endif
#ifndef HasShm
# define HasShm YES
#endif
#define ConnectionFlags -DTCPCONN -DOS2PIPECONN
#define StdIncDir /usr/include
#define HasStickyDirBit NO
#define HasMkstemp NO
#define BuildThreadStubLibrary NO
#define HasBasename NO /* C-function, not shell utility!! */
/*
* Compiler Features
*/
#define DefaultGcc2i386Opt -O2 -fstrength-reduce -fpcc-struct-return
#define UseGccMakeDepend YES
#define HasCplusplus YES
#define HasGnuMake YES
#define GccUsesGas YES
#define UseGas YES
#define GnuCpp YES
#define DoRanlibCmd YES
#define NeedConstPrototypes YES
#define NeedFunctionPrototypes YES
#define NeedNestedPrototypes YES
#define NeedVarargsPrototypes YES
#define NeedWidePrototypes NO
#define HasPlugin NO
#define VendorHasX11R6_3libExt YES
#define CppCmd cpp
#define YaccCmd bison -y
#define StandardCppOptions -traditional
#define StandardCppDefines /**/
#define PreProcessCmd CppCmd
#define CcCmd gcc -D__UNIXOS2__
#define DefaultCCOptions -D__ST_MT_ERRNO -Zmtd -Zsysv-signals
#define LibraryCCOptions -D__ST_MT_ERRNO -Zmtd -Zsysv-signals
#define ServerCCOptions -D__ST_MT_ERRNO -Zmtd -Zsysv-signals
#define ModuleCcCmd gcc_elf
#define ModuleCppCmd cpp_elf
#define ModuleCFlags -D__UNIXOS2__ $(CDEBUGFLAGS) $(THREADS_CFLAGS) $(ALLDEFINES)
#define ModuleAsCmd as_elf
#define ModuleLdCmd ld_elf
#define ModuleLdCombineFlags -X -r
#define ModuleArCmd ar_elf cq
#define NeedModuleRanlib YES
#define ModuleRanlibCmd ranlib_elf
#define HasPerl5 YES
#define CplusplusCmd g++
#define CplusplusOptions -Zmtd -Zsysv-signals -D__UNIXOS2__
#define AsCmd as
#define GccGasOption -DGCCUSESGAS
#define AsmDefines -DUSE_GAS
#define InstallCmd install
#define LdCmd ld
#define ExtraLoadFlags -Zbin-files
#define ExtraLibraries -lshm -lemxfix -lsocket -lbsd -lgcc
#define ServerExtraSysLibs -lregex -lshm -lemxfix -lsocket
/* quite a number of programs you need, most of them the same as
* with Unix, but listed here for completeness
*/
#define ArCmd ar cq
#define RanlibCmd ar s
#define BourneShell /bin/sh
#define LexCmd flex -l
#define HasFlex YES
#define LexLib -lfl
#define LintCmd /**/
#define MvCmd mv
#define CompressCmd compress
#define GzipCmd gzip
#define LnCmd cp
#define CpCmd cp
#define RmCmd rm -f
/* "shell scripts" in OS/2 have this extension */
#define SHsuf sh
#define InstPgmFlags /**/
#define InstBinFlags /**/
#define InstUidFlags /**/
#define InstLibFlags /**/
#define InstIncFlags /**/
#define InstManFlags /**/
#define InstDatFlags /**/
#define InstallFlags /**/
#define OptimizedCDebugFlags DefaultGcc2i386Opt
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DXNO_SYSCONF
#define ServerExtraDefines GccGasOption XFree86ServerDefines
/*
* Make & install Features
*/
#define AvoidNullMakeCommand YES
_NULLCMD_ =
#define NullMakeCommand
#define StripInstalledPrograms NO
#define CompressAllFonts YES
#define CompressManPages YES
#define GzipFontCompression YES
#define DefaultUserPath $(BINDIR)
#define DefaultSystemPath $(BINDIR)
#define CaseSensitiveFileSystem NO
#ifndef ExtraFilesToClean
# define ExtraFilesToClean *.~* *.exe *.dll *.obj *.lib *.map *raw_os2.def MISSING_ORDINALS
#endif
#define ProgramTargetName(target) Concat(target,.exe)
#define HostProgramTargetName(target) ProgramTargetName(target)
#include <os2.rules>
#include <os2Lib.rules>
# include <xfree86.cf>
|