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

Revision 24319, 1.5 KB checked in by broder, 14 years ago (diff)
New Moira snapshot from SVN.
Line 
1# $Id: Makefile.in 3956 2010-01-05 20:56:56Z zacheiss $
2
3SHELL=/bin/sh
4@SET_MAKE@
5
6CC=@CC@
7CPPFLAGS=@CPPFLAGS@ -DCONFIG_FILE=\"$(sysconfdir)/moira.conf\"
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)$(sysconfdir)
54        $(INSTALL) -m 644 moira.conf $(DESTDIR)$(sysconfdir)/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.