]> git.wh0rd.org - dump.git/blob - restore/Makefile.in
Initial revision
[dump.git] / restore / Makefile.in
1 top_srcdir= @top_srcdir@
2 srcdir= @srcdir@
3
4 @MCONFIG@
5
6 CFLAGS= @CCOPTS@ -pipe $(DEFS) $(GINC) $(INC) @RESTOREDEBUG@
7 LDFLAGS:= $(LDFLAGS) @STATIC@
8 LIBS= $(GLIBS) -le2p
9 DEPLIBS= ../compat/lib/libcompat.a
10
11 PROG= restore
12 LINKS= ${BINDIR}/restore ${BINDIR}/rrestore
13 SRCS= dirs.c interactive.c main.c restore.c symtab.c tape.c \
14 utilities.c
15 OBJS= dirs.o interactive.o main.o restore.o symtab.o tape.o \
16 utilities.o ../common/dumprmt.o
17 MAN8= restore.8
18 MLINKS= $(MANDIR)/restore.8 $(MANDIR)/rrestore.8
19
20 all:: $(PROG)
21
22 $(PROG): $(OBJS) $(DEPLIBS)
23 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
24
25 install:: $(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
39 clean::
40 $(RM) -f $(PROG) \#* *.s *.o *.a *~ core
41
42 distclean:: 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