]> andersk Git - moira.git/blob - dbck/Makefile.in
Build shared libmoira via libtool.
[moira.git] / dbck / Makefile.in
1 # $Id$
2
3 SHELL=/bin/sh
4 @SET_MAKE@
5
6 CC=@CC@
7 CPPFLAGS=@CPPFLAGS@
8 CFLAGS=@CFLAGS@
9 DEFS=@DEFS@
10 ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS)
11 LIBTOOL=@LIBTOOL@
12 PRO_C=@PRO_C@
13 PRO_C_DEFS=@PRO_C_DEFS@
14 PRO_C_INCLUDES=@PRO_C_INCLUDES@
15 PRO_C_OPTS=@PRO_C_OPTS@
16 PRO_C_FLAGS=$(PRO_C_OPTS) $(PRO_C_DEFS) $(PRO_C_INCLUDES)
17 LDFLAGS=@LDFLAGS@
18 LIBS=@SQL_LIBS@ @LIBS@
19 MR_LIBDEP=@MR_LIBDEP@
20 INSTALL=@INSTALL@
21 INSTALL_PROGRAM=@INSTALL_PROGRAM@
22
23 srcdir=@srcdir@
24 VPATH=@srcdir@
25 SRCTOP=@top_srcdir@
26 top_builddir=@top_builddir@
27 BUILDTOP=..
28 mrbindir=@mrbindir@
29
30 DBCK_OBJS=dbck.lo fix.lo phase1.lo phase2.lo phase3.lo phase4.lo
31 MEMBERS_OBJS=members.lo
32 OBJS= $(DBCK_OBJS) $(MEMBERS_OBJS)
33
34 CFILES=dbck.c fix.c phase1.c phase2.c phase3.c phase4.c members.c
35
36 TARGET=dbck members
37
38 .SUFFIXES: .pc .lo
39
40 .pc.c:
41         $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@
42
43 .c.lo:
44         $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $<
45
46 all: $(TARGET)
47
48 clean:
49         $(LIBTOOL) --mode=clean rm -f $(OBJS) $(CFILES) $(TARGET)
50
51 cleandir distclean: clean
52         rm -f Makefile
53
54 depend: $(CFILES)
55
56 install:
57         $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) dbck $(DESTDIR)$(mrbindir)
58         $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) members $(DESTDIR)$(mrbindir)
59
60 dbck: $(DBCK_OBJS) $(MR_LIBDEP)
61         $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(DBCK_OBJS) $(LIBS)
62
63 members: $(MEMBERS_OBJS) $(MR_LIBDEP)
64         $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(MEMBERS_OBJS) $(LIBS)
65
66
67
68
69
This page took 0.045743 seconds and 5 git commands to generate.