]> git.wh0rd.org - dump.git/blame_incremental - restore/Makefile.in
Added EA/ACL support in dump and restore.
[dump.git] / restore / Makefile.in
... / ...
CommitLineData
1# $Id: Makefile.in,v 1.13 2005/05/02 15:10:46 stelian Exp $
2
3top_srcdir= @top_srcdir@
4srcdir= @srcdir@
5top_builddir= ..
6
7@MCONFIG@
8
9INC= -I$(top_srcdir)/restore
10ALL_CFLAGS= @CPPFLAGS@ @CFLAGS@ @CCOPTS@ -pipe $(OPT) $(GINC) $(INC) $(DEFS) @RESTOREDEBUG@
11ALL_LDFLAGS= @LDFLAGS@ @LDOPTS@ @STATIC@
12LIBS= $(GLIBS) -le2p @READLINE@ @ZLIB@ @BZLIB@
13DEPLIBS= ../compat/lib/libcompat.a
14
15PROG= restore
16RPROG= rrestore
17LINKS= ${SBINDIR}/restore ${SBINDIR}/rrestore
18SRCS= dirs.c interactive.c main.c restore.c symtab.c tape.c \
19 utilities.c xattr.c
20OBJS= dirs.o interactive.o main.o restore.o symtab.o tape.o \
21 utilities.o xattr.o ../common/dumprmt.o
22MAN8= restore.8
23RMAN8= rrestore.8
24
25.c.o:
26 $(CC) -c $(ALL_CFLAGS) $< -o $@
27
28all:: $(PROG) $(MAN8)
29
30$(PROG): $(OBJS) $(DEPLIBS)
31 $(CC) $(ALL_LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
32
33$(MAN8): restore.8.in
34 sed -e "s|__DATE__|$(DATE)|g" \
35 -e "s|__VERSION__|$(VERSION)|g" $< > $@
36
37install:: all
38 $(INSTALL) -d $(SBINDIR) $(MANDIR)
39 $(INSTALLBIN) $(PROG) $(SBINDIR)
40 $(INSTALLMAN) $(MAN8) $(MANDIR)
41 cd $(SBINDIR) && $(RM) -f $(RPROG) && $(LN_S) $(PROG) $(RPROG)
42 cd $(MANDIR) && $(RM) -f $(RMAN8) && $(LN_S) $(MAN8) $(RMAN8)
43
44clean::
45 $(RM) -f $(PROG) $(MAN8) \#* *.s *.o *.a *~ core
46
47distclean:: clean
48 $(RM) -f Makefile Makefile.old .depend
49
50# +++ Dependency line eater +++
51#
52# Makefile dependencies follow. This must be the last section in
53# the Makefile.in file
54#
55