chiark / gitweb /
turn on a bunch of warnings
[innduct.git] / Makefile.am
1 AUTOMAKE_OPTIONS=foreign
2
3 INCLUDES = -I/usr/include/inn
4
5 WERROR = -Werror
6 CMDLINE_CFLAGS =
7
8 WARNINGS= \
9         -Wall -Wformat=2 -Wno-format-zero-length \
10         -Wshadow -Wpointer-arith -Wbad-function-cast \
11         -Wwrite-strings -Wsign-compare -Wstrict-prototypes \
12         -Wmissing-prototypes -Wmissing-declarations \
13         -Wmissing-format-attribute -Wredundant-decls -Wnested-externs \
14         -Wno-pointer-sign
15
16 CFLAGS = @CFLAGS@ $(WARNINGS) $(WERROR) $(CMDLINE_CFLAGS)
17
18 bin_PROGRAMS = innduct
19 innduct_SOURCES = innduct.c __oop-read-copy.c
20 innduct_LDADD = -L/usr/lib/news -lstorage -linn -lm -loop
21
22 autoconf:
23         aclocal-1.4
24         autoheader2.50
25         autoconf2.50
26         automake-1.4
27         perl -i.bak -pe '$$_="" if m/^(?:Makefile|config\.h):/..m/^$$/' \
28                 Makefile.in
29
30 MAINTAINERCLEANFILES = configure config.h.in Makefile.in