blob: 86c9e305ccb07198842349fb639f5c605148e0a7 (
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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
|
/* xc/config/cf/DragonFly.cf */
#ifndef LocalBase
# define LocalBase @LOCALBASE@
#endif
#define UseElfFormat YES
#define OSBinaryFormat [ELF]
#ifndef OSName
# define OSName DefaultOSName OSBinaryFormat
#endif
#ifndef OSVendor
# define OSVendor /**/
#endif
#ifndef OSMajorVersion
# define OSMajorVersion DefaultOSMajorVersion
#endif
#ifndef OSMinorVersion
# define OSMinorVersion DefaultOSMinorVersion
#endif
#ifndef OSTeenyVersion
# define OSTeenyVersion DefaultOSTeenyVersion
#endif
/* #ifndef OSRelVersion */
/* Include this to get finer-grained information about the OS version */
#include "/usr/include/osreldate.h"
#define OSRelVersion __DragonFly_version
/* #endif */
XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion) (OSRelVersion)
#define HasCplusplus YES
#define GccUsesGas YES
#define UseGas YES
#define GnuCpp YES
#define HasNdbm YES
#define HasPutenv YES
#define HasSnprintf YES
#define HasBSD44Sockets YES
#define HasDlopen YES
#define HasSetProcTitle YES
#define HasLibCrypt YES
#define HasShm YES
#define HasWChar32 YES
#define HasUsableFileMmap YES
#define HasNCurses YES
#define HasVarRun YES
#define HasVarDb YES
#define HasIssetugid YES
#define HasPoll YES
#define HasGetIfAddrs YES
#define IPv6SocketsAlsoIPv4 NO
#define InstallXloadSetGID NO
#define HasWeakSymbols UseElfFormat
/*
* Multi-thread safe libs
*/
#define HasPosixThreads YES
#define ThreadedX YES
#define SystemMTDefines -D_REENTRANT -D_THREAD_SAFE
#define HasThreadSafeAPI YES
#define MTSafeAPIDefines -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI
# define BuildThreadStubLibrary YES
# define NeedUIThrStubs YES
# define ThreadsLibraries -pthread
# define SharedX11Reqs $(LDPRELIB)
# define SharedXtReqs $(LDPRELIB) $(XONLYLIB) $(SMLIB) $(ICELIB)
#define AvoidNullMakeCommand YES
#define StripInstalledPrograms YES
#define CompressAllFonts YES
#define Malloc0ReturnsNull YES
#define NeedConstPrototypes YES
#define NeedFunctionPrototypes YES
#define NeedNestedPrototypes YES
#define NeedVarargsPrototypes YES
#define NeedWidePrototypes NO
#define HasPlugin YES
#define VendorHasX11R6_3libXext YES /* XC or XFree86 >= 3.3.1 */
#define CcCmd cc
#define OptimizedCDebugFlags /* -O2 causes some files to die out */
#define CplusplusCmd c++
#define CppCmd cpp
#define PreProcessCmd CppCmd
#define StandardCppOptions -traditional
#define StandardCppDefines /**/
#ifndef DefaultCCOptions
# if defined(UseInstalled)
# define DefaultCCOptions /**/
# else
# if defined(HasGcc3) && HasGcc3
# define NoSystemWarn -Wno-system-headers
# else
# define NoSystemWarn
# endif
# define DefaultCCOptions -ansi -Dasm=__asm NoSystemWarn
# endif
#endif
#define HasSetUserContext YES
#define HasGetpeereid YES
#define HasMTRRSupport YES
#ifndef BuildXF86DRI
# define BuildXF86DRI YES
#endif
#if defined(i386Architecture)
# define HasAgpGart YES
#endif
/*
* SSE and 3DNow will be autodetected, so binutils is the only
* requirement for enabling this. By 4.2 they were all supported.
*/
#if defined(i386Architecture)
# define HasX86Support YES
# define HasMMXSupport YES
# define Has3DNowSupport YES
# define HasSSESupport YES
#else
# define HasX86Support NO
# define HasMMXSupport NO
# define Has3DNowSupport NO
# define HasSSESupport NO
#endif
#ifndef UseRpath
# define UseRpath YES
#endif
#ifndef RpathLoadFlags
# if UseRpath
# define RpathLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
# else
# define RpathLoadFlags /**/
# endif
#endif
#ifndef ExtraLoadFlags
# if !defined(UseInstalled)
# define ExtraLoadFlags RpathLoadFlags -Wl,-rpath-link,$(BUILDLIBDIR)
# else
# define ExtraLoadFlags RpathLoadFlags
# endif
#endif
#ifndef StaticLibrary
# define StaticLibrary(libpath,libname) -Wl,-Bstatic Concat(-L,libpath) Concat(-l,libname) -Wl,-Bdynamic
#endif
#define DlLibrary -Wl,--export-dynamic
#ifndef HasPam
# define HasPam YES
#endif
#ifndef PamLibraries
# define PamLibraries -lpam DlLibrary
#endif
#ifndef UseGnuMalloc
# define UseGnuMalloc NO
#endif
#ifndef GnuMallocLibrary
# define GnuMallocLibrary /**/
#endif
#ifndef HasZlib
# define HasZlib YES
#endif
#ifdef AlphaArchitecture
# define IoLibrary -lio
#else
# define IoLibrary /**/
#endif
#define ServerExtraSysLibs IoLibrary
#ifndef HasExpat
# define HasExpat YES
# define ExpatDir LocalBase
#endif
#ifndef HasFreetype2
# define HasFreetype2 YES
# define Freetype2Dir LocalBase
#endif
#undef InstallCmd
#define InstallCmd /usr/bin/install
#define AsmElfDefines -D__ELF__
#if GccUsesGas
# define GccGasOption -DGCCUSESGAS
# define AsmDefines -DUSE_GAS AsmElfDefines
#else
# define GccGasOption /**/
# define AsmDefines AsmElfDefines
#endif
#ifdef i386Architecture
# define ServerExtraDefines GccGasOption XFree86ServerDefines
#endif
#if defined(AlphaArchitecture) || defined(Sparc64Architecture) || \
defined(ia64Architecture) || defined(AMD64Architecture)
# define ServerExtraDefines GccGasOption XFree86ServerDefines -D_XSERVER64
#endif
#ifdef Sparc64Architecture
# define AsVISOption -Av9a
# define AsOutputArchSize 64
#endif
#define StandardDefines -DCSRG_BASED
#define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
#define XawI18nDefines -DUSE_XWCHAR_STRING
#define HasMakefileSafeInclude YES
#define IncludeMakefile(file) @@# dependencies are in .depend
#define DependFileName .depend
#ifndef DoLoadableServer
# define DoLoadableServer YES
#endif
#ifndef ForceNormalLib
# define ForceNormalLib YES
#endif
#define HasMkstemp YES
#ifndef PreIncDir
# define PreIncDir /usr/include /* DefaultGccIncludeDir ? */
#endif
#define HasGroff YES
#define NroffCmd env GROFF_NO_SGR=y groff -Tascii
#define SetTtyGroup YES
#ifndef ExtraFilesToClean
# define ExtraFilesToClean *.core
#endif
#define DefaultUserPath /usr/pkg/bin/bin:/usr/bin:/sbin:/usr/sbin:$(BINDIR):/usr/local/bin
#define DefaultSystemPath /usr/pkg/sbin:/bin:/usr/bin:/sbin:/usr/sbin:$(BINDIR)
#ifndef SystemManDirectory
# define SystemManDirectory /usr/share/man
#endif
#define InstKmemFlags -g kmem -m 2755
#ifndef CompressManPages
# define CompressManPages NO
#endif
#define HasBsdMake YES
#ifndef SharedLibXdmGreet
# define SharedLibXdmGreet NO
#endif
#ifndef HasCookieMaker
/* Which versions have /dev/urandom? */
#define HasCookieMaker YES
#define MkCookieCmd \
'dd if=/dev/urandom bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"'
#endif
#include <bsdLib.rules>
#include <xorg.cf>
|