]> git.wh0rd.org - dump.git/blame - restore/Makefile.in
Blocksize default is 32 when using -d HIGHDENSITYTREC.
[dump.git] / restore / Makefile.in
CommitLineData
1daf06b9 1# $Id: Makefile.in,v 1.11 2003/01/24 11:01:49 stelian Exp $
ec387a12 2
1227625a
SP
3top_srcdir= @top_srcdir@
4srcdir= @srcdir@
1daf06b9 5top_builddir= ..
1227625a
SP
6
7@MCONFIG@
8
ddd2ef55 9CFLAGS= @CCOPTS@ -pipe $(OPT) $(DEFS) $(GINC) $(INC) @RESTOREDEBUG@
e95b2aff 10LDFLAGS= @LDOPTS@ @STATIC@
88ef261e 11LIBS= $(GLIBS) -le2p @READLINE@ @ZLIB@ @BZLIB@
1227625a
SP
12DEPLIBS= ../compat/lib/libcompat.a
13
14PROG= restore
2c99ad2d 15RPROG= rrestore
60d46c35 16LINKS= ${SBINDIR}/restore ${SBINDIR}/rrestore
1227625a
SP
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
2c99ad2d 22RMAN8= rrestore.8
1227625a 23
2c99ad2d 24all:: $(PROG) $(MAN8)
1227625a
SP
25
26$(PROG): $(OBJS) $(DEPLIBS)
27 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
28
2c99ad2d 29$(MAN8): restore.8.in
8d4197bb
SP
30 sed -e "s|__DATE__|$(DATE)|g" \
31 -e "s|__VERSION__|$(VERSION)|g" $< > $@
32
33install:: all
60d46c35
SP
34 $(INSTALL) -d $(SBINDIR) $(MANDIR)
35 $(INSTALLBIN) $(PROG) $(SBINDIR)
e95b2aff 36 $(INSTALLMAN) $(MAN8) $(MANDIR)
2c99ad2d
SP
37 cd $(SBINDIR) && $(RM) -f $(RPROG) && $(LN_S) $(PROG) $(RPROG)
38 cd $(MANDIR) && $(RM) -f $(RMAN8) && $(LN_S) $(MAN8) $(RMAN8)
1227625a
SP
39
40clean::
2c99ad2d 41 $(RM) -f $(PROG) $(MAN8) \#* *.s *.o *.a *~ core
1227625a
SP
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