Merge branch 'master' of ssh://git.samba.org/data/git/samba into regsrv
[kai/samba-autobuild/.git] / lib / talloc / Makefile.in
1 #!gmake
2 #
3 prefix = @prefix@
4 datarootdir = @datarootdir@
5 exec_prefix = @exec_prefix@
6 includedir = @includedir@
7 libdir = @libdir@
8 mandir = @mandir@
9 VPATH = @srcdir@:@libreplacedir@
10 srcdir = @srcdir@
11 builddir = @builddir@
12 sharedbuilddir = @sharedbuilddir@
13 XSLTPROC = @XSLTPROC@
14 INSTALLCMD = @INSTALL@
15 CC = @CC@
16 CFLAGS = @CFLAGS@ -DHAVE_CONFIG_H= -I. -I@srcdir@
17 EXTRA_TARGETS = @DOC_TARGET@
18 PICFLAG = @PICFLAG@
19 PACKAGE_VERSION = @PACKAGE_VERSION@
20 SHLIBEXT = @SHLIBEXT@
21 SHLD = @SHLD@
22 SHLD_FLAGS = @SHLD_FLAGS@
23 tallocdir = @tallocdir@
24
25 LIBOBJ = $(TALLOC_OBJ) @LIBREPLACEOBJ@
26
27 all:: showflags $(EXTRA_TARGETS)
28
29 include $(tallocdir)/rules.mk
30 include $(tallocdir)/talloc.mk
31
32 $(TALLOC_SOLIB): $(LIBOBJ)
33         $(SHLD) $(SHLD_FLAGS) -o $@ $(LIBOBJ) @SONAMEFLAG@$(TALLOC_SONAME)
34
35 shared-build: all
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
43
44 check: test
45
46 installcheck:: test install
47
48 distclean:: clean
49         rm -f Makefile
50         rm -f config.log config.status config.h config.cache
51
52 realdistclean:: distclean
53         rm -f configure config.h.in