]> git.wh0rd.org - dump.git/blob - rmt/Makefile.in
e1d44406837c61d453e205cd15c35d6c20371ffd
[dump.git] / rmt / Makefile.in
1 top_srcdir= @top_srcdir@
2 srcdir= @srcdir@
3
4 @MCONFIG@
5
6 CFLAGS= @CCOPTS@ -pipe $(OPT) $(GINC) $(INC) $(DEFS)
7 LDFLAGS:= $(LDFLAGS) @STATIC@
8 LIBS= $(GLIBS)
9
10 #DEBUG= -DFDEBUG -DTDEBUG -DWRITEDEBUG
11 #INC= -I../compat/include
12 #CFLAGS= -pipe $(DEFS) $(DEBUG) $(INC) $(GINC) $(OPT)
13 #DEPLIBS= ../compat/lib/libcompat.a
14 #LIBS= $(GLIBS) -L../compat/lib -lcompat
15
16 PROG= rmt
17 SRCS= rmt.c
18 OBJS= rmt.o
19 MAN8= rmt.8
20
21 all:: $(PROG) rmt.8
22
23 $(PROG): $(OBJS) $(DEPLIBS)
24 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
25
26 rmt.8: rmt.8.in
27 sed -e "s|__DATE__|$(DATE)|g" \
28 -e "s|__VERSION__|$(VERSION)|g" $< > $@
29
30 install:: all
31 $(INSTALLBIN) $(PROG) $(BINDIR)
32 $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR)
33
34 clean::
35 rm -f $(PROG) \#* *.s *.o *.a *~ core rmt.8
36
37 distclean:: clean
38 rm -f Makefile Makefile.old .depend
39
40 # +++ Dependency line eater +++
41 #
42 # Makefile dependencies follow. This must be the last section in
43 # the Makefile.in file
44 #
45