summaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 9906ca22f335de36cabea3ee3745600c34342b83 (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
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
applewmdir = $(includedir)/X11/extensions
applewm_HEADERS = \
        include/X11/extensions/applewmconst.h \
	include/X11/extensions/applewmproto.h

applewmprotopkgconfigdir = $(datadir)/pkgconfig
applewmprotopkgconfig_DATA = applewmproto.pc

bigreqsdir = $(includedir)/X11/extensions
bigreqs_HEADERS = \
	include/X11/extensions/bigreqsproto.h \
	include/X11/extensions/bigreqstr.h

bigreqsprotopkgconfigdir = $(datadir)/pkgconfig
bigreqsprotopkgconfig_DATA = bigreqsproto.pc

if LEGACY
XCalibrateincludedir = $(includedir)/X11/extensions
XCalibrateinclude_HEADERS = \
	include/X11/extensions/xcalibrateproto.h \
	include/X11/extensions/xcalibratewire.h

calibrateprotopkgconfigdir = $(datadir)/pkgconfig
calibrateprotopkgconfig_DATA = xcalibrateproto.pc
endif

compositedir = $(includedir)/X11/extensions
composite_HEADERS = \
	include/X11/extensions/composite.h \
	include/X11/extensions/compositeproto.h

compositeprotopkgconfigdir = $(datadir)/pkgconfig
compositeprotopkgconfig_DATA = compositeproto.pc

damagedir = $(includedir)/X11/extensions
damage_HEADERS = \
	include/X11/extensions/damageproto.h \
	include/X11/extensions/damagewire.h

damageprotopkgconfigdir = $(datadir)/pkgconfig
damageprotopkgconfig_DATA = damageproto.pc

dmxdir = $(includedir)/X11/extensions
dmx_HEADERS = \
	include/X11/extensions/dmx.h \
	include/X11/extensions/dmxproto.h

dmxprotopkgconfigdir = $(datadir)/pkgconfig
dmxprotopkgconfig_DATA = dmxproto.pc

dri2dir = $(includedir)/X11/extensions
dri2_HEADERS = \
	include/X11/extensions/dri2proto.h \
	include/X11/extensions/dri2tokens.h

dri2protopkgconfigdir = $(datadir)/pkgconfig
dri2protopkgconfig_DATA = dri2proto.pc

dri3dir = $(includedir)/X11/extensions
dri3_HEADERS = \
	include/X11/extensions/dri3proto.h

dri3protopkgconfigdir = $(datadir)/pkgconfig
dri3protopkgconfig_DATA = dri3proto.pc

if LEGACY
eviedir = $(includedir)/X11/extensions
evie_HEADERS = \
	include/X11/extensions/evieproto.h \
	include/X11/extensions/Xeviestr.h

evieprotopkgconfigdir = $(datadir)/pkgconfig
evieprotopkgconfig_DATA = evieproto.pc
endif

fixesdir = $(includedir)/X11/extensions
fixes_HEADERS = \
	include/X11/extensions/xfixesproto.h \
	include/X11/extensions/xfixeswire.h

fixesprotopkgconfigdir = $(datadir)/pkgconfig
fixesprotopkgconfig_DATA = fixesproto.pc

if LEGACY
fontcachedir = $(includedir)/X11/extensions
fontcache_HEADERS = \
	include/X11/extensions/fontcache.h \
	include/X11/extensions/fontcacheP.h \
	include/X11/extensions/fontcachstr.h

fontcacheprotopkgconfigdir = $(datadir)/pkgconfig
fontcacheprotopkgconfig_DATA = fontcacheproto.pc
endif

fontsdir = $(includedir)/X11/fonts
fonts_HEADERS = \
	include/X11/fonts/font.h \
	include/X11/fonts/fontproto.h \
	include/X11/fonts/fontstruct.h \
	include/X11/fonts/FS.h \
	include/X11/fonts/fsmasks.h \
	include/X11/fonts/FSproto.h

fontsprotopkgconfigdir = $(datadir)/pkgconfig
fontsprotopkgconfig_DATA = fontsproto.pc

gldir = $(includedir)/GL
gl_HEADERS = \
	include/GL/glxint.h \
	include/GL/glxmd.h \
	include/GL/glxproto.h \
	include/GL/glxtokens.h

glinternaldir = $(includedir)/GL/internal
glinternal_HEADERS = \
	include/GL/internal/glcore.h

glprotopkgconfigdir = $(datadir)/pkgconfig
glprotopkgconfig_DATA = glproto.pc

inputdir = $(includedir)/X11/extensions
input_HEADERS = \
	include/X11/extensions/XI.h \
	include/X11/extensions/XIproto.h \
	include/X11/extensions/XI2.h \
	include/X11/extensions/XI2proto.h

inputprotopkgconfigdir = $(datadir)/pkgconfig
inputprotopkgconfig_DATA = inputproto.pc

kbdir = $(includedir)/X11/extensions
kb_HEADERS = \
	include/X11/extensions/XKBgeom.h \
	include/X11/extensions/XKB.h \
	include/X11/extensions/XKBproto.h \
	include/X11/extensions/XKBsrv.h \
	include/X11/extensions/XKBstr.h

kbprotopkgconfigdir = $(datadir)/pkgconfig
kbprotopkgconfig_DATA = kbproto.pc

if LEGACY
lg3ddir = $(includedir)/X11/extensions
lg3d_HEADERS = \
	include/X11/extensions/lgewire.h

lg3dprotopkgconfigdir = $(datadir)/pkgconfig
lg3dprotopkgconfig_DATA = lg3dproto.pc

xproxymngdir = $(includedir)/X11/PM
xproxymng_HEADERS = \
	include/X11/PM/PM.h \
	include/X11/PM/PMproto.h

pmprotopkgconfigdir = $(datadir)/pkgconfig
pmprotopkgconfig_DATA = xproxymngproto.pc
endif

presentdir = $(includedir)/X11/extensions
present_HEADERS = \
	include/X11/extensions/presentproto.h \
	include/X11/extensions/presenttokens.h

presentprotopkgconfigdir = $(datadir)/pkgconfig
presentprotopkgconfig_DATA = presentproto.pc

if LEGACY
printdir = $(includedir)/X11/extensions
print_HEADERS = \
	include/X11/extensions/Print.h \
	include/X11/extensions/Printstr.h

printprotopkgconfigdir = $(datadir)/pkgconfig
printprotopkgconfig_DATA = printproto.pc

miscmandir = $(MISC_MAN_DIR)
miscman_DATA =	man/Xprint.$(MISC_MAN_SUFFIX)
CLEANFILES = $(miscman_DATA)
endif

SED = sed

XORGRELSTRING = @PACKAGE_STRING@
  XORGMANNAME = X Version 11

MAN_SUBSTS = \
        -e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
        -e 's|__xorgversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
        -e 's|__datadir__|$(datadir)|g' \
        -e 's|__libdir__|$(libdir)|g' \
        -e 's|__sysconfdir__|$(sysconfdir)|g' \
        -e 's|__appmansuffix__|$(APP_MAN_SUFFIX)|g' \
        -e 's|__libmansuffix__|$(LIB_MAN_SUFFIX)|g' \
        -e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g'

SUFFIXES = .$(MISC_MAN_SUFFIX) .man

.man.$(MISC_MAN_SUFFIX): man
	$(MKDIR_P) man
	$(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@

randrdir = $(includedir)/X11/extensions
randr_HEADERS = \
	include/X11/extensions/randr.h \
	include/X11/extensions/randrproto.h

randrprotopkgconfigdir = $(datadir)/pkgconfig
randrprotopkgconfig_DATA = randrproto.pc

recorddir = $(includedir)/X11/extensions
record_HEADERS = \
	include/X11/extensions/recordconst.h \
	include/X11/extensions/recordproto.h \
	include/X11/extensions/recordstr.h

recordprotopkgconfigdir = $(datadir)/pkgconfig
recordprotopkgconfig_DATA = recordproto.pc

renderdir = $(includedir)/X11/extensions
render_HEADERS = \
	include/X11/extensions/render.h \
	include/X11/extensions/renderproto.h

renderprotopkgconfigdir = $(datadir)/pkgconfig
renderprotopkgconfig_DATA = renderproto.pc

resourcedir = $(includedir)/X11/extensions
resource_HEADERS = \
	include/X11/extensions/XResproto.h

resourceprotopkgconfigdir = $(datadir)/pkgconfig
resourceprotopkgconfig_DATA = resourceproto.pc

scrnsaverdir = $(includedir)/X11/extensions
scrnsaver_HEADERS = \
	include/X11/extensions/saver.h \
	include/X11/extensions/saverproto.h

scrnsaverprotopkgconfigdir = $(datadir)/pkgconfig
scrnsaverprotopkgconfig_DATA = scrnsaverproto.pc

if LEGACY
trapdir = $(includedir)/X11/extensions
trap_HEADERS = \
	include/X11/extensions/xtrapbits.h \
	include/X11/extensions/xtrapddmi.h \
	include/X11/extensions/xtrapdi.h \
	include/X11/extensions/xtrapemacros.h \
	include/X11/extensions/xtraplib.h \
	include/X11/extensions/xtraplibp.h \
	include/X11/extensions/xtrapproto.h

trapprotopkgconfigdir = $(datadir)/pkgconfig
trapprotopkgconfig_DATA = trapproto.pc
endif

videodir = $(includedir)/X11/extensions
video_HEADERS = \
	include/X11/extensions/vldXvMC.h \
	include/X11/extensions/Xv.h \
	include/X11/extensions/XvMC.h \
	include/X11/extensions/XvMCproto.h \
	include/X11/extensions/Xvproto.h

videoprotopkgconfigdir = $(datadir)/pkgconfig
videoprotopkgconfig_DATA = videoproto.pc

windowswmdir = $(includedir)/X11/extensions
windowswm_HEADERS = \
        include/X11/extensions/windowswm.h \
	include/X11/extensions/windowswmstr.h

windowswmprotopkgconfigdir = $(datadir)/pkgconfig
windowswmprotopkgconfig_DATA = windowswmproto.pc

xprotodir = $(includedir)/X11
xproto_HEADERS = \
	include/X11/ap_keysym.h \
	include/X11/DECkeysym.h \
	include/X11/HPkeysym.h \
	include/X11/keysymdef.h \
	include/X11/keysym.h \
	include/X11/Sunkeysym.h \
	include/X11/Xalloca.h \
	include/X11/Xarch.h \
	include/X11/Xatom.h \
	include/X11/Xdefs.h \
	include/X11/XF86keysym.h \
	include/X11/Xfuncproto.h \
	include/X11/Xfuncs.h \
	include/X11/X.h \
	include/X11/Xmd.h \
	include/X11/Xosdefs.h \
	include/X11/Xos.h \
	include/X11/Xos_r.h \
	include/X11/Xproto.h \
	include/X11/Xprotostr.h \
	include/X11/Xthreads.h \
	include/X11/Xw32defs.h \
	include/X11/XWDFile.h \
	include/X11/Xwindows.h \
	include/X11/Xwinsock.h

nodist_xproto_HEADERS = \
	include/X11/Xpoll.h

x11protopkgconfigdir = $(datadir)/pkgconfig
x11protopkgconfig_DATA = xproto.pc

xcmiscdir = $(includedir)/X11/extensions
xcmisc_HEADERS = \
	include/X11/extensions/xcmiscproto.h \
	include/X11/extensions/xcmiscstr.h

xcmiscprotopkgconfigdir = $(datadir)/pkgconfig
xcmiscprotopkgconfig_DATA = xcmiscproto.pc

xextdir = $(includedir)/X11/extensions
xext_HEADERS = \
	include/X11/extensions/dpmsconst.h \
	include/X11/extensions/dpmsproto.h \
        include/X11/extensions/ge.h \
        include/X11/extensions/geproto.h \
	include/X11/extensions/lbx.h \
	include/X11/extensions/lbxproto.h \
	include/X11/extensions/mitmiscconst.h \
	include/X11/extensions/mitmiscproto.h \
	include/X11/extensions/multibufconst.h \
	include/X11/extensions/multibufproto.h \
	include/X11/extensions/secur.h \
	include/X11/extensions/securproto.h \
	include/X11/extensions/shapeconst.h \
	include/X11/extensions/shapeproto.h \
	include/X11/extensions/shm.h \
	include/X11/extensions/shmproto.h \
	include/X11/extensions/syncconst.h \
	include/X11/extensions/syncproto.h \
	include/X11/extensions/ag.h \
	include/X11/extensions/agproto.h \
	include/X11/extensions/cup.h \
	include/X11/extensions/cupproto.h \
	include/X11/extensions/dbe.h \
	include/X11/extensions/dbeproto.h \
	include/X11/extensions/EVI.h \
	include/X11/extensions/EVIproto.h \
	include/X11/extensions/xtestext1proto.h \
	include/X11/extensions/xtestext1const.h \
	include/X11/extensions/xtestconst.h \
	include/X11/extensions/xtestproto.h

compatdir = $(xextdir)
compat_HEADERS = \
	include/X11/extensions/shapestr.h \
	include/X11/extensions/shmstr.h \
	include/X11/extensions/syncstr.h

xextprotopkgconfigdir = $(datadir)/pkgconfig
xextprotopkgconfig_DATA = xextproto.pc

xf86bigfontdir = $(includedir)/X11/extensions
xf86bigfont_HEADERS = \
	include/X11/extensions/xf86bigfont.h \
	include/X11/extensions/xf86bigfproto.h \
	include/X11/extensions/xf86bigfstr.h

xf86bigfontprotopkgconfigdir = $(datadir)/pkgconfig
xf86bigfontprotopkgconfig_DATA = xf86bigfontproto.pc

xf86dgadir = $(includedir)/X11/extensions
xf86dga_HEADERS = \
	include/X11/extensions/xf86dga.h \
	include/X11/extensions/xf86dga1const.h \
	include/X11/extensions/xf86dga1str.h \
	include/X11/extensions/xf86dga1proto.h \
	include/X11/extensions/xf86dgaconst.h \
	include/X11/extensions/xf86dgaproto.h \
	include/X11/extensions/xf86dgastr.h

xf86dgaprotopkgconfigdir = $(datadir)/pkgconfig
xf86dgaprotopkgconfig_DATA = xf86dgaproto.pc

xf86dridir = $(includedir)/X11/dri
xf86dri_HEADERS = \
	include/X11/dri/xf86dri.h \
	include/X11/dri/xf86dristr.h \
	include/X11/dri/xf86driproto.h

xf86driprotopkgconfigdir = $(datadir)/pkgconfig
xf86driprotopkgconfig_DATA = xf86driproto.pc

if LEGACY
xf86miscdir = $(includedir)/X11/extensions
xf86misc_HEADERS = \
	include/X11/extensions/xf86misc.h \
	include/X11/extensions/xf86mscstr.h

xf86miscprotopkgconfigdir = $(datadir)/pkgconfig
xf86miscprotopkgconfig_DATA = xf86miscproto.pc

xf86rushdir = $(includedir)/X11/extensions
xf86rush_HEADERS = \
	include/X11/extensions/xf86rush.h \
	include/X11/extensions/xf86rushstr.h

xf86rushprotopkgconfigdir = $(datadir)/pkgconfig
xf86rushprotopkgconfig_DATA = xf86rushproto.pc
endif

xf86vidmodedir = $(includedir)/X11/extensions
xf86vidmode_HEADERS = \
	include/X11/extensions/xf86vm.h \
	include/X11/extensions/xf86vmproto.h \
	include/X11/extensions/xf86vmstr.h

xf86vidmodeprotopkgconfigdir = $(datadir)/pkgconfig
xf86vidmodeprotopkgconfig_DATA = xf86vidmodeproto.pc

xineramadir = $(includedir)/X11/extensions
xinerama_HEADERS = \
	include/X11/extensions/panoramiXproto.h

xineramaprotopkgconfigdir = $(datadir)/pkgconfig
xineramaprotopkgconfig_DATA = xineramaproto.pc

SUBDIRS=specs

dist_doc_DATA = \
	compositeproto.txt \
	damageproto.txt \
	dri2proto.txt \
	dri3proto.txt \
	fixesproto.txt \
	PM_spec \
	presentproto.txt \
	randrproto.txt \
	renderproto.txt \
	resproto.txt \
	xv-protocol-v2.txt

EXTRA_DIST = \
    COPYING-applewmproto \
    COPYING-bigreqsproto \
    COPYING-compositeproto \
    COPYING-damageproto \
    COPYING-dmxproto \
    COPYING-dri2proto \
    COPYING-dri3proto \
    COPYING-evieproto \
    COPYING-fixesproto \
    COPYING-fontcacheproto \
    COPYING-fontsproto \
    COPYING-glproto \
    COPYING-inputproto \
    COPYING-kbproto \
    COPYING-lg3dproto \
    COPYING-pmproto \
    COPYING-presentproto \
    COPYING-printproto \
    COPYING-randrproto \
    COPYING-recordproto \
    COPYING-renderproto \
    COPYING-resourceproto \
    COPYING-scrnsaverproto \
    COPYING-trapproto \
    COPYING-videoproto \
    COPYING-windowswmproto \
    COPYING-x11proto \
    COPYING-xcmiscproto \
    COPYING-xextproto \
    COPYING-xf86bigfontproto \
    COPYING-xf86dgaproto \
    COPYING-xf86driproto \
    COPYING-xf86miscproto \
    COPYING-xf86rushproto \
    COPYING-xf86vidmodeproto \
    COPYING-xineramaproto \
    README.md \
    autogen.sh \
    include/GL/internal/meson.build \
    include/GL/meson.build \
    include/meson.build \
    include/X11/dri/meson.build \
    include/X11/extensions/meson.build \
    include/X11/fonts/meson.build \
    include/X11/meson.build \
    include/X11/PM/meson.build \
    meson.build \
    meson_options.txt \
    man/Xprint.man \
    man/Xprint.sgml

AM_DISTCHECK_CONFIGURE_FLAGS = --enable-legacy