]> git.wh0rd.org - dump.git/blob - rmt/Makefile.in
Makefile cleanups.
[dump.git] / rmt / Makefile.in
1 # $Id: Makefile.in,v 1.6 2002/01/02 10:13:16 stelian Exp $
2
3 top_srcdir= @top_srcdir@
4 srcdir= @srcdir@
5
6 @MCONFIG@
7
8 CFLAGS= @CCOPTS@ -pipe $(OPT) $(GINC) $(INC) $(DEFS)
9 LDFLAGS= @LDOPTS@ @STATIC@
10 LIBS= $(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
18 PROG= rmt
19 SRCS= rmt.c
20 OBJS= rmt.o
21 MAN8= rmt.8
22
23 all:: $(PROG) rmt.8
24
25 $(PROG): $(OBJS) $(DEPLIBS)
26 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
27
28 rmt.8: rmt.8.in
29 sed -e "s|__DATE__|$(DATE)|g" \
30 -e "s|__VERSION__|$(VERSION)|g" $< > $@
31
32 install:: all
33 $(INSTALL) -d $(SBINDIR) $(MANDIR)
34 $(INSTALLBIN) $(PROG) $(SBINDIR)
35 $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR)
36
37 clean::
38 rm -f $(PROG) \#* *.s *.o *.a *~ core rmt.8
39
40 distclean:: 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