4 datarootdir = @datarootdir@
5 exec_prefix = @exec_prefix@
6 includedir = @includedir@
9 VPATH = @srcdir@:@libreplacedir@
12 sharedbuilddir = @sharedbuilddir@
14 INSTALLCMD = @INSTALL@
16 CFLAGS = @CFLAGS@ -DHAVE_CONFIG_H= -I. -I@srcdir@
17 EXTRA_TARGETS = @DOC_TARGET@
19 PACKAGE_VERSION = @PACKAGE_VERSION@
22 SHLD_FLAGS = @SHLD_FLAGS@
23 tallocdir = @tallocdir@
25 LIBOBJ = $(TALLOC_OBJ) @LIBREPLACEOBJ@
27 all:: showflags $(EXTRA_TARGETS)
29 include $(tallocdir)/rules.mk
30 include $(tallocdir)/talloc.mk
32 $(TALLOC_SOLIB): $(LIBOBJ)
33 $(SHLD) $(SHLD_FLAGS) -o $@ $(LIBOBJ) @SONAMEFLAG@$(TALLOC_SONAME)
36 ${INSTALLCMD} -d $(sharedbuilddir)/lib
37 ${INSTALLCMD} -m 644 libtalloc.a $(sharedbuilddir)/lib
38 ${INSTALLCMD} -m 755 $(TALLOC_SOLIB) $(sharedbuilddir)/lib
39 ln -sf $(TALLOC_SOLIB) $(sharedbuilddir)/lib/$(TALLOC_SONAME)
40 ln -sf $(TALLOC_SOLIB) $(sharedbuilddir)/lib/libtalloc.so
41 ${INSTALLCMD} -d $(sharedbuilddir)/include
42 ${INSTALLCMD} -m 644 $(srcdir)/talloc.h $(sharedbuilddir)/include
46 installcheck:: test install
50 rm -f config.log config.status config.h config.cache
52 realdistclean:: distclean
53 rm -f configure config.h.in