]> git.wh0rd.org - dump.git/blobdiff - restore/Makefile.in
Use OPEN() instead of open() for toc files.
[dump.git] / restore / Makefile.in
index 344af88c1932448ad9e1b1c650debf89c781d67b..6257187ad71de779f9762f02846cbcc39f7eea90 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.11 2003/01/24 11:01:49 stelian Exp $
+# $Id: Makefile.in,v 1.14 2007/02/22 20:12:50 stelian Exp $
 
 top_srcdir=    @top_srcdir@
 srcdir=                @srcdir@
@@ -6,25 +6,29 @@ top_builddir= ..
 
 @MCONFIG@
 
-CFLAGS=                @CCOPTS@ -pipe $(OPT) $(DEFS) $(GINC) $(INC) @RESTOREDEBUG@
-LDFLAGS=       @LDOPTS@ @STATIC@
-LIBS=          $(GLIBS) -le2p @READLINE@ @ZLIB@ @BZLIB@
+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" \