s3:dbwrap_ctdb: add a function db_ctdb_ltdb_fetch()
[Samba/ekacnet.git] / lib / tevent / Makefile.in
blobf3deb9df454c7f06deef1643a56f58f88d159275
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 sharedbuilddir = @sharedbuilddir@
16 INSTALLCMD = @INSTALL@
17 CPPFLAGS = @CPPFLAGS@ -I$(srcdir)/include -Iinclude -I.
18 LDFLAGS = @LDFLAGS@
19 EXEEXT = @EXEEXT@
20 SHLD = @SHLD@
21 SHLD_FLAGS = @SHLD_FLAGS@
22 PACKAGE_VERSION = @PACKAGE_VERSION@
23 PICFLAG = @PICFLAG@
24 SHLIBEXT = @SHLIBEXT@
25 LIB_PATH_VAR = @LIB_PATH_VAR@
26 teventdir = @teventdir@
28 TALLOC_CFLAGS = @TALLOC_CFLAGS@
29 TALLOC_LDFLAGS = @TALLOC_CFLAGS@
30 TALLOC_LIBS = @TALLOC_LIBS@
32 TEVENT_CFLAGS = @TEVENT_CFLAGS@
33 TEVENT_LDFLAGS = @TEVENT_CFLAGS@
34 TEVENT_LIBS = @TEVENT_LIBS@
36 CFLAGS = $(CPPFLAGS) $(TALLOC_CFLAGS) $(TEVENT_CFLAGS) @CFLAGS@
37 LDFLAGS = $(TALLOC_LDFLAGS) $(TEVENT_LDFLAGS) @LDFLAGS@
38 LIBS = $(TALLOC_LIBS) $(TEVENT_LIBS) @LIBS@
40 TEVENT_OBJ = @TEVENT_OBJ@ @LIBREPLACEOBJ@
42 SONAMEFLAG = @SONAMEFLAG@
43 VERSIONSCRIPT = @VERSIONSCRIPT@
44 EXPORTSFILE = @EXPORTSFILE@
46 default: all
48 include $(teventdir)/tevent.mk
49 include $(teventdir)/rules.mk
51 all:: showflags dirs $(PROGS) $(TEVENT_SOLIB) libtevent.a
53 install:: all
54 $(TEVENT_SOLIB): $(TEVENT_OBJ)
55 $(SHLD) $(SHLD_FLAGS) $(LDFLAGS) $(LIBS) -o $@ $(TEVENT_OBJ) $(VERSIONSCRIPT) $(EXPORTSFILE) $(SONAMEFLAG)$(TEVENT_SONAME)
57 shared-build: all
58 ${INSTALLCMD} -d $(sharedbuilddir)/lib
59 ${INSTALLCMD} -m 644 libtevent.a $(sharedbuilddir)/lib
60 ${INSTALLCMD} -m 755 $(TEVENT_SOLIB) $(sharedbuilddir)/lib
61 ln -sf $(TEVENT_SOLIB) $(sharedbuilddir)/lib/$(TEVENT_SONAME)
62 ln -sf $(TEVENT_SOLIB) $(sharedbuilddir)/lib/libtevent.so
63 ${INSTALLCMD} -d $(sharedbuilddir)/include
64 ${INSTALLCMD} -m 644 $(srcdir)/tevent.h $(sharedbuilddir)/include
66 check: test
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 config.h config.cache
76 rm -f Makefile
78 realdistclean:: distclean
79 rm -f configure config.h.in