X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=inn-innduct.git;a=blobdiff_plain;f=Makefile.am;h=cf76515103a64e91d243badd17704ba2f3a9ea96;hp=27835cd98603754143a59902599fd6eeddd90fcf;hb=f4aee95c41a0d6231d115386b8fbb23f6b8e349a;hpb=4f57dcf23fd7654f0283b6e9420cf38ac827af51 diff --git a/Makefile.am b/Makefile.am index 27835cd..cf76515 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,8 +2,23 @@ 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 +innduct_SOURCES = innduct.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: