10 ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS)
15 INSTALL_PROGRAM=@INSTALL_PROGRAM@
22 exec_prefix=@exec_prefix@
25 sysconfdir=@sysconfdir@
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
31 TARGET=update_server update_test
34 $(CC) -c $(ALL_CFLAGS) $<
39 rm -f $(SOBJS) $(COBJS) $(TARGET)
41 cleandir distclean: clean
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
52 update_test: $(COBJS) $(MR_LIBDEP)
53 $(CC) -o $@ $(LDFLAGS) $(COBJS) $(LIBS)
55 update_server: $(SOBJS) $(MR_LIBDEP)
56 $(CC) -o $@ $(LDFLAGS) $(SOBJS) $(LIBS)