1 lib_LTLIBRARIES = libXCB.la
5 extensions/composite.h \
16 extensions/xc_misc.h \
18 extensions/xf86dri.h \
25 extensions/composite.c \
36 extensions/xc_misc.c \
38 extensions/xf86dri.c \
43 EXTENSIONS = $(EXTSOURCES) $(EXTHEADERS)
45 COREHEADERS = xproto.h xcb_types.h
46 CORESOURCES = xproto.c xcb_types.c
47 COREPROTO = $(CORESOURCES) $(COREHEADERS)
49 xcbinclude_HEADERS = xcb.h xcbext.h xcbxlib.h $(COREHEADERS) $(EXTHEADERS)
52 AM_CFLAGS = -include config.h $(CDEBUGFLAGS) $(XCBPROTO_CFLAGS) $(XPROTO_CFLAGS) $(XAU_CFLAGS)
53 libXCB_la_LIBADD = $(XCBPROTO_LIBS) $(XPROTO_LIBS) $(XAU_LIBS)
55 xcb_conn.c xcb_out.c xcb_in.c xcb_ext.c xcb_xid.c \
56 xcb_list.c xcb_util.c xcb_xlib.c xcb_auth.c xcb_des.c \
57 $(COREPROTO) $(EXTENSIONS)
62 BUILT_SOURCES = $(COREPROTO) $(EXTENSIONS)
63 CLEANFILES = $(COREPROTO) $(EXTENSIONS)
65 rmdir extensions || true
67 vpath %.xml $(XCBPROTO_XCBINCLUDEDIR) $(XCBPROTO_XCBINCLUDEDIR)/extensions
69 %.h: %.xml c-client.xsl
70 @n=`dirname $*`; test -d $$n || (echo mkdir $$n; mkdir $$n)
71 $(XSLTPROC) --stringparam mode header \
72 --stringparam base-path $(XCBPROTO_XCBINCLUDEDIR)/ \
73 --stringparam extension-path \
74 $(XCBPROTO_XCBINCLUDEDIR)/extensions/ \
75 -o $@ $(srcdir)/c-client.xsl $<
77 %.c: %.xml c-client.xsl
78 @n=`dirname $*`; test -d $$n || (echo mkdir $$n; mkdir $$n)
79 $(XSLTPROC) --stringparam mode source \
80 --stringparam base-path $(XCBPROTO_XCBINCLUDEDIR)/ \
81 --stringparam extension-path \
82 $(XCBPROTO_XCBINCLUDEDIR)/extensions/ \
83 -o $@ $(srcdir)/c-client.xsl $<