# $Id: Makefile.in,v 1.4 1999/10/11 13:31:12 stelian Exp $ top_srcdir= @top_srcdir@ srcdir= @srcdir@ @MCONFIG@ CFLAGS= @CCOPTS@ -pipe $(OPT) $(DEFS) $(GINC) $(INC) @RESTOREDEBUG@ LDFLAGS:= $(LDFLAGS) @STATIC@ LIBS= $(GLIBS) -le2p DEPLIBS= ../compat/lib/libcompat.a PROG= restore LINKS= ${BINDIR}/restore ${BINDIR}/rrestore SRCS= dirs.c interactive.c main.c restore.c symtab.c tape.c \ utilities.c OBJS= dirs.o interactive.o main.o restore.o symtab.o tape.o \ utilities.o ../common/dumprmt.o MAN8= restore.8 MLINKS= restore.8 $(MANDIR)/rrestore.8 all:: $(PROG) restore.8 $(PROG): $(OBJS) $(DEPLIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS) restore.8: restore.8.in sed -e "s|__DATE__|$(DATE)|g" \ -e "s|__VERSION__|$(VERSION)|g" $< > $@ install:: all $(INSTALLBIN) $(PROG) $(BINDIR) $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR) @set $(LINKS) $(MLINKS); \ while test $$# -ge 2; do \ l=$(DESTDIR)$$1; \ shift; \ t=$(DESTDIR)$$1; \ shift; \ echo $$t -\> $$l; \ $(RM) -f $$t; \ $(LN_S) $$l $$t; \ done; true clean:: $(RM) -f $(PROG) \#* *.s *.o *.a *~ core restore.8 distclean:: clean $(RM) -f Makefile Makefile.old .depend # +++ Dependency line eater +++ # # Makefile dependencies follow. This must be the last section in # the Makefile.in file #