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

Revision 23740, 1.2 KB checked in by broder, 15 years ago (diff)
In moira: * New CVS snapshot (Trac: #195) * Drop patches that have been incorporated upstream. * Update to build without krb4 on systems that no longer have it. This doesn't build yet on squeeze, which lacks a krb4 library, but I'm committing now before I start hacking away at a patch to fix that.
Line 
1# $Id: Makefile.in,v 1.6 2009-01-05 22:25:50 zacheiss Exp $
2
3SHELL=/bin/sh
4@SET_MAKE@
5
6CC=@CC@
7CPPFLAGS=@CPPFLAGS@
8CFLAGS=@CFLAGS@
9DEFS=@DEFS@
10ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS)
11LDFLAGS=@LDFLAGS@
12LIBS=@LIBS@
13MR_LIBDEP=@MR_LIBDEP@
14INSTALL=@INSTALL@
15INSTALL_PROGRAM=@INSTALL_PROGRAM@
16
17srcdir=@srcdir@
18VPATH=@srcdir@
19SRCTOP=@top_srcdir@
20BUILDTOP=..
21prefix=@prefix@
22exec_prefix=@exec_prefix@
23bindir=@bindir@
24sbindir=@sbindir@
25sysconfdir=@sysconfdir@
26
27SOBJS=  auth_002.o auth_003.o checksum.o config.o exec_002.o get_file.o \
28        update_server.o xfer_002.o xfer_003.o sendrecv.o
29COBJS=  update_test.o checksum.o client.o send_file.o ticket.o sendrecv.o
30
31TARGET=update_server update_test
32
33.c.o:
34        $(CC) -c $(ALL_CFLAGS) $<
35
36all: $(TARGET)
37
38clean:
39        rm -f $(SOBJS) $(COBJS) $(TARGET)
40
41cleandir distclean: clean
42        rm -f Makefile
43
44depend:
45
46install: all
47        $(INSTALL_PROGRAM) update_test $(DESTDIR)$(bindir)
48        $(INSTALL_PROGRAM) update_server $(DESTDIR)$(sbindir)
49        $(SRCTOP)/mkinstalldirs $(DESTDIR)$(sysconfdir)/athena
50        $(INSTALL) -m 644 moira.conf $(DESTDIR)$(sysconfdir)/athena/moira.conf
51
52update_test: $(COBJS) $(MR_LIBDEP)
53        $(CC) -o $@ $(LDFLAGS) $(COBJS) $(LIBS)
54
55update_server: $(SOBJS) $(MR_LIBDEP)
56        $(CC) -o $@ $(LDFLAGS) $(SOBJS) $(LIBS)
Note: See TracBrowser for help on using the repository browser.