# $Id$ SHELL=/bin/sh @SET_MAKE@ CC=@CC@ CPPFLAGS=@CPPFLAGS@ CFLAGS=@CFLAGS@ DEFS=@DEFS@ ALL_CFLAGS=$(CPPFLAGS) $(CFLAGS) $(DEFS) LIBTOOL=@LIBTOOL@ LDFLAGS=@LDFLAGS@ LIBS=@LIBS@ MR_LIBDEP=@MR_LIBDEP@ INSTALL=@INSTALL@ INSTALL_PROGRAM=@INSTALL_PROGRAM@ srcdir=@srcdir@ VPATH=@srcdir@ SRCTOP=@top_srcdir@ top_builddir=@top_builddir@ BUILDTOP=.. prefix=@prefix@ exec_prefix=@exec_prefix@ bindir=@bindir@ sbindir=@sbindir@ sysconfdir=@sysconfdir@ SOBJS= auth_002.lo auth_003.lo checksum.lo config.lo exec_002.lo get_file.lo \ update_server.lo xfer_002.lo xfer_003.lo sendrecv.lo COBJS= update_test.lo checksum.lo client.lo send_file.lo ticket.lo sendrecv.lo TARGET=update_server update_test .SUFFIXES: .lo .c.lo: $(LIBTOOL) --mode=compile $(CC) -c $(ALL_CFLAGS) $< all: $(TARGET) clean: $(LIBTOOL) --mode=clean rm -f $(SOBJS) $(COBJS) $(TARGET) cleandir distclean: clean rm -f Makefile depend: install: all $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) update_test $(DESTDIR)$(bindir) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) update_server $(DESTDIR)$(sbindir) $(SRCTOP)/mkinstalldirs $(DESTDIR)/etc/athena $(INSTALL) -m 644 moira.conf $(DESTDIR)/etc/athena/moira.conf update_test: $(COBJS) $(MR_LIBDEP) $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(COBJS) $(LIBS) update_server: $(SOBJS) $(MR_LIBDEP) $(LIBTOOL) --mode=link $(CC) -o $@ $(LDFLAGS) $(SOBJS) $(LIBS)