blob: 43f7236c987bbd9d5390d2984e6dfca67fdf530a (
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
|
lib_LTLIBRARIES = libXCB.la \
libXCBcomposite.la \
libXCBdamage.la \
libXCBdpms.la \
libXCBglx.la \
libXCBrandr.la \
libXCBrecord.la \
libXCBrender.la \
libXCBres.la \
libXCBscreensaver.la \
libXCBshape.la \
libXCBshm.la \
libXCBsync.la \
libXCBxevie.la \
libXCBxf86dri.la \
libXCBxfixes.la \
libXCBxprint.la \
libXCBxtest.la \
libXCBxv.la \
libXCBxvmc.la
EXTHEADERS = \
extensions/bigreq.h \
extensions/composite.h \
extensions/damage.h \
extensions/dpms.h \
extensions/glx.h \
extensions/randr.h \
extensions/record.h \
extensions/render.h \
extensions/res.h \
extensions/screensaver.h \
extensions/shape.h \
extensions/shm.h \
extensions/sync.h \
extensions/xc_misc.h \
extensions/xevie.h \
extensions/xf86dri.h \
extensions/xfixes.h \
extensions/xprint.h \
extensions/xtest.h \
extensions/xv.h \
extensions/xvmc.h
EXTSOURCES = \
extensions/bigreq.c \
extensions/composite.c \
extensions/damage.c \
extensions/dpms.c \
extensions/glx.c \
extensions/randr.c \
extensions/record.c \
extensions/render.c \
extensions/res.c \
extensions/screensaver.c \
extensions/shape.c \
extensions/shm.c \
extensions/sync.c \
extensions/xc_misc.c \
extensions/xevie.c \
extensions/xf86dri.c \
extensions/xfixes.c \
extensions/xprint.c \
extensions/xtest.c \
extensions/xv.c \
extensions/xvmc.c
EXTENSIONS = $(EXTSOURCES) $(EXTHEADERS)
ESSENTIAL_EXTENSIONS = \
extensions/bigreq.h \
extensions/bigreq.c \
extensions/xc_misc.h \
extensions/xc_misc.c
EXTENSION_XML = \
extensions/bigreq.xml \
extensions/composite.xml \
extensions/damage.xml \
extensions/dpms.xml \
extensions/glx.xml \
extensions/randr.xml \
extensions/record.xml \
extensions/render.xml \
extensions/res.xml \
extensions/screensaver.xml \
extensions/shape.xml \
extensions/shm.xml \
extensions/sync.xml \
extensions/xc_misc.xml \
extensions/xevie.xml \
extensions/xf86dri.xml \
extensions/xfixes.xml \
extensions/xprint.xml \
extensions/xtest.xml \
extensions/xvmc.xml \
extensions/xv.xml
COREHEADERS = xproto.h
CORESOURCES = xproto.c
COREPROTO = $(CORESOURCES) $(COREHEADERS)
xcbinclude_HEADERS = xcb.h xcbext.h xcbxlib.h $(COREHEADERS) $(EXTHEADERS)
noinst_HEADERS = xcbint.h
AM_CFLAGS = $(COPTFLAGS) $(CWARNFLAGS) $(CDEBUGFLAGS) $(XCBPROTO_CFLAGS) $(XPROTO_CFLAGS) $(XAU_CFLAGS) $(XDMCP_CFLAGS)
libXCB_la_LIBADD = $(XCBPROTO_LIBS) $(XPROTO_LIBS) $(XAU_LIBS) $(XDMCP_LIBS)
libXCB_la_SOURCES = \
xcb_conn.c xcb_out.c xcb_in.c xcb_ext.c xcb_xid.c \
xcb_list.c xcb_util.c xcb_xlib.c xcb_auth.c \
$(COREPROTO) $(ESSENTIAL_EXTENSIONS) c-client.xsl
# Explanation for -version-info:
# -version-info current:revision:age
# The library supports interface (current-age) to interface current.
# * If you changed the source code at all, increment revision.
# * If you add an interface, increment current and age and set revision to 0.
# * If you change or remove an interface, increment current and set revision
# and age to 0.
libXCB_la_LDFLAGS = -version-info 0:0:0
BUILT_SOURCES = $(COREPROTO) $(EXTENSIONS)
CLEANFILES = $(COREPROTO) $(EXTENSIONS)
XCB_LIBS = libXCB.la
# FIXME: find a way to autogenerate this from the XML files.
libXCBcomposite_la_LDFLAGS = -version-info 0:0:0
libXCBcomposite_la_LIBADD = $(XCB_LIBS)
libXCBcomposite_la_SOURCES = extensions/composite.c extensions/composite.h
libXCBdamage_la_LDFLAGS = -version-info 0:0:0
libXCBdamage_la_LIBADD = $(XCB_LIBS)
libXCBdamage_la_SOURCES = extensions/damage.c extensions/damage.h
libXCBdpms_la_LDFLAGS = -version-info 0:0:0
libXCBdpms_la_LIBADD = $(XCB_LIBS)
libXCBdpms_la_SOURCES = extensions/dpms.c extensions/dpms.h
libXCBglx_la_LDFLAGS = -version-info 0:0:0
libXCBglx_la_LIBADD = $(XCB_LIBS)
libXCBglx_la_SOURCES = extensions/glx.c extensions/glx.h
libXCBrandr_la_LDFLAGS = -version-info 0:0:0
libXCBrandr_la_LIBADD = $(XCB_LIBS)
libXCBrandr_la_SOURCES = extensions/randr.c extensions/randr.h
libXCBrecord_la_LDFLAGS = -version-info 0:0:0
libXCBrecord_la_LIBADD = $(XCB_LIBS)
libXCBrecord_la_SOURCES = extensions/record.c extensions/record.h
libXCBrender_la_LDFLAGS = -version-info 0:0:0
libXCBrender_la_LIBADD = $(XCB_LIBS)
libXCBrender_la_SOURCES = extensions/render.c extensions/render.h
libXCBres_la_LDFLAGS = -version-info 0:0:0
libXCBres_la_LIBADD = $(XCB_LIBS)
libXCBres_la_SOURCES = extensions/res.c extensions/res.h
libXCBscreensaver_la_LDFLAGS = -version-info 0:0:0
libXCBscreensaver_la_LIBADD = $(XCB_LIBS)
libXCBscreensaver_la_SOURCES = extensions/screensaver.c extensions/screensaver.h
libXCBshape_la_LDFLAGS = -version-info 0:0:0
libXCBshape_la_LIBADD = $(XCB_LIBS)
libXCBshape_la_SOURCES = extensions/shape.c extensions/shape.h
libXCBshm_la_LDFLAGS = -version-info 0:0:0
libXCBshm_la_LIBADD = $(XCB_LIBS)
libXCBshm_la_SOURCES = extensions/shm.c extensions/shm.h
libXCBsync_la_LDFLAGS = -version-info 0:0:0
libXCBsync_la_LIBADD = $(XCB_LIBS)
libXCBsync_la_SOURCES = extensions/sync.c extensions/sync.h
libXCBxevie_la_LDFLAGS = -version-info 0:0:0
libXCBxevie_la_LIBADD = $(XCB_LIBS)
libXCBxevie_la_SOURCES = extensions/xevie.c extensions/xevie.h
libXCBxf86dri_la_LDFLAGS = -version-info 0:0:0
libXCBxf86dri_la_LIBADD = $(XCB_LIBS)
libXCBxf86dri_la_SOURCES = extensions/xf86dri.c extensions/xf86dri.h
libXCBxfixes_la_LDFLAGS = -version-info 0:0:0
libXCBxfixes_la_LIBADD = $(XCB_LIBS)
libXCBxfixes_la_SOURCES = extensions/xfixes.c extensions/xfixes.h
libXCBxprint_la_LDFLAGS = -version-info 0:0:0
libXCBxprint_la_LIBADD = $(XCB_LIBS)
libXCBxprint_la_SOURCES = extensions/xprint.c extensions/xprint.h
libXCBxtest_la_LDFLAGS = -version-info 0:0:0
libXCBxtest_la_LIBADD = $(XCB_LIBS)
libXCBxtest_la_SOURCES = extensions/xtest.c extensions/xtest.h
libXCBxv_la_LDFLAGS = -version-info 0:0:0
libXCBxv_la_LIBADD = $(XCB_LIBS)
libXCBxv_la_SOURCES = extensions/xv.c extensions/xv.h
libXCBxvmc_la_LDFLAGS = -version-info 0:0:0
libXCBxvmc_la_LIBADD = $(XCB_LIBS)
libXCBxvmc_la_SOURCES = extensions/xvmc.c extensions/xvmc.h
$(EXTHEADERS) $(EXTSOURCES): c-client.xsl
SUFFIXES = .xml
.xml.h:
@n=`dirname $*`; test -d $$n || (echo mkdir $$n; mkdir $$n)
$(XSLTPROC) --stringparam mode header \
--stringparam base-path $(XCBPROTO_XCBINCLUDEDIR)/ \
--stringparam extension-path \
$(XCBPROTO_XCBINCLUDEDIR)/extensions/ \
-o $@ $(srcdir)/c-client.xsl $<
.xml.c:
@n=`dirname $*`; test -d $$n || (echo mkdir $$n; mkdir $$n)
$(XSLTPROC) --stringparam mode source \
--stringparam base-path $(XCBPROTO_XCBINCLUDEDIR)/ \
--stringparam extension-path \
$(XCBPROTO_XCBINCLUDEDIR)/extensions/ \
-o $@ $(srcdir)/c-client.xsl $<
xproto.xml: $(XCBPROTO_XCBINCLUDEDIR)/xproto.xml
$(LN_S) $< $@
$(EXTENSION_XML):
[ -d extensions ] || mkdir extensions
for i in $(EXTENSION_XML) ; do \
rm -f $$i ; \
$(LN_S) $(XCBPROTO_XCBINCLUDEDIR)/$$i $$i ; \
done
|