1 ## Process this file with automake to produce Makefile.in -*- makefile -*-
3 language_expressions_sources = \
4 src/language/expressions/evaluate.c \
5 src/language/expressions/helpers.c \
6 src/language/expressions/helpers.h \
7 src/language/expressions/optimize.c \
8 src/language/expressions/parse.c \
9 src/language/expressions/private.h \
10 src/language/expressions/public.h
12 expressions_built_sources= \
13 src/language/expressions/evaluate.h \
14 src/language/expressions/evaluate.inc \
15 src/language/expressions/operations.h \
16 src/language/expressions/optimize.inc \
17 src/language/expressions/parse.inc
19 BUILT_SOURCES += $(expressions_built_sources)
20 CLEANFILES += $(expressions_built_sources)
22 helpers = src/language/expressions/generate.pl \
23 src/language/expressions/operations.def
25 $(expressions_built_sources): $(helpers)
26 EXTRA_DIST += $(helpers) $(expressions_built_sources:=.pl)
27 AM_CPPFLAGS += -I$(top_builddir)/src/language/expressions \
28 -I$(top_srcdir)/src/language/expressions
30 SUFFIXES = .h.pl .inc.pl
32 generate_from_pl = $(MKDIR_P) `dirname $@` && \
33 $(PERL) -I $(top_srcdir)/src/language/expressions $< -o $@ -i $(top_srcdir)/src/language/expressions/operations.def