chiark / gitweb /
Support caller simply setting CFLAGS
[innduct.git] / Makefile.am
index 1e91beab3c5cb51be072264ee4607a0a02d0e9a2..7badc290e01b1b17a95078500a3a91e16abb2403 100644 (file)
@@ -24,7 +24,7 @@
 
 AUTOMAKE_OPTIONS=foreign
 
-INCLUDES = -I/usr/include/inn
+AM_CPPFLAGS = -I/usr/include/inn $(CMDLINE_CPPFLAGS)
 
 WERROR = -Werror
 CMDLINE_CFLAGS =
@@ -37,10 +37,10 @@ WARNINGS= \
        -Wmissing-format-attribute -Wredundant-decls -Wnested-externs \
        -Wno-pointer-sign
 
-CFLAGS = @CFLAGS@ $(WARNINGS) $(WERROR) $(CMDLINE_CFLAGS)
+AM_CFLAGS = $(WARNINGS) $(WERROR) $(CMDLINE_CFLAGS)
 
 bin_PROGRAMS = innduct
-bin_SCRIPTS = innduct-stats-report
+bin_SCRIPTS = innduct-stats-report innduct-forall
 man_MANS = innduct.8 innduct-stats-report.8
 innduct_SOURCES = duct.c conn.c filemon.c infile.c recv.c xmit.c \
                cli.c defer.c help.c statemc.c __oop-read-copy.c