summaryrefslogtreecommitdiff
path: root/OpenBSDLib.tmpl
blob: d92d8f00cbdadfa155b96278b18d236f5cf546f2 (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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
XCOMM platform:	$OpenBSD: OpenBSDLib.tmpl,v 1.6 2003/04/04 19:48:58 matthieu Exp $
XCOMM platform: $XFree86: xc/config/cf/OpenBSDLib.tmpl,v 1.10 2004/06/29 22:57:46 herrb Exp $
XCOMM

/* Shared libraries dependencies */
#if HasGcc && GccMajorVersion >= 3
# define SharedGLUReqs	$(LDPRELIB) $(XLIB) $(GLXLIB) -lsupc++
#endif 

/* Shared Library Revisions. Crank major on API Changes */

#if OverrideShlibRevs

# if OSMajorVersion == 3 && OSMinorVersion > 1 && OSMinorVersion <= 5
# ifndef SharedX11Rev
#  define SharedX11Rev 7.0
# endif
# ifndef SharedXThrStubRev
#  define SharedXThrStubRev 7.0
# endif
# ifndef SharedXextRev
#  define SharedXextRev 7.0
# endif
# ifndef SharedXssRev
#  define SharedXssRev 2.0
# endif
# ifndef SharedXxf86miscRev
#  define SharedXxf86miscRev 2.0
# endif
# ifndef SharedXxf86vmRev
#  define SharedXxf86vmRev 2.0
# endif
# ifndef SharedXxf86dgaRev
#  define SharedXxf86dgaRev 2.0
# endif
# ifndef SharedXxf86rushRev
#  define SharedXxf86rushRev 2.0
# endif
# ifndef SharedXvRev
#  define SharedXvRev 2.0
# endif
# ifndef SharedXvMCRev
#  define SharedXvMCRev 2.0
# endif
# ifndef SharedXineramaRev
#  define SharedXineramaRev 2.0
# endif
# ifndef SharedDpsRev
#  define SharedDpsRev 2.0
# endif
# ifndef SharedDpsTkRev
#  define SharedDpsTkRev 2.0
# endif
# ifndef SharedPSResRev
#  define SharedPSResRev 2.0
# endif
# ifndef SharedGluRev
#  if HasGcc && GccMajorVersion >= 3
    /* Gcc 3 changes the name mangling scheme on OpenBSD */
#   define SharedGluRev	3.0
#  else
#   define SharedGluRev 2.0
#  endif
# endif
# ifndef SharedGlxRev
#  define SharedGlxRev 2.0
# endif
# ifndef SharedGLwRev
#  define SharedGLwRev 2.0
# endif
# ifndef SharedXrenderRev
#  define SharedXrenderRev 2.1
# endif
# ifndef SharedXrandrRev
#  define SharedXrandrRev 3.0
# endif
# ifndef SharedXcursorRev
#  define SharedXcursorRev 1.0
# endif
# ifndef SharedXfontcacheRev
#  define SharedXfontcacheRev 2.0
# endif
# ifndef SharedXauRev
#  define SharedXauRev 7.0
# endif
# ifndef SharedXdmcpRev
#  define SharedXdmcpRev 7.0
# endif
# ifndef SharedXmuRev
#  define SharedXmuRev 7.0
# endif
# ifndef SharedXmuuRev
#  define SharedXmuuRev 2.0
# endif
# ifndef SharedOldXRev
#  define SharedOldXRev 7.0
# endif
# ifndef SharedXpRev
#  define SharedXpRev 7.0
# endif
# ifndef SharedXtRev
#  define SharedXtRev 7.0
# endif
# ifndef SharedXaRev
#  define SharedXaRev 2.0
# endif
# ifndef SharedXawRev
#  define SharedXawRev 9.0
# endif
# ifndef SharedXaw7Rev
#  define SharedXaw7Rev 8.0
# endif
# ifndef SharedXaw6Rev
#  define SharedXaw6Rev 7.1
# endif
# ifndef SharedXiRev
#  define SharedXiRev 7.0
# endif
# ifndef SharedXtstRev
#  define SharedXtstRev 7.0
# endif
# ifndef SharedICERev
#  define SharedICERev 7.0
# endif
# ifndef SharedSMRev
#  define SharedSMRev 7.0
# endif
# ifndef SharedXkeyRev
#  define SharedXkeyRev 7.0
# endif
# ifndef SharedFSRev
#  define SharedFSRev 7.0
# endif
# ifndef SharedFontRev
#  define SharedFontRev 2.0
# endif
# ifndef SharedFontEncRev
#  define SharedFontEncRev 2.0
# endif
# ifndef SharedXpmRev
#  define SharedXpmRev 5.0
# endif
# ifndef SharedFreetype2Rev
#  define SharedFreetype2Rev 11.0
# endif
# ifndef SharedExpatRev
#  define SharedExpatRev 4.0
# endif
# ifndef SharedXft1Rev
#  define SharedXft1Rev 1.2
# endif
# ifndef SharedXftRev
#  define SharedXftRev 3.0
# endif
# ifndef SharedFontconfigRev
#  define SharedFontconfigRev 1.0
# endif
# ifndef SharedXTrapRev
#  define SharedXTrapRev 7.0
# endif
# ifndef SharedPSResRev
#  define SharedPSResRev 2.0
# endif
# ifndef SharedXfixesRev
#  define SharedXfixesRev 3.0
# endif
# ifndef SharedXdamageRev
#  define SharedXdamageRev 1.0
# endif
# ifndef SharedXcompositeRev
#  define SharedXcompositeRev 1.0
# endif


# elif OSMajorVersion > 3 || OSMajorVersion == 3 && OSMinorVersion >= 6

# ifndef SharedX11Rev
#  define SharedX11Rev 8.1
# endif
# ifndef SharedXThrStubRev
#  define SharedXThrStubRev 8.0
# endif
# ifndef SharedXextRev
#  define SharedXextRev 8.0
# endif
# ifndef SharedXssRev
#  define SharedXssRev 3.0
# endif
# ifndef SharedXxf86miscRev
#  define SharedXxf86miscRev 3.0
# endif
# ifndef SharedXxf86vmRev
#  define SharedXxf86vmRev 3.0
# endif
# ifndef SharedXxf86dgaRev
#  define SharedXxf86dgaRev 3.0
# endif
# ifndef SharedXxf86rushRev
#  define SharedXxf86rushRev 3.0
# endif
# ifndef SharedXvRev
#  define SharedXvRev 3.0
# endif
# ifndef SharedXvMCRev
#  define SharedXvMCRev 3.0
# endif
# ifndef SharedXineramaRev
#  define SharedXineramaRev 3.0
# endif
# ifndef SharedDpsRev
#  define SharedDpsRev 3.0
# endif
# ifndef SharedDpsTkRev
#  define SharedDpsTkRev 3.0
# endif
# ifndef SharedPSResRev
#  define SharedPSResRev 3.0
# endif
# ifndef SharedGluRev
#  if HasGcc && GccMajorVersion >= 3
    /* Gcc 3 changes the name mangling scheme on OpenBSD */
#   define SharedGluRev	4.0
#  else
#   define SharedGluRev 3.0
#  endif
# endif
# ifndef SharedGlxRev
#  define SharedGlxRev 3.1
# endif
# ifndef SharedOSMesaRev
#  define SharedOSMesaRev 6.0
# endif
# ifndef SharedGLwRev
#  define SharedGLwRev 3.0
# endif
# ifndef SharedXrenderRev
#  define SharedXrenderRev 3.1
# endif
# ifndef SharedXrandrRev
#  define SharedXrandrRev 4.0
# endif
# ifndef SharedXcursorRev
#  define SharedXcursorRev 2.2
# endif
# ifndef SharedXfontcacheRev
#  define SharedXfontcacheRev 3.0
# endif
# ifndef SharedXauRev
#  define SharedXauRev 8.0
# endif
# ifndef SharedXdmcpRev
#  define SharedXdmcpRev 8.0
# endif
# ifndef SharedXmuRev
#  define SharedXmuRev 8.0
# endif
# ifndef SharedXmuuRev
#  define SharedXmuuRev 3.0
# endif
# ifndef SharedOldXRev
#  define SharedOldXRev 8.0
# endif
# ifndef SharedXpRev
#  define SharedXpRev 8.0
# endif
# ifndef SharedXtRev
#  define SharedXtRev 8.0
# endif
# ifndef SharedXaRev
#  define SharedXaRev 3.0
# endif
# ifndef SharedXawRev
#  define SharedXawRev 9.0
# endif
# ifndef SharedXaw6Rev
#  define SharedXaw6Rev 8.1
# endif
# ifndef SharedXiRev
#  define SharedXiRev 8.0
# endif
# ifndef SharedXtstRev
#  define SharedXtstRev 8.0
# endif
# ifndef SharedICERev
#  define SharedICERev 8.0
# endif
# ifndef SharedSMRev
#  define SharedSMRev 8.0
# endif
# ifndef SharedXkeyRev
#  define SharedXkeyRev 8.0
# endif
# ifndef SharedFSRev
#  define SharedFSRev 8.0
# endif
# ifndef SharedFontRev
#  define SharedFontRev 4.0
# endif
# ifndef SharedFontEncRev
#  define SharedFontEncRev 3.0
# endif
# ifndef SharedXpmRev
#  define SharedXpmRev 6.0
# endif
# ifndef SharedFreetype2Rev
#  define SharedFreetype2Rev 13.0
# endif
# ifndef SharedExpatRev
#  define SharedExpatRev 5.0
# endif
# ifndef SharedXft1Rev
#  define SharedXft1Rev 3.0
# endif
# ifndef SharedXftRev
#  define SharedXftRev 5.0
# endif
# ifndef SharedFontconfigRev
#  define SharedFontconfigRev 2.0
# endif
# ifndef SharedXTrapRev
#  define SharedXTrapRev 8.0
# endif
# ifndef SharedPSResRev
#  define SharedPSResRev 3.0
# endif
# ifndef SharedXResRev
#  define SharedXResRev 2.0
# endif
# ifndef SharedxkbfileRev
#  define SharedxkbfileRev 2.0
# endif
# ifndef SharedxkbuiRev
#  define SharedxkbuiRev 2.0
# endif
# ifndef SharedXfixesRev
#  define SharedXfixesRev 3.0
# endif
# ifndef SharedXdamageRev
#  define SharedXdamageRev 1.0
# endif
# ifndef SharedXcompositeRev
#  define SharedXcompositeRev 1.0
# endif

#endif /* OSMajorVersion .. */

#endif /* OverrideShlibRevs */

#include <bsdLib.tmpl>