chiark / gitweb /
cf76515103a64e91d243badd17704ba2f3a9ea96
[inn-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 conn.c filemon.c infile.c recv.c xmit.c \
20                 cli.c defer.c help.c statemc.c __oop-read-copy.c
21
22 innduct_LDADD = -L/usr/lib/news -lstorage -linn -lm -loop
23
24 autoconf:
25         aclocal-1.4
26         autoheader2.50
27         autoconf2.50
28         automake-1.4
29         perl -i.bak -pe '$$_="" if m/^(?:Makefile|config\.h):/..m/^$$/' \
30                 Makefile.in
31
32 MAINTAINERCLEANFILES = configure config.h.in Makefile.in