X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=innduct.git;a=blobdiff_plain;f=Makefile.am;h=21003dbfbc3b13b09eea286d06ac922a8dfcd071;hp=d81c8e597f2ffd9d5d5951688186915cd0f08e0b;hb=a34c62479ae1f91aac7b30d3d5f1a5106a6635f5;hpb=68be9a916b628ef3bd5051e4276a58474a5e2d22 diff --git a/Makefile.am b/Makefile.am index d81c8e5..21003db 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,17 +1,53 @@ +# 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 $(CMDLINE_CPPFLAGS) + +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 + +AM_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: - aclocal-1.4 - autoheader2.50 - autoconf2.50 - automake-1.4 - perl -i.bak -pe '$$_="" if m/^(?:Makefile|config\.h):/..m/^$$/' \ - Makefile.in +autogen autoconf: + ./autogen.sh -GENERATED_SHIP = configure config.h.in Makefile.in +MAINTAINERCLEANFILES = configure config.h.in Makefile.in