]> git.wh0rd.org - dump.git/blame - dump/Makefile.in
Initial revision
[dump.git] / dump / Makefile.in
CommitLineData
1227625a
SP
1top_srcdir= @top_srcdir@
2srcdir= @srcdir@
3
4@MCONFIG@
5
6CFLAGS= @CCOPTS@ -pipe $(GINC) $(INC) $(DEFS) @DUMPDEBUG@
7LDFLAGS:= $(LDFLAGS) @STATIC@
8LIBS= $(GLIBS)
9DEPLIBS= ../compat/lib/libcompat.a
10
11PROG= dump
12LINKS= ${BINDIR}/dump ${BINDIR}/rdump
13SRCS= itime.c main.c optr.c tape.c traverse.c unctime.c
14OBJS= itime.o main.o optr.o tape.o traverse.o unctime.o \
15 ../common/dumprmt.o
16MAN8= dump.8
17MLINKS= $(MANDIR)/dump.8 $(MANDIR)/rdump.8
18
19all:: $(PROG)
20
21$(PROG): $(OBJS) $(DEPLIBS)
22 $(LD) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
23
24install:: $(PROG)
25 $(INSTALLBIN) $(PROG) $(BINDIR)
26 $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR)
27 @set $(LINKS) $(MLINKS); \
28 while test $$# -ge 2; do \
29 l=$(DESTDIR)$$1; \
30 shift; \
31 t=$(DESTDIR)$$1; \
32 shift; \
33 echo $$t -\> $$l; \
34 $(RM) -f $$t; \
35 $(LN_S) $$l $$t; \
36 done; true
37
38clean::
39 $(RM) -f $(PROG) \#* *.s *.o *.a *~ core
40
41distclean:: clean
42 $(RM) -f Makefile Makefile.old .depend
43
44# +++ Dependency line eater +++
45#
46# Makefile dependencies follow. This must be the last section in
47# the Makefile.in file
48#
49