summaryrefslogtreecommitdiffstats
path: root/pigeonhole/src/sieve-tools/Makefile.am
blob: f2ceffd6489456f86443e72e8c96def7c1280391 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
bin_PROGRAMS = sievec sieve-dump sieve-test sieve-filter

AM_CPPFLAGS = \
	-I$(top_srcdir)/src/lib-sieve \
	-I$(top_srcdir)/src/lib-sieve-tool \
	-I$(srcdir)/debug \
	$(LIBDOVECOT_INCLUDE) \
	$(LIBDOVECOT_SERVICE_INCLUDE)

libs = \
	$(top_builddir)/src/lib-sieve/libdovecot-sieve.la \
	$(top_builddir)/src/lib-sieve-tool/libsieve-tool.la

libs_ldadd = $(libs) $(LIBDOVECOT_STORAGE) $(LIBDOVECOT_LDA) $(LIBDOVECOT)
libs_deps = $(libs) $(LIBDOVECOT_STORAGE_DEPS) $(LIBDOVECOT_LDA_DEPS) $(LIBDOVECOT_DEPS)

# Sieve Compile Tool

sievec_CPPFLAGS = $(AM_CPPFLAGS) $(BINARY_CFLAGS)
sievec_LDFLAGS = -export-dynamic $(BINARY_LDFLAGS)
sievec_LDADD = $(libs_ldadd)
sievec_DEPENDENCIES = $(libs_deps)

sievec_SOURCES = \
	sievec.c

# Sieve Dump Tool

sieve_dump_CPPFLAGS = $(AM_CPPFLAGS) $(BINARY_CFLAGS)
sieve_dump_LDFLAGS = -export-dynamic $(BINARY_LDFLAGS)
sieve_dump_LDADD = $(libs_ldadd)
sieve_dump_DEPENDENCIES = $(libs_deps)

sieve_dump_SOURCES = \
	sieve-dump.c

# Sieve Test Tool

sieve_test_CPPFLAGS = $(AM_CPPFLAGS) $(BINARY_CFLAGS)
sieve_test_LDFLAGS = -export-dynamic $(BINARY_LDFLAGS)
sieve_test_LDADD = $(libs_ldadd)
sieve_test_DEPENDENCIES = $(libs_deps)

sieve_test_SOURCES = \
	sieve-test.c

## Unfinished tools

# Sieve Filter Tool

sieve_filter_CPPFLAGS = $(AM_CPPFLAGS) $(BINARY_CFLAGS)
sieve_filter_LDFLAGS = -export-dynamic $(BINARY_LDFLAGS)
sieve_filter_LDADD = $(libs_ldadd)
sieve_filter_DEPENDENCIES = $(libs_deps)

sieve_filter_SOURCES = \
	sieve-filter.c

noinst_HEADERS =