Fix coverity #901 - uninitialized data.
[Samba.git] / lib / tevent / Makefile.in
blobd188e6b38d54c54e493ee9b42a310a230c49438d
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 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 teventdir = @teventdir@
33 TALLOC_CFLAGS = @TALLOC_CFLAGS@
34 TALLOC_LDFLAGS = @TALLOC_CFLAGS@
35 TALLOC_LIBS = @TALLOC_LIBS@
37 TEVENT_CFLAGS = @TEVENT_CFLAGS@
38 TEVENT_LDFLAGS = @TEVENT_CFLAGS@
39 TEVENT_LIBS = @TEVENT_LIBS@
41 CFLAGS = $(CPPFLAGS) $(TALLOC_CFLAGS) $(TEVENT_CFLAGS) @CFLAGS@
42 LDFLAGS = $(TALLOC_LDFLAGS) $(TEVENT_LDFLAGS) @LDFLAGS@
43 LIBS = $(TALLOC_LIBS) $(TEVENT_LIBS) @LIBS@
45 TEVENT_OBJ = @TEVENT_OBJ@ @LIBREPLACEOBJ@
47 default: all
49 include $(teventdir)/tevent.mk
50 include $(teventdir)/rules.mk
52 all:: showflags dirs $(PROGS) $(TEVENT_SOLIB) libtevent.a $(PYTHON_BUILD_TARGET)
54 install:: all
55 $(TEVENT_SOLIB): $(TEVENT_OBJ)
56 $(SHLD) $(SHLD_FLAGS) $(LDFLAGS) $(LIBS) -o $@ $(TEVENT_OBJ) @SONAMEFLAG@$(TEVENT_SONAME)
58 shared-build: all
59 ${INSTALLCMD} -d $(sharedbuilddir)/lib
60 ${INSTALLCMD} -m 644 libtevent.a $(sharedbuilddir)/lib
61 ${INSTALLCMD} -m 755 $(TEVENT_SOLIB) $(sharedbuilddir)/lib
62 ln -sf $(TEVENT_SOLIB) $(sharedbuilddir)/lib/$(TEVENT_SONAME)
63 ln -sf $(TEVENT_SOLIB) $(sharedbuilddir)/lib/libtevent.so
64 ${INSTALLCMD} -d $(sharedbuilddir)/include
65 ${INSTALLCMD} -m 644 $(srcdir)/tevent.h $(sharedbuilddir)/include
67 check: test
69 test:: $(PYTHON_CHECK_TARGET)
70 installcheck:: test install
72 clean::
73 rm -f *.o *.a */*.o
75 distclean:: clean
76 rm -f config.log config.status config.h config.cache
77 rm -f Makefile
79 realdistclean:: distclean
80 rm -f configure config.h.in