libwbclient: Remove some pointless BAIL_ON_WBC_ERROR macro calls
[Samba/ekacnet.git] / lib / tdb / Makefile.in
blobdc22ee3fea0138fd482388b9e6cea26a821e3b5c
1 #!gmake
3 # Makefile for tdb directory
6 CC = @CC@
7 prefix = @prefix@
8 exec_prefix = @exec_prefix@
9 bindir = @bindir@
10 includedir = @includedir@
11 libdir = @libdir@
12 mandir = @mandir@
13 VPATH = @srcdir@:@libreplacedir@
14 srcdir = @srcdir@
15 builddir = @builddir@
16 sharedbuilddir = @sharedbuilddir@
17 INSTALLCMD = @INSTALL@
18 CPPFLAGS = @CPPFLAGS@ -I$(srcdir)/include -Iinclude
19 CFLAGS = $(CPPFLAGS) @CFLAGS@
20 LDFLAGS = @LDFLAGS@
21 EXEEXT = @EXEEXT@
22 SHLD = @SHLD@
23 SHLD_FLAGS = @SHLD_FLAGS@
24 PACKAGE_VERSION = @PACKAGE_VERSION@
25 PICFLAG = @PICFLAG@
26 SHLIBEXT = @SHLIBEXT@
27 PYTHON = @PYTHON@
28 PYTHON_CONFIG = @PYTHON_CONFIG@
29 PYTHON_BUILD_TARGET = @PYTHON_BUILD_TARGET@
30 PYTHON_INSTALL_TARGET = @PYTHON_INSTALL_TARGET@
31 PYTHON_CHECK_TARGET = @PYTHON_CHECK_TARGET@
32 LIB_PATH_VAR = @LIB_PATH_VAR@
33 tdbdir = @tdbdir@
35 EXTRA_TARGETS = @DOC_TARGET@
37 TDB_OBJ = @TDB_OBJ@ @LIBREPLACEOBJ@
39 SONAMEFLAG = @SONAMEFLAG@
40 VERSIONSCRIPT = @VERSIONSCRIPT@
41 EXPORTSFILE = @EXPORTSFILE@
43 XSLTPROC = @XSLTPROC@
45 default: all
47 include $(tdbdir)/tdb.mk
48 include $(tdbdir)/rules.mk
50 all:: showflags dirs $(PROGS) $(TDB_SOLIB) libtdb.a $(PYTHON_BUILD_TARGET) $(EXTRA_TARGETS)
52 install:: all
53 $(TDB_SOLIB): $(TDB_OBJ)
54 $(SHLD) $(SHLD_FLAGS) -o $@ $(TDB_OBJ) $(VERSIONSCRIPT) $(EXPORTSFILE) $(SONAMEFLAG)$(TDB_SONAME)
56 shared-build: all
57 ${INSTALLCMD} -d $(sharedbuilddir)/lib
58 ${INSTALLCMD} -m 644 libtdb.a $(sharedbuilddir)/lib
59 ${INSTALLCMD} -m 755 $(TDB_SOLIB) $(sharedbuilddir)/lib
60 ln -sf $(TDB_SOLIB) $(sharedbuilddir)/lib/$(TDB_SONAME)
61 ln -sf $(TDB_SOLIB) $(sharedbuilddir)/lib/libtdb.so
62 ${INSTALLCMD} -d $(sharedbuilddir)/include
63 ${INSTALLCMD} -m 644 $(srcdir)/include/tdb.h $(sharedbuilddir)/include
65 check: test
67 test:: $(PYTHON_CHECK_TARGET)
68 installcheck:: test install
70 clean::
71 rm -f *.o *.a */*.o
72 rm -fr abi
74 distclean:: clean
75 rm -f config.log config.status include/config.h config.cache
76 rm -f Makefile
78 realdistclean:: distclean
79 rm -f configure include/config.h.in