1 ## Process this file with automake to produce Makefile.in -*- makefile -*-
3 noinst_LIBRARIES += src/language/expressions/libexpressions.a
5 src_language_expressions_libexpressions_a_CPPFLAGS = $(AM_CPPFLAGS) \
6 -I src/language/expressions \
7 -I $(top_srcdir)/src/language/expressions
9 src_language_expressions_libexpressions_a_SOURCES = \
10 src/language/expressions/evaluate.c \
11 src/language/expressions/helpers.c \
12 src/language/expressions/helpers.h \
13 src/language/expressions/optimize.c \
14 src/language/expressions/parse.c \
15 src/language/expressions/private.h \
16 src/language/expressions/public.h
18 expressions_built_sources= \
19 src/language/expressions/evaluate.h \
20 src/language/expressions/evaluate.inc \
21 src/language/expressions/operations.h \
22 src/language/expressions/optimize.inc \
23 src/language/expressions/parse.inc
25 BUILT_SOURCES += $(expressions_built_sources)
26 CLEANFILES += $(expressions_built_sources)
28 helpers = src/language/expressions/generate.pl \
29 src/language/expressions/operations.def
31 $(expressions_built_sources): $(helpers)
32 EXTRA_DIST += $(helpers) $(expressions_built_sources:=.pl)
34 SUFFIXES = .h.pl .inc.pl
36 generate_from_pl = $(top_srcdir)/mkinstalldirs `dirname $@` && \
37 $(PERL) -I $(top_srcdir)/src/language/expressions $< -o $@ -i $(top_srcdir)/src/language/expressions/operations.def