| 1 | ## -*-makefile-*- |
| 2 | ## |
| 3 | ## Makefile for fw |
| 4 | ## |
| 5 | ## (c) 1999 Mark Wooding |
| 6 | ## |
| 7 | |
| 8 | ##----- Licensing notice ---------------------------------------------------- |
| 9 | ## |
| 10 | ## This file is part of the `fw' port forwarder. |
| 11 | ## |
| 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. |
| 16 | ## |
| 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. |
| 21 | ## |
| 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. |
| 25 | |
| 26 | AUTOMAKE_OPTIONS = foreign |
| 27 | |
| 28 | bin_PROGRAMS = fw |
| 29 | man_MANS = fw.1 |
| 30 | |
| 31 | EXTRA_DIST = \ |
| 32 | fw.1.in GRAMMAR \ |
| 33 | make-manpage \ |
| 34 | debian/changelog debian/copyright debian/control debian/rules |
| 35 | |
| 36 | BUILT_SOURCES = mantext.c |
| 37 | |
| 38 | $(srcdir)/GRAMMAR: fw.1.in make-manpage |
| 39 | perl $(srcdir)/make-manpage text <$(srcdir)/fw.1.in >$@.new |
| 40 | mv $@.new $@ |
| 41 | |
| 42 | fw.1: fw.1.in make-manpage |
| 43 | perl $(srcdir)/make-manpage man <$(srcdir)/fw.1.in >$@.new |
| 44 | mv $@.new $@ |
| 45 | |
| 46 | mantext.c: fw.1.in make-manpage |
| 47 | perl $(srcdir)/make-manpage c <$(srcdir)/fw.1.in >$@.new |
| 48 | mv $@.new $@ |
| 49 | |
| 50 | fw_SOURCES = \ |
| 51 | chan.c conf.c endpt.c fw.c mantext.c reffd.c scan.c \ |
| 52 | chan.h conf.h endpt.h fw.h mantext.h reffd.h scan.h \ |
| 53 | \ |
| 54 | source.c source.h target.h \ |
| 55 | exec.c file.c socket.c \ |
| 56 | exec.h file.h socket.h \ |
| 57 | \ |
| 58 | addr.h \ |
| 59 | inet.c un.c \ |
| 60 | inet.h un.h \ |
| 61 | \ |
| 62 | acl.c fattr.c identify.c privconn.c \ |
| 63 | acl.h fattr.h identify.h privconn.h rlimits.h |
| 64 | |
| 65 | CLEANFILES = $(BUILT_SOURCES) fw.1 |
| 66 | MAINTAINERCLEANFILES = $(srcdir)/GRAMMAR |
| 67 | |
| 68 | ##----- That's all, folks --------------------------------------------------- |