X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=Makefile.am;h=b3a424942be11c7aceecc0bdc18ed348676a2d92;hb=eeed50741173badab3e65b24b6aeb824c314688a;hp=d81c8e597f2ffd9d5d5951688186915cd0f08e0b;hpb=68be9a916b628ef3bd5051e4276a58474a5e2d22;p=innduct.git diff --git a/Makefile.am b/Makefile.am index d81c8e5..b3a4249 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,8 +2,24 @@ 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 +man_MANS = innduct.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 +30,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