Fix whitespace throughout.
[fwd] / Makefile.am
CommitLineData
e82f7154 1## -*-makefile-*-
2##
e82f7154 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.
206212ca 16##
e82f7154 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.
206212ca 21##
e82f7154 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
e82f7154 26AUTOMAKE_OPTIONS = foreign
27
e82f7154 28bin_PROGRAMS = fw
07f663a6 29man_MANS = fw.1
e82f7154 30
0ac54f22 31EXTRA_DIST = \
8cf7c7c2
MW
32 fw.1.in GRAMMAR \
33 make-manpage \
0ac54f22 34 debian/changelog debian/copyright debian/control debian/rules
07f663a6 35
8cf7c7c2
MW
36BUILT_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
42fw.1: fw.1.in make-manpage
43 perl $(srcdir)/make-manpage man <$(srcdir)/fw.1.in >$@.new
44 mv $@.new $@
45
46mantext.c: fw.1.in make-manpage
47 perl $(srcdir)/make-manpage c <$(srcdir)/fw.1.in >$@.new
206212ca 48 mv $@.new $@
8cf7c7c2 49
e82f7154 50fw_SOURCES = \
8cf7c7c2
MW
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 \
4832f8be 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 \
ee599f55 62 acl.c fattr.c identify.c privconn.c \
63 acl.h fattr.h identify.h privconn.h rlimits.h
e82f7154 64
8cf7c7c2
MW
65CLEANFILES = $(BUILT_SOURCES) fw.1
66MAINTAINERCLEANFILES = $(srcdir)/GRAMMAR
67
e82f7154 68##----- That's all, folks ---------------------------------------------------