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

Revision 23882, 1.4 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.7 2009-06-01 21:05:02 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@
12LDFLAGS=@LDFLAGS@
13LIBS=@LIBS@
14MR_LIBDEP=@MR_LIBDEP@
15INSTALL=@INSTALL@
16INSTALL_PROGRAM=@INSTALL_PROGRAM@
17
18srcdir=@srcdir@
19VPATH=@srcdir@
20SRCTOP=@top_srcdir@
21top_builddir=@top_builddir@
22BUILDTOP=..
23prefix=@prefix@
24exec_prefix=@exec_prefix@
25bindir=@bindir@
26sbindir=@sbindir@
27sysconfdir=@sysconfdir@
28
29SOBJS=  auth_002.lo auth_003.lo checksum.lo config.lo exec_002.lo get_file.lo \
30        update_server.lo xfer_002.lo xfer_003.lo sendrecv.lo
31COBJS=  update_test.lo checksum.lo client.lo send_file.lo ticket.lo sendrecv.lo
32
33TARGET=update_server update_test
34
35.SUFFIXES: .lo
36
37.c.lo:
38        $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $<
39
40all: $(TARGET)
41
42clean:
43        $(LIBTOOL) --mode=clean rm -f $(SOBJS) $(COBJS) $(TARGET)
44
45cleandir distclean: clean
46        rm -f Makefile
47
48depend:
49
50install: all
51        $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) update_test $(DESTDIR)$(bindir)
52        $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) update_server $(DESTDIR)$(sbindir)
53        $(SRCTOP)/mkinstalldirs $(DESTDIR)/etc/athena
54        $(INSTALL) -m 644 moira.conf $(DESTDIR)/etc/athena/moira.conf
55
56update_test: $(COBJS) $(MR_LIBDEP)
57        $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(COBJS) $(LIBS)
58
59update_server: $(SOBJS) $(MR_LIBDEP)
60        $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(SOBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.