]> git.wh0rd.org - dump.git/blame - rmt/Makefile.in
Version 0.4b7.
[dump.git] / rmt / Makefile.in
CommitLineData
1227625a
SP
1top_srcdir= @top_srcdir@
2srcdir= @srcdir@
3
4@MCONFIG@
5
ddd2ef55 6CFLAGS= @CCOPTS@ -pipe $(OPT) $(GINC) $(INC) $(DEFS)
1227625a
SP
7LDFLAGS:= $(LDFLAGS) @STATIC@
8LIBS= $(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
16PROG= rmt
17SRCS= rmt.c
18OBJS= rmt.o
19MAN8= rmt.8
20
8d4197bb 21all:: $(PROG) rmt.8
1227625a
SP
22
23$(PROG): $(OBJS) $(DEPLIBS)
24 $(CC) $(CFLAGS) $(LDFLAGS) -o $(PROG) $(OBJS) $(LIBS)
25
8d4197bb
SP
26rmt.8: rmt.8.in
27 sed -e "s|__DATE__|$(DATE)|g" \
28 -e "s|__VERSION__|$(VERSION)|g" $< > $@
29
30install:: all
1227625a
SP
31 $(INSTALLBIN) $(PROG) $(BINDIR)
32 $(INSTALLMAN) $(srcdir)/$(MAN8) $(MANDIR)
33
34clean::
8d4197bb 35 rm -f $(PROG) \#* *.s *.o *.a *~ core rmt.8
1227625a
SP
36
37distclean:: 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