2 # tailing reliable realtime streaming feeder for inn
5 # Copyright (C) 2010 Ian Jackson <ijackson@chiark.greenend.org.uk>
7 # This program is free software: you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation, either version 3 of the License, or
10 # (at your option) any later version.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>.
20 # (I believe that when you compile and link this as part of the inn2
21 # build, with the Makefile runes I have provided, all the libraries
22 # and files which end up included in innduct are licence-compatible
23 # with GPLv3. If not then please let me know. -Ian Jackson.)
25 AUTOMAKE_OPTIONS=foreign
27 INCLUDES = -I/usr/include/inn
33 -Wall -Wformat=2 -Wno-format-zero-length \
34 -Wshadow -Wpointer-arith -Wbad-function-cast \
35 -Wwrite-strings -Wsign-compare -Wstrict-prototypes \
36 -Wmissing-prototypes -Wmissing-declarations \
37 -Wmissing-format-attribute -Wredundant-decls -Wnested-externs \
40 CFLAGS = @CFLAGS@ $(WARNINGS) $(WERROR) $(CMDLINE_CFLAGS)
42 bin_PROGRAMS = innduct
43 bin_SCRIPTS = innduct-stats-report
44 man_MANS = innduct.8 innduct-stats-report.8
45 innduct_SOURCES = duct.c conn.c filemon.c infile.c recv.c xmit.c \
46 cli.c defer.c help.c statemc.c __oop-read-copy.c
48 innduct_LDADD = -L/usr/lib/news -lstorage -linn -lm -loop
55 perl -i.bak -pe '$$_="" if m/^(?:Makefile|config\.h):/..m/^$$/' \
58 MAINTAINERCLEANFILES = configure config.h.in Makefile.in