]> git.wh0rd.org Git - dump.git/blob - rmt/Makefile.in
Relicensed dump/restore under the revised BSD license, as per ftp://ftp.cs.berkeley...
[dump.git] / rmt / Makefile.in
1 # $Id: Makefile.in,v 1.8 2003/01/24 11:01:50 stelian Exp $
2
3 top_srcdir=     @top_srcdir@
4 srcdir=         @srcdir@
5 top_builddir=   ..
6
7 @MCONFIG@
8
9 CFLAGS=         @CCOPTS@ -pipe $(OPT) $(GINC) $(INC) $(DEFS)
10 LDFLAGS=        @LDOPTS@ @STATIC@
11 LIBS=           $(GLIBS)
12 DEPLIBS=        ../compat/lib/libcompat.a
13
14 PROG=           rmt
15 SRCS=           rmt.c
16 OBJS=           rmt.o
17 MAN8=           rmt.8
18
19 all::           $(PROG) $(MAN8)
20
21 $(PROG):        $(OBJS) $(DEPLIBS)
22         $(LD) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
23
24 $(MAN8):                rmt.8.in
25         sed -e "s|__DATE__|$(DATE)|g" \
26             -e "s|__VERSION__|$(VERSION)|g" $< > $@
27
28 install::       all
29         $(INSTALL) -d $(SBINDIR) $(MANDIR)
30         $(INSTALLBIN) $(PROG) $(SBINDIR)
31         $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR)
32
33 clean::
34         rm -f $(PROG) \#* *.s *.o *.a *~ core rmt.8
35
36 distclean::     clean
37         rm -f Makefile Makefile.old .depend 
38
39 # +++ Dependency line eater +++
40
41 # Makefile dependencies follow.  This must be the last section in
42 # the Makefile.in file
43 #
44