summaryrefslogtreecommitdiff
path: root/lib/talloc/rules.mk
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-17 14:11:12 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-17 14:11:12 +0200
commit94855cd69248f0f90b6c828588afa012adc8bd45 (patch)
tree6a164679824d29f5e825d78720cc905c8982d8be /lib/talloc/rules.mk
parent323346f7b01314bdec418d585fae236f736068fa (diff)
downloadsamba-94855cd69248f0f90b6c828588afa012adc8bd45.tar.gz
samba-94855cd69248f0f90b6c828588afa012adc8bd45.tar.bz2
samba-94855cd69248f0f90b6c828588afa012adc8bd45.zip
Move common libraries from root to lib/.
Diffstat (limited to 'lib/talloc/rules.mk')
-rw-r--r--lib/talloc/rules.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/talloc/rules.mk b/lib/talloc/rules.mk
new file mode 100644
index 0000000000..6cee126529
--- /dev/null
+++ b/lib/talloc/rules.mk
@@ -0,0 +1,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) -o $@ -c $< $(CFLAGS)
+
+.3.xml.3:
+ -test -z "$(XSLTPROC)" || $(XSLTPROC) --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+
+.xml.html:
+ -test -z "$(XSLTPROC)" || $(XSLTPROC) --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
+
+distclean::
+ rm -f *~ */*~