5 ### (c) 1999 Mark Wooding
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of the `fwd' port forwarder.
12 ### `fwd' is free software; you can redistribute it and/or modify
13 ### it under the terms of the GNU General Public License as published by
14 ### the Free Software Foundation; either version 2 of the License, or
15 ### (at your option) any later version.
17 ### `fwd' is distributed in the hope that it will be useful,
18 ### but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ### GNU General Public License for more details.
22 ### You should have received a copy of the GNU General Public License
23 ### along with `fwd'; if not, write to the Free Software Foundation,
24 ### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
32 MAINTAINERCLEANFILES =
34 AM_CFLAGS = $(mLib_CFLAGS)
36 ###--------------------------------------------------------------------------
39 make_manpage = perl $(srcdir)/make-manpage <$(srcdir)/fwd.1.in
40 EXTRA_DIST += fwd.1.in make-manpage
46 fwd.1: fwd.1.in make-manpage
47 $(make_manpage) man >$@.new && mv $@.new $@
49 ## The grammar summary.
50 MAINTAINERCLEANFILES += $(srcdir)/GRAMMAR
53 $(srcdir)/GRAMMAR: fwd.1.in make-manpage
54 $(make_manpage) text >$@.new && mv $@.new $@
56 ###--------------------------------------------------------------------------
57 ### The main port forwarder.
61 fwd_LDADD = $(mLib_LIBS)
64 fwd_SOURCES += fwd.c fwd.h
67 fwd_SOURCES += endpt.c
68 fwd_SOURCES += source.c
72 fwd_SOURCES += fattr.c
74 fwd_SOURCES += reffd.c
77 fwd_SOURCES += socket.c
83 fwd_SOURCES += identify.c
84 fwd_SOURCES += privconn.c
91 fwd_SOURCES += rlimits.h
94 fwd_SOURCES += mantext.c
95 CLEANFILES += mantext.c
96 BUILT_SOURCES += mantext.c
98 mantext.c: fwd.1.in make-manpage
99 $(make_manpage) c >$@.new && mv $@.new $@
101 ###--------------------------------------------------------------------------
102 ### Other infrastructure.
104 ## Set the release number.
106 echo "$(VERSION)" >$(distdir)/RELEASE
108 ###--------------------------------------------------------------------------
111 ## Main Debian files.
112 EXTRA_DIST += debian/rules
113 EXTRA_DIST += debian/changelog
114 EXTRA_DIST += debian/control
115 EXTRA_DIST += debian/copyright
117 ## Run the daemon automatically.
118 EXTRA_DIST += debian/fwd.init
119 EXTRA_DIST += debian/fwd.postinst
121 ## Compatbility cruft.
122 EXTRA_DIST += debian/fw.sh
123 EXTRA_DIST += debian/fw.README.Debian
125 ###----- That's all, folks --------------------------------------------------