]> andersk Git - moira.git/blob - update/Makefile.in
20d205285ccfd5fbb2c54fb0e51a88399cda1bdb
[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 LDFLAGS=@LDFLAGS@
12 LIBS=@LIBS@
13 MR_LIBDEP=@MR_LIBDEP@
14 INSTALL=@INSTALL@
15 INSTALL_PROGRAM=@INSTALL_PROGRAM@
16
17 srcdir=@srcdir@
18 VPATH=@srcdir@
19 SRCTOP=@top_srcdir@
20 BUILDTOP=..
21 prefix=@prefix@
22 exec_prefix=@exec_prefix@
23 bindir=@bindir@
24 sbindir=@sbindir@
25 sysconfdir=@sysconfdir@
26
27 SOBJS=  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
29 COBJS=  update_test.o checksum.o client.o send_file.o ticket.o sendrecv.o
30
31 TARGET=update_server update_test
32
33 .c.o:
34         $(CC) -c $(ALL_CFLAGS) $<
35
36 all: $(TARGET)
37
38 clean:
39         rm -f $(SOBJS) $(COBJS) $(TARGET)
40
41 cleandir distclean: clean
42         rm -f Makefile
43
44 depend:
45
46 install: 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
52 update_test: $(COBJS) $(MR_LIBDEP)
53         $(CC) -o $@ $(LDFLAGS) $(COBJS) $(LIBS)
54
55 update_server: $(SOBJS) $(MR_LIBDEP)
56         $(CC) -o $@ $(LDFLAGS) $(SOBJS) $(LIBS)
This page took 0.029775 seconds and 3 git commands to generate.