]> git.wh0rd.org - dump.git/blame - restore/Makefile.in
Version 0.4b6.
[dump.git] / restore / Makefile.in
CommitLineData
1227625a
SP
1top_srcdir= @top_srcdir@
2srcdir= @srcdir@
3
4@MCONFIG@
5
ddd2ef55 6CFLAGS= @CCOPTS@ -pipe $(OPT) $(DEFS) $(GINC) $(INC) @RESTOREDEBUG@
1227625a
SP
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
ddd2ef55 18MLINKS= restore.8 $(MANDIR)/rrestore.8
1227625a
SP
19
20all:: $(PROG)
21
22$(PROG): $(OBJS) $(DEPLIBS)
23 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
24
25install:: $(PROG)
26 $(INSTALLBIN) $(PROG) $(BINDIR)
27 $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR)
28 @set $(LINKS) $(MLINKS); \
29 while test $$# -ge 2; do \
30 l=$(DESTDIR)$$1; \
31 shift; \
32 t=$(DESTDIR)$$1; \
33 shift; \
34 echo $$t -\> $$l; \
35 $(RM) -f $$t; \
36 $(LN_S) $$l $$t; \
37 done; true
38
39clean::
40 $(RM) -f $(PROG) \#* *.s *.o *.a *~ core
41
42distclean:: clean
43 $(RM) -f Makefile Makefile.old .depend
44
45# +++ Dependency line eater +++
46#
47# Makefile dependencies follow. This must be the last section in
48# the Makefile.in file
49#
50