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
TALLOC_VERSION = @TALLOC_VERSION@
20
TALLOC_VERSION_MAJOR = @TALLOC_VERSION_MAJOR@
21
TALLOC_VERSION_MINOR = @TALLOC_VERSION_MINOR@
22
TALLOC_VERSION_RELEASE = @TALLOC_VERSION_RELEASE@
25
SHLD_FLAGS = @SHLD_FLAGS@
26
tallocdir = @tallocdir@
28
LIBOBJ = $(TALLOC_OBJ) @LIBREPLACEOBJ@
30
SONAMEFLAG = @SONAMEFLAG@
31
VERSIONSCRIPT = @VERSIONSCRIPT@
32
EXPORTSFILE = @EXPORTSFILE@
34
all:: showflags $(EXTRA_TARGETS)
36
include $(tallocdir)/rules.mk
37
include $(tallocdir)/talloc.mk
41
$(TALLOC_SOLIB): $(LIBOBJ)
42
$(SHLD) $(SHLD_FLAGS) -o $@ $(LIBOBJ) $(VERSIONSCRIPT) $(EXPORTSFILE) $(SONAMEFLAG)$(TALLOC_SONAME)
45
${INSTALLCMD} -d $(sharedbuilddir)/lib
46
${INSTALLCMD} -m 644 libtalloc.a $(sharedbuilddir)/lib
47
${INSTALLCMD} -m 755 $(TALLOC_SOLIB) $(sharedbuilddir)/lib
48
ln -sf $(TALLOC_SOLIB) $(sharedbuilddir)/lib/$(TALLOC_SONAME)
49
ln -sf $(TALLOC_SOLIB) $(sharedbuilddir)/lib/libtalloc.so
50
${INSTALLCMD} -d $(sharedbuilddir)/include
51
${INSTALLCMD} -m 644 $(srcdir)/talloc.h $(sharedbuilddir)/include
55
installcheck:: test install
59
rm -f config.log config.status config.h config.cache
61
realdistclean:: distclean
62
rm -f configure config.h.in