1 #OPT = -g -ftest-coverage -fprofile-arcs
5 exec_prefix = @exec_prefix@
6 includedir = @includedir@
16 all: libtalloc.a testsuite
18 testsuite: $(LIBOBJ) testsuite.o
19 $(CC) $(CFLAGS) -o testsuite testsuite.o $(LIBOBJ) $(LIBS)
21 libtalloc.a: libtalloc.a($(LIBOBJ))
24 ${INSTALLCMD} -d ${libdir}
25 ${INSTALLCMD} -m 755 libtalloc.a $(libdir)
26 ${INSTALLCMD} -d ${includedir}
27 ${INSTALLCMD} -m 644 talloc.h $(includedir)
28 ${INSTALLCMD} -m 644 talloc.pc $(libdir)/pkgconfig
29 ${INSTALLCMD} -d ${mandir}/man3
30 ${INSTALLCMD} -m 644 talloc.3 $(mandir)/man3
35 $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
38 $(XSLTPROC) -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl $<
41 rm -f *~ *.o testsuite *.gc??