X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=innduct.git;a=blobdiff_plain;f=Makefile.am;h=1e91beab3c5cb51be072264ee4607a0a02d0e9a2;hp=27835cd98603754143a59902599fd6eeddd90fcf;hb=4332dc9e11bdd1dc45a75aa3b5249f816ef7f148;hpb=4f57dcf23fd7654f0283b6e9420cf38ac827af51 diff --git a/Makefile.am b/Makefile.am index 27835cd..1e91bea 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 +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 +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: