X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=restore%2FMakefile.in;h=323d14f52240615775056a215c4a638868233d07;hb=9be511dc8a07570d6c95075573272fce6e9113d4;hp=e032d18b2d7fda35b5edfbffee7fdded98647f08;hpb=ddd2ef55b78a62c4bc3daad18bef8a90e85a2052;p=dump.git diff --git a/restore/Makefile.in b/restore/Makefile.in index e032d18..323d14f 100644 --- a/restore/Makefile.in +++ b/restore/Makefile.in @@ -1,3 +1,5 @@ +# $Id: Makefile.in,v 1.5 2000/05/29 14:17:37 stelian Exp $ + top_srcdir= @top_srcdir@ srcdir= @srcdir@ @@ -5,7 +7,7 @@ srcdir= @srcdir@ CFLAGS= @CCOPTS@ -pipe $(OPT) $(DEFS) $(GINC) $(INC) @RESTOREDEBUG@ LDFLAGS:= $(LDFLAGS) @STATIC@ -LIBS= $(GLIBS) -le2p +LIBS= $(GLIBS) -le2p @READLINE@ DEPLIBS= ../compat/lib/libcompat.a PROG= restore @@ -17,12 +19,16 @@ OBJS= dirs.o interactive.o main.o restore.o symtab.o tape.o \ MAN8= restore.8 MLINKS= restore.8 $(MANDIR)/rrestore.8 -all:: $(PROG) +all:: $(PROG) restore.8 $(PROG): $(OBJS) $(DEPLIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS) -install:: $(PROG) +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); \ @@ -37,7 +43,7 @@ install:: $(PROG) done; true clean:: - $(RM) -f $(PROG) \#* *.s *.o *.a *~ core + $(RM) -f $(PROG) \#* *.s *.o *.a *~ core restore.8 distclean:: clean $(RM) -f Makefile Makefile.old .depend