5 ### (c) 1999 Mark Wooding
8 ###----- Licensing notice ---------------------------------------------------
10 ### This file is part of the `fw' port forwarder.
12 ### `fw' 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 ### `fw' 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 `fw'; 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)/fw.1.in
40 EXTRA_DIST += fw.1.in make-manpage
46 fw.1: fw.1.in make-manpage
47 $(make_manpage) man >$@.new && mv $@.new $@
49 ## The grammar summary.
50 MAINTAINERCLEANFILES += $(srcdir)/GRAMMAR
53 $(srcdir)/GRAMMAR: fw.1.in make-manpage
54 $(make_manpage) text >$@.new && mv $@.new $@
56 ###--------------------------------------------------------------------------
57 ### The main port forwarder.
61 fw_LDADD = $(mLib_LIBS)
64 fw_SOURCES += fw.c fw.h
68 fw_SOURCES += source.c
77 fw_SOURCES += socket.c
83 fw_SOURCES += identify.c
84 fw_SOURCES += privconn.c
91 fw_SOURCES += rlimits.h
94 fw_SOURCES += mantext.c
95 CLEANFILES += mantext.c
96 BUILT_SOURCES += mantext.c
98 mantext.c: fw.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 EXTRA_DIST += debian/rules
112 EXTRA_DIST += debian/changelog
113 EXTRA_DIST += debian/control
114 EXTRA_DIST += debian/copyright
116 ###----- That's all, folks --------------------------------------------------