1 | # $Id: Makefile.am,v 1.2 2010/12/05 01:53:33 sbajic Exp $ # |
---|
2 | # tools.hash_drv/Makefile.am |
---|
3 | # |
---|
4 | |
---|
5 | EXTRA_DIST = |
---|
6 | |
---|
7 | AM_CPPFLAGS = \ |
---|
8 | -DLOGDIR=\"$(logdir)\" -DCONFIG_DEFAULT=\"$(sysconfdir)/dspam.conf\" \ |
---|
9 | -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE -I$(top_srcdir) |
---|
10 | |
---|
11 | CFLAGS = @CFLAGS@ -I$(top_srcdir)/src |
---|
12 | |
---|
13 | bin_PROGRAMS = cssstat cssclean cssconvert csscompress |
---|
14 | |
---|
15 | DEFS = @DEFS@ -DLOGDIR=\"$(logdir)\" \ |
---|
16 | -DCONFIG_DEFAULT=\"$(sysconfdir)/dspam.conf\"\ |
---|
17 | -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -D_GNU_SOURCE |
---|
18 | |
---|
19 | cssstat_SOURCES = cssstat.c ../read_config.c ../util.c ../diction.c \ |
---|
20 | ../nodetree.c ../hash_drv.c ../error.c ../config_shared.c \ |
---|
21 | ../pref.c |
---|
22 | cssstat_LDFLAGS = |
---|
23 | cssstat_LDADD = -lm |
---|
24 | if DYNAMIC_DRIVER |
---|
25 | if BUILD_HASH_DRV |
---|
26 | cssstat_CPPFLAGS = $(libhash_drv_cppflags) |
---|
27 | cssstat_LDFLAGS += $(libhash_drv_libs) $(libhash_drv_ldflags) |
---|
28 | endif |
---|
29 | endif |
---|
30 | |
---|
31 | cssclean_SOURCES = cssclean.c ../read_config.c ../util.c ../diction.c \ |
---|
32 | ../nodetree.c ../hash_drv.c ../error.c ../config_shared.c \ |
---|
33 | ../pref.c |
---|
34 | cssclean_LDFLAGS = |
---|
35 | cssclean_LDADD = -lm |
---|
36 | if DYNAMIC_DRIVER |
---|
37 | if BUILD_HASH_DRV |
---|
38 | cssclean_CPPFLAGS = $(libhash_drv_cppflags) |
---|
39 | cssclean_LDFLAGS += $(libhash_drv_libs) $(libhash_drv_ldflags) |
---|
40 | endif |
---|
41 | endif |
---|
42 | |
---|
43 | cssconvert_SOURCES = cssconvert.c ../read_config.c ../util.c ../diction.c \ |
---|
44 | ../nodetree.c ../hash_drv.c ../error.c ../config_shared.c \ |
---|
45 | ../pref.c |
---|
46 | cssconvert_LDFLAGS = |
---|
47 | cssconvert_LDADD = -lm |
---|
48 | if DYNAMIC_DRIVER |
---|
49 | if BUILD_HASH_DRV |
---|
50 | cssconvert_CPPFLAGS = $(libhash_drv_cppflags) |
---|
51 | cssconvert_LDFLAGS += $(libhash_drv_libs) $(libhash_drv_ldflags) |
---|
52 | endif |
---|
53 | endif |
---|
54 | |
---|
55 | csscompress_SOURCES = csscompress.c ../read_config.c ../util.c ../diction.c \ |
---|
56 | ../nodetree.c ../hash_drv.c ../error.c ../config_shared.c \ |
---|
57 | ../pref.c |
---|
58 | csscompress_LDFLAGS = |
---|
59 | csscompress_LDADD = -lm |
---|
60 | if DYNAMIC_DRIVER |
---|
61 | if BUILD_HASH_DRV |
---|
62 | csscompress_CPPFLAGS = $(libhash_drv_cppflags) |
---|
63 | csscompress_LDFLAGS += $(libhash_drv_libs) $(libhash_drv_ldflags) |
---|
64 | endif |
---|
65 | endif |
---|