1 TALLOC_OBJ
= $(tallocdir
)/talloc.o
3 TALLOC_SOLIB
= libtalloc.
$(SHLIBEXT
).
$(PACKAGE_VERSION
)
4 TALLOC_SONAME
= libtalloc.
$(SHLIBEXT
).1
5 TALLOC_STLIB
= libtalloc.a
7 all:: $(TALLOC_STLIB
) $(TALLOC_SOLIB
) testsuite
9 testsuite
:: $(LIBOBJ
) testsuite.o testsuite_main.o
10 $(CC
) $(CFLAGS
) -o testsuite testsuite.o testsuite_main.o
$(LIBOBJ
) $(LIBS
)
12 $(TALLOC_STLIB
): $(LIBOBJ
)
17 ${INSTALLCMD} -d
$(DESTDIR
)$(libdir)
18 ${INSTALLCMD} -d
$(DESTDIR
)$(libdir)/pkgconfig
19 ${INSTALLCMD} -m
755 $(TALLOC_STLIB
) $(DESTDIR
)$(libdir)
20 ${INSTALLCMD} -m
755 $(TALLOC_SOLIB
) $(DESTDIR
)$(libdir)
21 ${INSTALLCMD} -d
$(DESTDIR
)${includedir}
22 ${INSTALLCMD} -m
644 $(srcdir)/talloc.h
$(DESTDIR
)$(includedir)
23 ${INSTALLCMD} -m
644 talloc.
pc $(DESTDIR
)$(libdir)/pkgconfig
24 if
[ -f talloc
.3 ];then
${INSTALLCMD} -d
$(DESTDIR
)$(mandir)/man3
; fi
25 if
[ -f talloc
.3 ];then
${INSTALLCMD} -m
644 talloc
.3 $(DESTDIR
)$(mandir)/man3
; fi
26 which swig
>/dev
/null
2>&1 && ${INSTALLCMD} -d
$(DESTDIR
)`swig -swiglib` || true
27 which swig
>/dev
/null
2>&1 && ${INSTALLCMD} -m
644 talloc.i
$(DESTDIR
)`swig -swiglib` || true
29 doc
:: talloc
.3 talloc
.3.html
32 rm -f
*~
$(LIBOBJ
) $(TALLOC_SOLIB
) $(TALLOC_STLIB
) testsuite testsuite.o testsuite_main.o
*.gc?? talloc
.3 talloc
.3.html