Makefile.am
1.74 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#CFLAGS = -Wall -pedantic -g -DTESTING
AUTOMAKE_OPTIONS = ../lib/ansi2knr
INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib @ARGPINCS@
YLWRAP = $(SHELL) $(srcdir)/ylwrap
YFLAGS = -d
BUILT_SOURCES= \
sieve-gram.c sieve-gram.h \
sieve-lex.c addr-lex.c \
addr.c addr.h
MOSTLYCLEANFILES=
CLEANFILES=
DISTCLEANFILES=
MAINTAINERCLEANFILES=$(BUILT_SOURCES)
EXTRA_DIST = \
$(BUILT_SOURCES) \
addr-lex.l addr.y gram-sieve.y sieve-gram.y sieve-lex.l md5-rsa.h
bin_PROGRAMS = sieve
SRC = \
addr-lex.c \
addr.c \
comparator.c \
imparse.c \
interp.c \
message.c \
md5-rsa.c \
parseaddr.c \
script.c \
sieve-lex.c \
sieve-gram.c \
sieve_err.c \
svcb.c \
svctx.c \
svfield.c \
svutil.c \
tree.c \
util.c
HDR = \
comparator.h \
imparse.h \
interp.h \
message.h \
parseaddr.h \
script.h \
sieve.h \
sieve_err.h \
sieve_interface.h \
svfield.h \
sv.h \
tree.h \
util.h
sieve_DEPENDENCIES = ../mailbox/libmailbox.la
sieve_LDADD = @ARGPLIBS@ ../mailbox/libmailbox.la ../lib/libmailutils.a
sieve_SOURCES = \
sieve.c \
${SRC} $(HDR)
addr-lex.c: $(srcdir)/addr-lex.l addr.h
$(YLWRAP) "$(LEX)" $(srcdir)/addr-lex.l lex.yy.c \
addr-lex.c -- -yy addr
addr.c addr.h: $(srcdir)/addr.y
$(YLWRAP) "$(YACC) $(YFLAGS)" $(srcdir)/addr.y \
y.tab.c addr.c y.tab.h addr.h \
-- -yy addr
sieve-lex.c: $(srcdir)/sieve-lex.l sieve-gram.h
$(YLWRAP) "$(LEX)" $(srcdir)/sieve-lex.l lex.yy.c sieve-lex.c
sieve-gram.c sieve-gram.h: $(srcdir)/sieve-gram.y
$(YLWRAP) "$(YACC) $(YFLAGS)" $(srcdir)/sieve-gram.y \
y.tab.c sieve-gram.c y.tab.h sieve-gram.h
comparator.o: sieve-gram.h
script.o: sieve-gram.h
tree.o: sieve-gram.h
empty: clean
rm -f $(BUILT_SOURCES)