3 # Makefile for tdb directory
8 exec_prefix = @
exec_prefix@
10 includedir = @
includedir@
12 VPATH
= @
srcdir@
:@libreplacedir@
15 sharedbuilddir
= @sharedbuilddir@
16 INSTALLCMD
= @INSTALL@
17 CPPFLAGS
= @CPPFLAGS@
-I
$(srcdir)/include -Iinclude
-I.
21 SHLD_FLAGS
= @SHLD_FLAGS@
22 PACKAGE_VERSION
= @PACKAGE_VERSION@
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@
48 include $(teventdir
)/tevent.mk
49 include $(teventdir
)/rules.mk
51 all:: showflags dirs
$(PROGS
) $(TEVENT_SOLIB
) libtevent.a
54 $(TEVENT_SOLIB
): $(TEVENT_OBJ
)
55 $(SHLD
) $(SHLD_FLAGS
) $(LDFLAGS
) $(LIBS
) -o
$@
$(TEVENT_OBJ
) $(VERSIONSCRIPT
) $(EXPORTSFILE
) $(SONAMEFLAG
)$(TEVENT_SONAME
)
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
68 installcheck:: test install
75 rm -f config.log config.status config.h config.cache
78 realdistclean
:: distclean
79 rm -f configure config.h.in