]> git.wh0rd.org - dump.git/blame - rmt/Makefile.in
Another set of fixes for file not found at end of tape.
[dump.git] / rmt / Makefile.in
CommitLineData
60d46c35 1# $Id: Makefile.in,v 1.5 2001/04/06 10:09:40 stelian Exp $
ec387a12 2
1227625a
SP
3top_srcdir= @top_srcdir@
4srcdir= @srcdir@
5
6@MCONFIG@
7
ddd2ef55 8CFLAGS= @CCOPTS@ -pipe $(OPT) $(GINC) $(INC) $(DEFS)
1227625a
SP
9LDFLAGS:= $(LDFLAGS) @STATIC@
10LIBS= $(GLIBS)
11
12#DEBUG= -DFDEBUG -DTDEBUG -DWRITEDEBUG
13#INC= -I../compat/include
14#CFLAGS= -pipe $(DEFS) $(DEBUG) $(INC) $(GINC) $(OPT)
15#DEPLIBS= ../compat/lib/libcompat.a
16#LIBS= $(GLIBS) -L../compat/lib -lcompat
17
18PROG= rmt
19SRCS= rmt.c
20OBJS= rmt.o
21MAN8= rmt.8
22
8d4197bb 23all:: $(PROG) rmt.8
1227625a
SP
24
25$(PROG): $(OBJS) $(DEPLIBS)
26 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
27
8d4197bb
SP
28rmt.8: rmt.8.in
29 sed -e "s|__DATE__|$(DATE)|g" \
30 -e "s|__VERSION__|$(VERSION)|g" $< > $@
31
32install:: all
60d46c35
SP
33 $(INSTALL) -d $(SBINDIR) $(MANDIR)
34 $(INSTALLBIN) $(PROG) $(SBINDIR)
1227625a
SP
35 $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR)
36
37clean::
8d4197bb 38 rm -f $(PROG) \#* *.s *.o *.a *~ core rmt.8
1227625a
SP
39
40distclean:: clean
41 rm -f Makefile Makefile.old .depend
42
43# +++ Dependency line eater +++
44#
45# Makefile dependencies follow. This must be the last section in
46# the Makefile.in file
47#
48