source: trunk/third/moira/dcm/Makefile.in @ 23882

Revision 23882, 1.5 KB checked in by broder, 15 years ago (diff)
In moira: * New upstream release * Build and install libmoira as a shared library. (Trac: #70) * Drop most of the krb4 patch - it's been incorporated upstream. * Install the Moira development headers by patching the relevant Makefiles, instead of in the debian/rules file.
Line 
1# $Id: Makefile.in,v 1.9 2009-06-01 21:04:59 zacheiss Exp $
2
3SHELL=/bin/sh
4@SET_MAKE@
5
6CC=@CC@
7CPPFLAGS=@CPPFLAGS@
8CFLAGS=@CFLAGS@
9DEFS=@DEFS@
10ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS)
11LIBTOOL=@LIBTOOL@
12PRO_C=@PRO_C@
13PRO_C_DEFS=@PRO_C_DEFS@
14PRO_C_INCLUDES=@PRO_C_INCLUDES@
15PRO_C_OPTS=@PRO_C_OPTS@
16PRO_C_FLAGS=$(PRO_C_OPTS) $(PRO_C_DEFS) $(PRO_C_INCLUDES)
17LDFLAGS=@LDFLAGS@
18SQL_LIBS=@SQL_LIBS@
19LIBS=@LIBS@
20MR_LIBDEP=@MR_LIBDEP@
21INSTALL=@INSTALL@
22INSTALL_PROGRAM=@INSTALL_PROGRAM@
23
24srcdir=@srcdir@
25VPATH=@srcdir@
26SRCTOP=@top_srcdir@
27top_builddir=@top_builddir@
28BUILDTOP=..
29mrbindir=@mrbindir@
30
31DCM_OBJS=dcm.lo
32UPDATE_OBJS=../update/checksum.lo ../update/client.lo ../update/send_file.lo \
33        ../update/ticket.lo ../update/sendrecv.lo
34START_OBJS=startdcm.lo
35
36CFILES=dcm.c
37
38TARGET=dcm startdcm
39
40.SUFFIXES: .pc .lo
41
42.pc.c:
43        $(PRO_C) $(PRO_C_FLAGS) INAME=$< ONAME=$@
44
45.c.lo:
46        $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $<
47
48all: $(TARGET)
49
50clean:
51        $(LIBTOOL) --mode=clean rm -f $(DCM_OBJS) $(START_OBJS) $(CFILES) $(TARGET)
52
53cleandir distclean: clean
54        rm -f Makefile
55
56depend: $(CFILES)
57
58install:
59        $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) dcm $(DESTDIR)$(mrbindir)
60        $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) startdcm $(DESTDIR)$(mrbindir)
61
62dcm: $(DCM_OBJS) $(UPDATE_OBJS) $(MR_LIBDEP)
63        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(DCM_OBJS) $(UPDATE_OBJS) $(SQL_LIBS) $(LIBS)
64
65startdcm: $(START_OBJS)
66        $(LIBTOOL) --mode=link $(CC) -static -o $@ $(LDFLAGS) $(START_OBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.