2
# tools.hash_drv/Makefile.am
8
-DLOGDIR=\"$(logdir)\" -DCONFIG_DEFAULT=\"$(sysconfdir)/dspam.conf\" \
9
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE -I$(top_srcdir)
11
CFLAGS = @CFLAGS@ -I$(top_srcdir)/src
13
bin_PROGRAMS = cssstat csscompress cssclean cssconvert
15
DEFS = @DEFS@ -DLOGDIR=\"$(logdir)\" \
16
-DCONFIG_DEFAULT=\"$(sysconfdir)/dspam.conf\"\
17
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE
19
cssstat_SOURCES = cssstat.c ../read_config.c ../util.c ../diction.c \
20
../nodetree.c ../hash_drv.c ../error.c ../config_shared.c \
22
cssstat_LDFLAGS = -static
25
cssstat_CPPFLAGS = $(libhash_drv_cppflags)
26
cssstat_LDFLAGS += $(libhash_drv_libs) $(libhash_drv_ldflags)
30
cssclean_SOURCES = cssclean.c ../read_config.c ../util.c ../diction.c \
31
../nodetree.c ../hash_drv.c ../error.c ../config_shared.c \
33
cssclean_LDFLAGS = -static
36
cssclean_CPPFLAGS = $(libhash_drv_cppflags)
37
cssclean_LDFLAGS += $(libhash_drv_libs) $(libhash_drv_ldflags)
41
cssconvert_SOURCES = cssconvert.c ../read_config.c ../util.c ../diction.c \
42
../nodetree.c ../hash_drv.c ../error.c ../config_shared.c \
44
cssconvert_LDFLAGS = -static
47
cssconvert_CPPFLAGS = $(libhash_drv_cppflags)
48
cssconvert_LDFLAGS += $(libhash_drv_libs) $(libhash_drv_ldflags)
52
csscompress_SOURCES = csscompress.c ../read_config.c ../util.c ../diction.c \
53
../nodetree.c ../hash_drv.c ../error.c ../config_shared.c \
55
csscompress_LDFLAGS = -static
58
csscompress_CPPFLAGS = $(libhash_drv_cppflags)
59
csscompress_LDFLAGS += $(libhash_drv_libs) $(libhash_drv_ldflags)