summaryrefslogtreecommitdiff
path: root/lib/talloc/rules.mk
blob: 00c909ee2bad9d2d52313824ff0af4c05c5c4cf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.SUFFIXES: .c .o .3 .3.xml .xml .html

showflags::
	@echo 'talloc will be compiled with flags:'
	@echo '  CFLAGS = $(CFLAGS)'
	@echo '  LIBS = $(LIBS)'

.c.o:
	$(CC) $(PICFLAG) $(ABI_CHECK) -o $@ -c $< $(CFLAGS)

.3.xml.3:
	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

.xml.html:
	-test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<

distclean::
	rm -f *~ */*~