summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-04-18 16:30:08 -0400
committerEamon F Walsh <local@gamblor.(none)>2008-04-19 04:44:29 -0400
commit5ee915e12a102e86e141981bbce60ed81037dfdc (patch)
tree950c153d3da5bd59eb25d4dfd3268698d346232f /src/Makefile.am
parent947a2e26e4217531e612a5110e6f95296c94614f (diff)
Add Python parser C language-dependent part.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index ae7f511..49ae77c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -263,23 +263,15 @@ noinst_HEADERS = xcbint.h
BUILT_SOURCES = $(EXTSOURCES) $(EXTHEADERS)
CLEANFILES = $(EXTSOURCES) $(EXTHEADERS) $(EXTENSION_XML)
-$(EXTHEADERS) $(EXTSOURCES): c-client.xsl
+$(EXTHEADERS) $(EXTSOURCES): c_client.py
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)/ \
- -o $@ $(srcdir)/c-client.xsl $<
+ $(PYTHON) c_client.py $(XCBPROTO_XCBINCLUDEDIR)/$<
.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)/ \
- -o $@ $(srcdir)/c-client.xsl $<
+ $(PYTHON) c_client.py $(XCBPROTO_XCBINCLUDEDIR)/$<
$(EXTENSION_XML):
$(LN_S) -f $(XCBPROTO_XCBINCLUDEDIR)/$@ $@