diff options
Diffstat (limited to 'libmu_sieve')
-rw-r--r-- | libmu_sieve/Makefile.am | 23 | ||||
-rw-r--r-- | libmu_sieve/gylwrap.conf | 4 | ||||
-rw-r--r-- | libmu_sieve/sieve-gram.y (renamed from libmu_sieve/sieve.y) | 0 | ||||
-rw-r--r-- | libmu_sieve/sieve-lex.l (renamed from libmu_sieve/sieve.l) | 0 |
4 files changed, 10 insertions, 17 deletions
diff --git a/libmu_sieve/Makefile.am b/libmu_sieve/Makefile.am index 084211c0a..2954794a9 100644 --- a/libmu_sieve/Makefile.am +++ b/libmu_sieve/Makefile.am @@ -15,7 +15,7 @@ ## You should have received a copy of the GNU General Public License ## along with GNU Mailutils. If not, see <http://www.gnu.org/licenses/>. -YLWRAP = $(SHELL) $(mu_aux_dir)/gylwrap +YLWRAP = @MU_YLWRAP@ AM_YFLAGS = -dtv #AM_LEXFLAGS=-dvp AM_CPPFLAGS =\ @@ -39,9 +39,8 @@ libmu_sieve_la_SOURCES = \ relational.c\ require.c\ runtime.c\ - sieve-gram.c\ - sieve-gram.h\ - sieve-lex.c\ + sieve-gram.y\ + sieve-lex.l\ strexp.c\ string.c\ tests.c\ @@ -50,24 +49,14 @@ libmu_sieve_la_SOURCES = \ libmu_sieve_la_LIBADD = ${MU_LIB_MAILUTILS} @LTDL_LIB@ libmu_sieve_la_LDFLAGS = -version-info @VI_CURRENT@:@VI_REVISION@:@VI_AGE@ -noinst_HEADERS = sieve-priv.h +noinst_HEADERS = sieve-priv.h sieve-gram.h BUILT_SOURCES = \ sieve-gram.c sieve-gram.h \ sieve-lex.c -MAINTAINERCLEANFILES=$(BUILT_SOURCES) - -EXTRA_DIST = sieve.y sieve.l +EXTRA_DIST=gylwrap.conf -sieve-lex.c: $(srcdir)/sieve.l sieve-gram.h - $(AM_V_GEN)$(YLWRAP) "$(LEX) $(AM_LEXFLAGS) $(LEXFLAGS)" \ - $(srcdir)/sieve.l lex.yy.c sieve-lex.c \ - -- -yy mu_sieve_yy - -sieve-gram.c sieve-gram.h: $(srcdir)/sieve.y - $(AM_V_GEN)$(YLWRAP) "$(YACC) $(AM_YFLAGS) $(YFLAGS)" $(srcdir)/sieve.y \ - y.tab.c sieve-gram.c y.tab.h sieve-gram.h y.output y.output \ - -- -yy mu_sieve_yy +MAINTAINERCLEANFILES=$(BUILT_SOURCES) diff --git a/libmu_sieve/gylwrap.conf b/libmu_sieve/gylwrap.conf new file mode 100644 index 000000000..3f574d74e --- /dev/null +++ b/libmu_sieve/gylwrap.conf @@ -0,0 +1,4 @@ +# Configuration settings for gylwrap. +# See ../mu-aux/gylwrap --help, for details. + +yyrepl=mu_sieve_yy diff --git a/libmu_sieve/sieve.y b/libmu_sieve/sieve-gram.y index 5499a5ece..5499a5ece 100644 --- a/libmu_sieve/sieve.y +++ b/libmu_sieve/sieve-gram.y diff --git a/libmu_sieve/sieve.l b/libmu_sieve/sieve-lex.l index a93245e70..a93245e70 100644 --- a/libmu_sieve/sieve.l +++ b/libmu_sieve/sieve-lex.l |