f900469afae876cf5fc2a7227b726171d5a02389
[samba.git] / source4 / lib / 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_CONFIG = @PYTHON_CONFIG@
26 PYTHON_BUILD_TARGET = @PYTHON_BUILD_TARGET@
27 PYTHON_INSTALL_TARGET = @PYTHON_INSTALL_TARGET@
28 PYTHON_CHECK_TARGET = @PYTHON_CHECK_TARGET@
29 LIB_PATH_VAR = @LIB_PATH_VAR@
30 tdbdir = @tdbdir@
31
32 TDB_OBJ = @TDB_OBJ@ @LIBREPLACEOBJ@
33
34 all:: showflags dirs $(PROGS) $(SOLIB) libtdb.a $(PYTHON_BUILD_TARGET)
35
36 include $(tdbdir)/tdb.mk
37 include $(tdbdir)/rules.mk
38
39 install:: all
40 $(SOLIB): $(TDB_OBJ)
41         $(SHLD) $(SHLD_FLAGS) -o $@ $(TDB_OBJ) @SONAMEFLAG@$(SONAME)
42
43 check: test
44
45 test:: $(PYTHON_CHECK_TARGET)
46 installcheck:: test install
47
48 clean::
49         rm -f *.o *.a */*.o
50
51 distclean:: clean
52         rm -f config.log config.status include/config.h config.cache
53         rm -f Makefile
54
55 realdistclean:: distclean
56         rm -f configure include/config.h.in