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