Regenerate configure.
[dump.git] / rmt / Makefile.in
CommitLineData
e3956dfb 1# $Id: Makefile.in,v 1.11 2011/06/10 13:07:29 stelian Exp $
ec387a12 2
1227625a
SP
3top_srcdir= @top_srcdir@
4srcdir= @srcdir@
1daf06b9 5top_builddir= ..
1227625a
SP
6
7@MCONFIG@
8
008af419
SP
9ALL_CFLAGS= @CPPFLAGS@ @CFLAGS@ @CCOPTS@ -pipe $(OPT) $(GINC) $(INC) $(DEFS)
10ALL_LDFLAGS= @LDFLAGS@ @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
008af419
SP
19.c.o:
20 $(CC) -c $(ALL_CFLAGS) $< -o $@
21
cdfe1392 22all:: $(PROG) @ERMT@ $(MAN8)
1227625a
SP
23
24$(PROG): $(OBJS) $(DEPLIBS)
008af419 25 $(LD) $(ALL_LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
1227625a 26
cdfe1392 27ermt: ermt.o cipher.o $(DEPLIBS)
e3956dfb 28 $(LD) $(ALL_LDFLAGS) -o ermt ermt.o cipher.o $(LIBS)
008af419 29
cdfe1392 30ermt.o: rmt.c
008af419 31 $(CC) -c $(ALL_CFLAGS) -DERMT -o ermt.o rmt.c
cdfe1392 32
ba3af39e 33$(MAN8): rmt.8.in
8d4197bb
SP
34 sed -e "s|__DATE__|$(DATE)|g" \
35 -e "s|__VERSION__|$(VERSION)|g" $< > $@
36
37install:: all
60d46c35
SP
38 $(INSTALL) -d $(SBINDIR) $(MANDIR)
39 $(INSTALLBIN) $(PROG) $(SBINDIR)
1227625a
SP
40 $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR)
41
42clean::
cdfe1392 43 rm -f $(PROG) @ERMT@ \#* *.s *.o *.a *~ core rmt.8
1227625a
SP
44
45distclean:: clean
46 rm -f Makefile Makefile.old .depend
47
48# +++ Dependency line eater +++
49#
50# Makefile dependencies follow. This must be the last section in
51# the Makefile.in file
52#
53