]> git.wh0rd.org - dump.git/blame - rmt/Makefile.in
Enabled rmt, LFS, readline, QFA options by default in ./configure.
[dump.git] / rmt / Makefile.in
CommitLineData
1daf06b9 1# $Id: Makefile.in,v 1.8 2003/01/24 11:01:50 stelian Exp $
ec387a12 2
1227625a
SP
3top_srcdir= @top_srcdir@
4srcdir= @srcdir@
1daf06b9 5top_builddir= ..
1227625a
SP
6
7@MCONFIG@
8
ddd2ef55 9CFLAGS= @CCOPTS@ -pipe $(OPT) $(GINC) $(INC) $(DEFS)
e95b2aff 10LDFLAGS= @LDOPTS@ @STATIC@
1227625a 11LIBS= $(GLIBS)
ba3af39e 12DEPLIBS= ../compat/lib/libcompat.a
1227625a
SP
13
14PROG= rmt
15SRCS= rmt.c
16OBJS= rmt.o
17MAN8= rmt.8
18
ba3af39e 19all:: $(PROG) $(MAN8)
1227625a
SP
20
21$(PROG): $(OBJS) $(DEPLIBS)
ba3af39e 22 $(LD) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
1227625a 23
ba3af39e 24$(MAN8): rmt.8.in
8d4197bb
SP
25 sed -e "s|__DATE__|$(DATE)|g" \
26 -e "s|__VERSION__|$(VERSION)|g" $< > $@
27
28install:: all
60d46c35
SP
29 $(INSTALL) -d $(SBINDIR) $(MANDIR)
30 $(INSTALLBIN) $(PROG) $(SBINDIR)
1227625a
SP
31 $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR)
32
33clean::
8d4197bb 34 rm -f $(PROG) \#* *.s *.o *.a *~ core rmt.8
1227625a
SP
35
36distclean:: 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