X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=Makefile.am;h=693c90fbbf79ea8c4ece1df075c8a8b40cc9f3f2;hb=32e76c7d514d05d5ac6ad9833035b9826fbc1c8f;hp=d81c8e597f2ffd9d5d5951688186915cd0f08e0b;hpb=68be9a916b628ef3bd5051e4276a58474a5e2d22;p=innduct.git diff --git a/Makefile.am b/Makefile.am index d81c8e5..693c90f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,9 +1,50 @@ +# innduct +# tailing reliable realtime streaming feeder for inn +# Makefile.am +# +# Copyright (C) 2010 Ian Jackson +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +# (I believe that when you compile and link this as part of the inn2 +# build, with the Makefile runes I have provided, all the libraries +# and files which end up included in innduct are licence-compatible +# with GPLv3. If not then please let me know. -Ian Jackson.) + AUTOMAKE_OPTIONS=foreign -INCLUDES = -I/usr/include/inn +AM_CPPFLAGS = -I/usr/include/inn + +WERROR = -Werror +CMDLINE_CFLAGS = + +WARNINGS= \ + -Wall -Wformat=2 -Wno-format-zero-length \ + -Wshadow -Wpointer-arith -Wbad-function-cast \ + -Wwrite-strings -Wsign-compare -Wstrict-prototypes \ + -Wmissing-prototypes -Wmissing-declarations \ + -Wmissing-format-attribute -Wredundant-decls -Wnested-externs \ + -Wno-pointer-sign + +CFLAGS = @CFLAGS@ $(WARNINGS) $(WERROR) $(CMDLINE_CFLAGS) bin_PROGRAMS = innduct -innduct_SOURCES = innduct.c __oop-read-copy.c +bin_SCRIPTS = innduct-stats-report innduct-forall +man_MANS = innduct.8 innduct-stats-report.8 +innduct_SOURCES = duct.c conn.c filemon.c infile.c recv.c xmit.c \ + cli.c defer.c help.c statemc.c __oop-read-copy.c + innduct_LDADD = -L/usr/lib/news -lstorage -linn -lm -loop autoconf: @@ -14,4 +55,4 @@ autoconf: perl -i.bak -pe '$$_="" if m/^(?:Makefile|config\.h):/..m/^$$/' \ Makefile.in -GENERATED_SHIP = configure config.h.in Makefile.in +MAINTAINERCLEANFILES = configure config.h.in Makefile.in