source: branches/samba-3.5.x/lib/tevent/Makefile.in@ 1036

Last change on this file since 1036 was 414, checked in by Herwig Bauernfeind, 15 years ago

Samba 3.5.0: Initial import

File size: 1.9 KB
Line 
1#!gmake
2#
3# Makefile for tdb directory
4#
5
6CC = @CC@
7prefix = @prefix@
8exec_prefix = @exec_prefix@
9bindir = @bindir@
10includedir = @includedir@
11libdir = @libdir@
12VPATH = @srcdir@:@libreplacedir@
13srcdir = @srcdir@
14builddir = @builddir@
15sharedbuilddir = @sharedbuilddir@
16INSTALLCMD = @INSTALL@
17CPPFLAGS = @CPPFLAGS@ -I$(srcdir)/include -Iinclude -I.
18LDFLAGS = @LDFLAGS@
19EXEEXT = @EXEEXT@
20SHLD = @SHLD@
21SHLD_FLAGS = @SHLD_FLAGS@
22PACKAGE_VERSION = @PACKAGE_VERSION@
23PICFLAG = @PICFLAG@
24SHLIBEXT = @SHLIBEXT@
25LIB_PATH_VAR = @LIB_PATH_VAR@
26teventdir = @teventdir@
27
28TALLOC_CFLAGS = @TALLOC_CFLAGS@
29TALLOC_LDFLAGS = @TALLOC_CFLAGS@
30TALLOC_LIBS = @TALLOC_LIBS@
31
32TEVENT_CFLAGS = @TEVENT_CFLAGS@
33TEVENT_LDFLAGS = @TEVENT_CFLAGS@
34TEVENT_LIBS = @TEVENT_LIBS@
35
36CFLAGS = $(CPPFLAGS) $(TALLOC_CFLAGS) $(TEVENT_CFLAGS) @CFLAGS@
37LDFLAGS = $(TALLOC_LDFLAGS) $(TEVENT_LDFLAGS) @LDFLAGS@
38LIBS = $(TALLOC_LIBS) $(TEVENT_LIBS) @LIBS@
39
40TEVENT_OBJ = @TEVENT_OBJ@ @LIBREPLACEOBJ@
41
42SONAMEFLAG = @SONAMEFLAG@
43VERSIONSCRIPT = @VERSIONSCRIPT@
44EXPORTSFILE = @EXPORTSFILE@
45
46default: all
47
48include $(teventdir)/tevent.mk
49include $(teventdir)/rules.mk
50
51all:: showflags dirs $(PROGS) $(TEVENT_SOLIB) libtevent.a
52
53install:: all
54$(TEVENT_SOLIB): $(TEVENT_OBJ)
55 $(SHLD) $(SHLD_FLAGS) $(LDFLAGS) $(LIBS) -o $@ $(TEVENT_OBJ) $(VERSIONSCRIPT) $(EXPORTSFILE) $(SONAMEFLAG)$(TEVENT_SONAME)
56
57shared-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
65
66check: test
67
68installcheck:: test install
69
70clean::
71 rm -f *.o *.a */*.o
72 rm -fr abi
73
74distclean:: clean
75 rm -f config.log config.status config.h config.cache
76 rm -f Makefile
77
78realdistclean:: distclean
79 rm -f configure config.h.in
Note: See TracBrowser for help on using the repository browser.