tevent/python: Makefile was still trying to build some non AC_SUBST python targets
[ira/wip.git] / lib / tevent / 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 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@
27
28 TALLOC_CFLAGS = @TALLOC_CFLAGS@
29 TALLOC_LDFLAGS = @TALLOC_CFLAGS@
30 TALLOC_LIBS = @TALLOC_LIBS@
31
32 TEVENT_CFLAGS = @TEVENT_CFLAGS@
33 TEVENT_LDFLAGS = @TEVENT_CFLAGS@
34 TEVENT_LIBS = @TEVENT_LIBS@
35
36 CFLAGS = $(CPPFLAGS) $(TALLOC_CFLAGS) $(TEVENT_CFLAGS) @CFLAGS@
37 LDFLAGS = $(TALLOC_LDFLAGS) $(TEVENT_LDFLAGS) @LDFLAGS@
38 LIBS = $(TALLOC_LIBS) $(TEVENT_LIBS) @LIBS@
39
40 TEVENT_OBJ = @TEVENT_OBJ@ @LIBREPLACEOBJ@
41
42 default: all
43
44 include $(teventdir)/tevent.mk
45 include $(teventdir)/rules.mk
46
47 all:: showflags dirs $(PROGS) $(TEVENT_SOLIB) libtevent.a
48
49 install:: all
50 $(TEVENT_SOLIB): $(TEVENT_OBJ)
51         $(SHLD) $(SHLD_FLAGS) $(LDFLAGS) $(LIBS) -o $@ $(TEVENT_OBJ) @SONAMEFLAG@$(TEVENT_SONAME)
52
53 shared-build: all
54         ${INSTALLCMD} -d $(sharedbuilddir)/lib
55         ${INSTALLCMD} -m 644 libtevent.a $(sharedbuilddir)/lib
56         ${INSTALLCMD} -m 755 $(TEVENT_SOLIB) $(sharedbuilddir)/lib
57         ln -sf $(TEVENT_SOLIB) $(sharedbuilddir)/lib/$(TEVENT_SONAME)
58         ln -sf $(TEVENT_SOLIB) $(sharedbuilddir)/lib/libtevent.so
59         ${INSTALLCMD} -d $(sharedbuilddir)/include
60         ${INSTALLCMD} -m 644 $(srcdir)/tevent.h $(sharedbuilddir)/include
61
62 check: test
63
64 installcheck:: test install
65
66 clean::
67         rm -f *.o *.a */*.o
68
69 distclean:: clean
70         rm -f config.log config.status config.h config.cache
71         rm -f Makefile
72
73 realdistclean:: distclean
74         rm -f configure config.h.in