2 datarootdir = @datarootdir@
3 exec_prefix = @exec_prefix@
4 includedir = @includedir@
10 CFLAGS = @CFLAGS@ -DHAVE_CONFIG_H=
11 EXTRA_TARGETS = @DOC_TARGET@
13 .SUFFIXES: .c .o .3 .3.xml .xml .html
17 all: libtalloc.a testsuite $(EXTRA_TARGETS)
19 testsuite: $(LIBOBJ) testsuite.o
20 $(CC) $(CFLAGS) -o testsuite testsuite.o $(LIBOBJ) $(LIBS)
22 libtalloc.a: libtalloc.a($(LIBOBJ))
25 ${INSTALLCMD} -d ${libdir}
26 ${INSTALLCMD} -m 755 libtalloc.a $(libdir)
27 ${INSTALLCMD} -d ${includedir}
28 ${INSTALLCMD} -m 644 talloc.h $(includedir)
29 ${INSTALLCMD} -m 644 talloc.pc $(libdir)/pkgconfig
30 ${INSTALLCMD} -d ${mandir}/man3
31 test -z "$(XSLTPROC)" || ${INSTALLCMD} -m 644 talloc.3 $(mandir)/man3
36 test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
39 test -z "$(XSLTPROC)" || $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
42 rm -f *~ *.o testsuite *.gc??