diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-02-11 22:05:52 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-02-13 01:40:11 +0100 |
commit | ff0065672e99c4693d2b3e1dcce969fd4852e609 (patch) | |
tree | f1e91a4040ed4c7a98ba226bc0c5320d736d1de2 /source3/lib/talloc/rules.mk | |
parent | 38b92adebcbd30975dcc9977822ff305f324ef2d (diff) | |
download | samba-ff0065672e99c4693d2b3e1dcce969fd4852e609.tar.gz samba-ff0065672e99c4693d2b3e1dcce969fd4852e609.tar.bz2 samba-ff0065672e99c4693d2b3e1dcce969fd4852e609.zip |
Split rules.mk out of Makefile.
(cherry picked from commit 75ffc2c50d70e6f4108c3e6843c8d2bb212f6d9e)
(This used to be commit 6f8165e4b064f37335e2b0b185ae6433c06a061a)
Diffstat (limited to 'source3/lib/talloc/rules.mk')
-rw-r--r-- | source3/lib/talloc/rules.mk | 18 |
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 *~ */*~ |