Merge branch 'singlecompression' into single
[kai/samba-autobuild/.git] / tdb / Makefile.in
1 #!gmake
2 #
3 # Makefile for tdb directory
4 #
5
6 CC = @CC@
7 prefix = @prefix@
8 exec_prefix = @exec_prefix@
9 bindir = @bindir@
10 includedir = @includedir@
11 libdir = @libdir@
12 VPATH = @srcdir@:@libreplacedir@
13 srcdir = @srcdir@
14 builddir = @builddir@
15 CPPFLAGS = @CPPFLAGS@ -I$(srcdir)/include -Iinclude 
16 CFLAGS = $(CPPFLAGS) @CFLAGS@
17 LDFLAGS = @LDFLAGS@
18 EXEEXT = @EXEEXT@
19 SHLD = @SHLD@
20 SHLD_FLAGS = @SHLD_FLAGS@
21 PACKAGE_VERSION = @PACKAGE_VERSION@
22 PICFLAG = @PICFLAG@
23 SHLIBEXT = @SHLIBEXT@
24 SWIG = swig
25 PYTHON = @PYTHON@
26 PYTHON_CONFIG = @PYTHON_CONFIG@
27 PYTHON_BUILD_TARGET = @PYTHON_BUILD_TARGET@
28 PYTHON_INSTALL_TARGET = @PYTHON_INSTALL_TARGET@
29 PYTHON_CHECK_TARGET = @PYTHON_CHECK_TARGET@
30 LIB_PATH_VAR = @LIB_PATH_VAR@
31 tdbdir = @tdbdir@
32
33 TDB_OBJ = @TDB_OBJ@ @LIBREPLACEOBJ@
34
35 default: all
36
37 include $(tdbdir)/tdb.mk
38 include $(tdbdir)/rules.mk
39
40 all:: showflags dirs $(PROGS) $(TDB_SOLIB) libtdb.a $(PYTHON_BUILD_TARGET)
41
42 install:: all
43 $(TDB_SOLIB): $(TDB_OBJ)
44         $(SHLD) $(SHLD_FLAGS) -o $@ $(TDB_OBJ) @SONAMEFLAG@$(TDB_SONAME)
45
46 check: test
47
48 test:: $(PYTHON_CHECK_TARGET)
49 installcheck:: test install
50
51 clean::
52         rm -f *.o *.a */*.o
53
54 distclean:: clean
55         rm -f config.log config.status include/config.h config.cache
56         rm -f Makefile
57
58 realdistclean:: distclean
59         rm -f configure include/config.h.in