Two useful "regshell" improvements
[Samba.git] / source4 / lib / tdb / Makefile.in
blob090bb6e2dcfefe8e0fd5d7821f64d62e783fcbcd
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 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@
33 TDB_OBJ = @TDB_OBJ@ @LIBREPLACEOBJ@
35 default: all
37 include $(tdbdir)/tdb.mk
38 include $(tdbdir)/rules.mk
40 all:: showflags dirs $(PROGS) $(TDB_SOLIB) libtdb.a $(PYTHON_BUILD_TARGET)
42 install:: all
43 $(TDB_SOLIB): $(TDB_OBJ)
44 $(SHLD) $(SHLD_FLAGS) -o $@ $(TDB_OBJ) @SONAMEFLAG@$(TDB_SONAME)
46 check: test
48 test:: $(PYTHON_CHECK_TARGET)
49 installcheck:: test install
51 clean::
52 rm -f *.o *.a */*.o
54 distclean:: clean
55 rm -f config.log config.status include/config.h config.cache
56 rm -f Makefile
58 realdistclean:: distclean
59 rm -f configure include/config.h.in