summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2006-02-18 16:49:41 -0800
committerJosh Triplett <josh@josh-mobile.localdomain>2006-02-18 16:49:41 -0800
commit47ceed78612d48dcda62cc2686fc527d61abe38b (patch)
tree06f7f11c92006537925c09440c6b6f9178d2dd4c /src/Makefile.am
Remove xcl and CVSROOT.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am83
1 files changed, 83 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..8d43475
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,83 @@
+lib_LTLIBRARIES = libXCB.la
+
+EXTHEADERS = \
+ extensions/bigreq.h \
+ extensions/composite.h \
+ extensions/damage.h \
+ extensions/glx.h \
+ extensions/shm.h \
+ extensions/shape.h \
+ extensions/randr.h \
+ extensions/record.h \
+ extensions/render.h \
+ extensions/res.h \
+ extensions/dpms.h \
+ extensions/sync.h \
+ extensions/xc_misc.h \
+ extensions/xevie.h \
+ extensions/xf86dri.h \
+ extensions/xfixes.h \
+ extensions/xprint.h \
+ extensions/xv.h \
+ extensions/xvmc.h
+EXTSOURCES = \
+ extensions/bigreq.c \
+ extensions/composite.c \
+ extensions/damage.c \
+ extensions/glx.c \
+ extensions/shm.c \
+ extensions/shape.c \
+ extensions/randr.c \
+ extensions/record.c \
+ extensions/render.c \
+ extensions/res.c \
+ extensions/dpms.c \
+ extensions/sync.c \
+ extensions/xc_misc.c \
+ extensions/xevie.c \
+ extensions/xf86dri.c \
+ extensions/xfixes.c \
+ extensions/xprint.c \
+ extensions/xv.c \
+ extensions/xvmc.c
+EXTENSIONS = $(EXTSOURCES) $(EXTHEADERS)
+
+COREHEADERS = xproto.h xcb_types.h
+CORESOURCES = xproto.c xcb_types.c
+COREPROTO = $(CORESOURCES) $(COREHEADERS)
+
+xcbinclude_HEADERS = xcb.h xcbext.h xcbxlib.h $(COREHEADERS) $(EXTHEADERS)
+
+CFLAGS =
+AM_CFLAGS = -include config.h $(CDEBUGFLAGS) $(XCBPROTO_CFLAGS) $(XPROTO_CFLAGS) $(XAU_CFLAGS)
+libXCB_la_LIBADD = $(XCBPROTO_LIBS) $(XPROTO_LIBS) $(XAU_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 xcb_des.c \
+ $(COREPROTO) $(EXTENSIONS)
+
+xcb_des.c:
+ touch xcb_des.c
+
+BUILT_SOURCES = $(COREPROTO) $(EXTENSIONS)
+CLEANFILES = $(COREPROTO) $(EXTENSIONS)
+clean-local:
+ rmdir extensions || true
+
+vpath %.xml $(XCBPROTO_XCBINCLUDEDIR) $(XCBPROTO_XCBINCLUDEDIR)/extensions
+
+%.h: %.xml c-client.xsl
+ @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 $<
+
+%.c: %.xml c-client.xsl
+ @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 $<