chiark / gitweb /
changelog: Finalise 2.2
[innduct.git] / Makefile.am
1 #  innduct
2 #  tailing reliable realtime streaming feeder for inn
3 #  Makefile.am
4 #
5 #  Copyright Ian Jackson <ijackson@chiark.greenend.org.uk>
6 #  and contributors; see LICENCE.txt.
7 #  SPDX-License-Identifier: GPL-3.0-or-later
8
9 AUTOMAKE_OPTIONS=foreign
10
11 AM_CPPFLAGS = -I/usr/include/inn $(CMDLINE_CPPFLAGS)
12
13 WERROR = -Werror
14 CMDLINE_CFLAGS =
15
16 WARNINGS= \
17         -Wall -Wformat=2 -Wno-format-zero-length \
18         -Wshadow -Wpointer-arith -Wbad-function-cast \
19         -Wwrite-strings -Wsign-compare -Wstrict-prototypes \
20         -Wmissing-prototypes -Wmissing-declarations \
21         -Wmissing-format-attribute -Wredundant-decls -Wnested-externs \
22         -Wno-pointer-sign
23
24 AM_CFLAGS = $(WARNINGS) $(WERROR) $(CMDLINE_CFLAGS)
25
26 bin_PROGRAMS = innduct
27 bin_SCRIPTS = innduct-stats-report innduct-forall
28 man_MANS = innduct.8 innduct-stats-report.8
29 innduct_SOURCES = duct.c conn.c filemon.c infile.c recv.c xmit.c \
30                 cli.c defer.c help.c statemc.c
31
32 dist_doc_DATA = README.states README.statistics README.example \
33                 LICENCE.txt
34
35 innduct_LDADD = -lm -loop
36
37 autogen autoconf:
38         ./autogen.sh
39
40 MAINTAINERCLEANFILES = configure config.h.in Makefile.in