X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=restore%2FMakefile.in;h=6257187ad71de779f9762f02846cbcc39f7eea90;hp=527e9100e9b2d20e8da3972d12231137d179eedc;hb=62614cf50e5f719954f23b7a9819a70b2d3ec44c;hpb=2c99ad2dc97978b437794b14d58d9ae698ecabb9 diff --git a/restore/Makefile.in b/restore/Makefile.in index 527e910..6257187 100644 --- a/restore/Makefile.in +++ b/restore/Makefile.in @@ -1,29 +1,34 @@ -# $Id: Makefile.in,v 1.8 2001/04/12 16:03:30 stelian Exp $ +# $Id: Makefile.in,v 1.14 2007/02/22 20:12:50 stelian Exp $ top_srcdir= @top_srcdir@ srcdir= @srcdir@ +top_builddir= .. @MCONFIG@ -CFLAGS= @CCOPTS@ -pipe $(OPT) $(DEFS) $(GINC) $(INC) @RESTOREDEBUG@ -LDFLAGS:= $(LDFLAGS) @STATIC@ -LIBS= $(GLIBS) -le2p @READLINE@ @ZLIB@ +INC= -I$(top_srcdir)/restore +ALL_CFLAGS= @CPPFLAGS@ @CFLAGS@ @CCOPTS@ @CCTRANSSELINUX@ -pipe $(OPT) $(GINC) $(INC) $(DEFS) @RESTOREDEBUG@ +ALL_LDFLAGS= @LDFLAGS@ @LDOPTS@ @STATIC@ +LIBS= $(GLIBS) -le2p @READLINE@ @ZLIB@ @BZLIB@ @LTRANSSELINUX@ DEPLIBS= ../compat/lib/libcompat.a PROG= restore RPROG= rrestore LINKS= ${SBINDIR}/restore ${SBINDIR}/rrestore SRCS= dirs.c interactive.c main.c restore.c symtab.c tape.c \ - utilities.c + utilities.c xattr.c OBJS= dirs.o interactive.o main.o restore.o symtab.o tape.o \ - utilities.o ../common/dumprmt.o + utilities.o xattr.o ../common/dumprmt.o MAN8= restore.8 RMAN8= rrestore.8 +.c.o: + $(CC) -c $(ALL_CFLAGS) $< -o $@ + all:: $(PROG) $(MAN8) $(PROG): $(OBJS) $(DEPLIBS) - $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS) + $(CC) $(ALL_LDFLAGS) -o $(PROG) $(OBJS) $(LIBS) $(MAN8): restore.8.in sed -e "s|__DATE__|$(DATE)|g" \ @@ -32,7 +37,7 @@ $(MAN8): restore.8.in install:: all $(INSTALL) -d $(SBINDIR) $(MANDIR) $(INSTALLBIN) $(PROG) $(SBINDIR) - $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR) + $(INSTALLMAN) $(MAN8) $(MANDIR) cd $(SBINDIR) && $(RM) -f $(RPROG) && $(LN_S) $(PROG) $(RPROG) cd $(MANDIR) && $(RM) -f $(RMAN8) && $(LN_S) $(MAN8) $(RMAN8)