aboutsummaryrefslogtreecommitdiff
path: root/libxcb/src/makefile.srcs
blob: 37dd181b8f1c2d1830b7860fbef810644edb25b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
ifneq ($(NORELDBG),1)
$(error NORELDBG should have been set to 1)
endif

PACKAGE_STRING=libxcb
XORG_MAN_PAGE=libxcb
LIB_MAN_SUFFIX=xcb

XCBPROTO_XCBPYTHONDIR = ../xcb-proto
XCBPROTO_XCBINCLUDEDIR = ../xcb-proto/src

%.h: $(XCBPROTO_XCBINCLUDEDIR)\%.xml
	python c_client.py -c "$(PACKAGE_STRING)" -l "$(XORG_MAN_PAGE)" \
		-s "$(LIB_MAN_SUFFIX)" -p $(XCBPROTO_XCBPYTHONDIR) $(subst $/,/,$<)

%.c: $(XCBPROTO_XCBINCLUDEDIR)\%.xml
	python c_client.py -c "$(PACKAGE_STRING)" -l "$(XORG_MAN_PAGE)" \
		-s "$(LIB_MAN_SUFFIX)" -p $(XCBPROTO_XCBPYTHONDIR) $(subst $/,/,$<)

CLEANRULEPOSTFIX=noobjs