rinetd/Makefile.in

56 lines
1.3 KiB
Makefile
Raw Normal View History

2008-03-30 12:59:52 +02:00
prefix=@prefix@
exec_prefix=@exec_prefix@
datadir=@datadir@
bindir=@bindir@
sbindir=@sbindir@
sysconfdir=@sysconfdir@
mandir=@mandir@
srcdir=@srcdir@
VPATH = @srcdir@
SHELL=@SHELL@
CC=@CC@
CFLAGS=@CFLAGS@ @DEFS@ -Wall -Wwrite-strings -I.
LDFLAGS=@LDFLAGS@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
EXEEXT=@EXEEXT@
OBJEXT=@OBJEXT@
rinetd: rinetd.$(OBJEXT) match.$(OBJEXT)
gcc rinetd.$(OBJEXT) match.$(OBJEXT) -o rinetd$(EXEEXT) $(LDFLAGS)
install: rinetd
$(INSTALL_PROGRAM) rinetd$(EXEEXT) $(DESTDIR)$(sbindir)
$(INSTALL_DATA) $(srcdir)/rinetd.8 $(DESTDIR)$(mandir)/man8
$(INSTALL) -m 600 $(srcdir)/rinetd.conf $(DESTDIR)/$(sysconfdir)
clean:
rm -f rinetd$(EXEEXT) *.$(OBJEXT) *~
distclean: clean
rm -rf config.status Makefile config.log config.h
match.o: match.c match.h config.h
rinetd.o: rinetd.c match.h config.h
$(srcdir)/configure: configure.ac # aclocal.m4
cd $(srcdir) && autoconf
# autoheader might not change config.h.in, so touch a stamp file.
$(srcdir)/config.h.in: stamp-h.in
$(srcdir)/stamp-h.in: configure.ac # aclocal.m4
cd $(srcdir) && autoheader
echo timestamp > $(srcdir)/stamp-h.in
config.h: stamp-h
stamp-h: config.h.in config.status
./config.status
Makefile: Makefile.in config.status
./config.status
config.status: configure
./config.status --recheck