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