]> andersk Git - moira.git/blob - update/Makefile.in
Build shared libmoira via libtool.
[moira.git] / update / 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 LDFLAGS=@LDFLAGS@
13 LIBS=@LIBS@
14 MR_LIBDEP=@MR_LIBDEP@
15 INSTALL=@INSTALL@
16 INSTALL_PROGRAM=@INSTALL_PROGRAM@
17
18 srcdir=@srcdir@
19 VPATH=@srcdir@
20 SRCTOP=@top_srcdir@
21 top_builddir=@top_builddir@
22 BUILDTOP=..
23 prefix=@prefix@
24 exec_prefix=@exec_prefix@
25 bindir=@bindir@
26 sbindir=@sbindir@
27 sysconfdir=@sysconfdir@
28
29 SOBJS=  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
31 COBJS=  update_test.lo checksum.lo client.lo send_file.lo ticket.lo sendrecv.lo
32
33 TARGET=update_server update_test
34
35 .SUFFIXES: .lo
36
37 .c.lo:
38         $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $<
39
40 all: $(TARGET)
41
42 clean:
43         $(LIBTOOL) --mode=clean rm -f $(SOBJS) $(COBJS) $(TARGET)
44
45 cleandir distclean: clean
46         rm -f Makefile
47
48 depend:
49
50 install: 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
56 update_test: $(COBJS) $(MR_LIBDEP)
57         $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(COBJS) $(LIBS)
58
59 update_server: $(SOBJS) $(MR_LIBDEP)
60         $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(SOBJS) $(LIBS)
This page took 0.040974 seconds and 5 git commands to generate.