]> git.wh0rd.org - dump.git/blame - restore/Makefile.in
Added CVS Id.
[dump.git] / restore / Makefile.in
CommitLineData
ec387a12
SP
1# $Id: Makefile.in,v 1.4 1999/10/11 13:31:12 stelian Exp $
2
1227625a
SP
3top_srcdir= @top_srcdir@
4srcdir= @srcdir@
5
6@MCONFIG@
7
ddd2ef55 8CFLAGS= @CCOPTS@ -pipe $(OPT) $(DEFS) $(GINC) $(INC) @RESTOREDEBUG@
1227625a
SP
9LDFLAGS:= $(LDFLAGS) @STATIC@
10LIBS= $(GLIBS) -le2p
11DEPLIBS= ../compat/lib/libcompat.a
12
13PROG= restore
14LINKS= ${BINDIR}/restore ${BINDIR}/rrestore
15SRCS= dirs.c interactive.c main.c restore.c symtab.c tape.c \
16 utilities.c
17OBJS= dirs.o interactive.o main.o restore.o symtab.o tape.o \
18 utilities.o ../common/dumprmt.o
19MAN8= restore.8
ddd2ef55 20MLINKS= restore.8 $(MANDIR)/rrestore.8
1227625a 21
8d4197bb 22all:: $(PROG) restore.8
1227625a
SP
23
24$(PROG): $(OBJS) $(DEPLIBS)
25 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
26
8d4197bb
SP
27restore.8: restore.8.in
28 sed -e "s|__DATE__|$(DATE)|g" \
29 -e "s|__VERSION__|$(VERSION)|g" $< > $@
30
31install:: all
1227625a
SP
32 $(INSTALLBIN) $(PROG) $(BINDIR)
33 $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR)
34 @set $(LINKS) $(MLINKS); \
35 while test $$# -ge 2; do \
36 l=$(DESTDIR)$$1; \
37 shift; \
38 t=$(DESTDIR)$$1; \
39 shift; \
40 echo $$t -\> $$l; \
41 $(RM) -f $$t; \
42 $(LN_S) $$l $$t; \
43 done; true
44
45clean::
8d4197bb 46 $(RM) -f $(PROG) \#* *.s *.o *.a *~ core restore.8
1227625a
SP
47
48distclean:: clean
49 $(RM) -f Makefile Makefile.old .depend
50
51# +++ Dependency line eater +++
52#
53# Makefile dependencies follow. This must be the last section in
54# the Makefile.in file
55#
56