summaryrefslogtreecommitdiff
path: root/source3/lib/talloc/rules.mk
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-02-12 17:56:02 -0800
committerJeremy Allison <jra@samba.org>2008-02-12 17:56:02 -0800
commit089227e52012f307c311530f9b677cad81ef0105 (patch)
tree2c7123aa33e2c886031308889ec96453fb7ce55d /source3/lib/talloc/rules.mk
parenta6997bb2ffbca8f38d40f2631066c23b0472e13c (diff)
parentfbe8014b650d1b104d1a7624669fa92fbc6605b8 (diff)
downloadsamba-089227e52012f307c311530f9b677cad81ef0105.tar.gz
samba-089227e52012f307c311530f9b677cad81ef0105.tar.bz2
samba-089227e52012f307c311530f9b677cad81ef0105.zip
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
(This used to be commit 5116c9d9f4bd1a523ac7a2a31b3b1552388f040f)
Diffstat (limited to 'source3/lib/talloc/rules.mk')
-rw-r--r--source3/lib/talloc/rules.mk18
1 files changed, 18 insertions, 0 deletions
diff --git a/source3/lib/talloc/rules.mk b/source3/lib/talloc/rules.mk
new file mode 100644
index 0000000000..6cee126529
--- /dev/null
+++ b/source3/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 *~ */*~