Updated the docs and the parser for EXAMINE to make it clearer which options
[pspp] / src / language / expressions / automake.mk
1 ## Process this file with automake to produce Makefile.in  -*- makefile -*-
2
3 noinst_LIBRARIES += src/language/expressions/libexpressions.a
4
5 src_language_expressions_libexpressions_a_CPPFLAGS = $(AM_CPPFLAGS) \
6         -I src/language/expressions \
7         -I $(top_srcdir)/src/language/expressions
8
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
17
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
24
25 BUILT_SOURCES += $(expressions_built_sources)
26 CLEANFILES += $(expressions_built_sources)
27
28 helpers = src/language/expressions/generate.pl \
29         src/language/expressions/operations.def
30
31 $(expressions_built_sources): $(helpers)
32 EXTRA_DIST += $(helpers) $(expressions_built_sources:=.pl)
33
34 SUFFIXES = .h.pl .inc.pl
35
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
38
39 .h.pl.h:
40         $(generate_from_pl)
41
42 .inc.pl.inc:
43         $(generate_from_pl)