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