Pruned for the new implementation.
Showing
1 changed file
with
3 additions
and
80 deletions
... | @@ -2,86 +2,9 @@ | ... | @@ -2,86 +2,9 @@ |
2 | # Copyright (C) 2000,2001,2002 Free Software Foundation | 2 | # Copyright (C) 2000,2001,2002 Free Software Foundation |
3 | # See file COPYING in the distribution root directory for copying conditions. | 3 | # See file COPYING in the distribution root directory for copying conditions. |
4 | 4 | ||
5 | AUTOMAKE_OPTIONS = ../lib/ansi2knr | ||
6 | INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib | 5 | INCLUDES = -I${top_srcdir}/include -I${top_srcdir}/lib |
7 | SUBDIRS = testsuite | 6 | # SUBDIRS = testsuite |
8 | YLWRAP = $(SHELL) $(top_srcdir)/scripts/ylwrap | ||
9 | YFLAGS = -dt | ||
10 | |||
11 | BUILT_SOURCES= \ | ||
12 | sieve-gram.c sieve-gram.h \ | ||
13 | sieve-lex.c addr-lex.c \ | ||
14 | addr.c addr.h | ||
15 | |||
16 | MOSTLYCLEANFILES= | ||
17 | CLEANFILES= | ||
18 | DISTCLEANFILES= | ||
19 | MAINTAINERCLEANFILES=$(BUILT_SOURCES) | ||
20 | EXTRA_DIST = \ | ||
21 | $(BUILT_SOURCES) \ | ||
22 | addr-lex.l addr.y gram-sieve.y sieve-gram.y sieve-lex.l | ||
23 | |||
24 | bin_PROGRAMS = sieve | 7 | bin_PROGRAMS = sieve |
25 | 8 | ||
26 | SRC = \ | 9 | sieve_SOURCES = sieve.c |
27 | addr-lex.c \ | 10 | sieve_LDADD = ../libsieve/libsieve.la ../mailbox/libmailbox.la ../lib/libmailutils.la |
28 | addr.c \ | ||
29 | comparator.c \ | ||
30 | imparse.c \ | ||
31 | interp.c \ | ||
32 | message.c \ | ||
33 | parseaddr.c \ | ||
34 | script.c \ | ||
35 | sieve-lex.c \ | ||
36 | sieve-gram.c \ | ||
37 | sieve_err.c \ | ||
38 | svcb.c \ | ||
39 | svctx.c \ | ||
40 | svfield.c \ | ||
41 | svutil.c \ | ||
42 | tree.c \ | ||
43 | util.c | ||
44 | |||
45 | HDR = \ | ||
46 | comparator.h \ | ||
47 | imparse.h \ | ||
48 | interp.h \ | ||
49 | message.h \ | ||
50 | parseaddr.h \ | ||
51 | script.h \ | ||
52 | sieve.h \ | ||
53 | sieve_err.h \ | ||
54 | sieve_interface.h \ | ||
55 | svfield.h \ | ||
56 | sv.h \ | ||
57 | tree.h \ | ||
58 | util.h | ||
59 | |||
60 | sieve_LDADD = ../mailbox/libmailbox.la ../lib/libmailutils.la | ||
61 | sieve_SOURCES = \ | ||
62 | sieve.c \ | ||
63 | ${SRC} $(HDR) | ||
64 | |||
65 | addr-lex.c: $(srcdir)/addr-lex.l addr.h | ||
66 | $(YLWRAP) "$(LEX)" $(srcdir)/addr-lex.l lex.yy.c \ | ||
67 | addr-lex.c -- -yy addr | ||
68 | |||
69 | addr.c addr.h: $(srcdir)/addr.y | ||
70 | $(YLWRAP) "$(YACC) $(YFLAGS)" $(srcdir)/addr.y \ | ||
71 | y.tab.c addr.c y.tab.h addr.h \ | ||
72 | -- -yy addr | ||
73 | |||
74 | sieve-lex.c: $(srcdir)/sieve-lex.l sieve-gram.h | ||
75 | $(YLWRAP) "$(LEX)" $(srcdir)/sieve-lex.l lex.yy.c sieve-lex.c | ||
76 | |||
77 | sieve-gram.c sieve-gram.h: $(srcdir)/sieve-gram.y | ||
78 | $(YLWRAP) "$(YACC) $(YFLAGS)" $(srcdir)/sieve-gram.y \ | ||
79 | y.tab.c sieve-gram.c y.tab.h sieve-gram.h | ||
80 | |||
81 | comparator.o: sieve-gram.h | ||
82 | script.o: sieve-gram.h | ||
83 | tree.o: sieve-gram.h | ||
84 | |||
85 | empty: clean | ||
86 | rm -f $(BUILT_SOURCES) | ||
87 | ... | ... |
-
Please register or sign in to post a comment