Use a casefile, instead of a case sink, for MATCH FILES output.
[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 $(top_builddir)/src/language/expressions/src_language_expressions_libexpressions_a-evaluate.o: \
6         $(top_builddir)/src/language/expressions/evaluate.h \
7         $(top_builddir)/src/language/expressions/operations.h \
8         $(top_builddir)/src/language/expressions/evaluate.inc
9
10 $(top_builddir)/src/language/expressions/src_language_expressions_libexpressions_a-optimize.o: \
11         $(top_builddir)/src/language/expressions/optimize.inc
12
13 $(top_builddir)/src/language/expressions/src_language_expressions_libexpressions_a-parse.o: \
14         $(top_builddir)/src/language/expressions/parse.inc
15
16
17 CLEANFILES += $(expressions_built_sources)
18
19 src_language_expressions_libexpressions_a_SOURCES = \
20         src/language/expressions/evaluate.c \
21         src/language/expressions/helpers.c \
22         src/language/expressions/helpers.h \
23         src/language/expressions/optimize.c \
24         src/language/expressions/parse.c \
25         src/language/expressions/private.h \
26         src/language/expressions/public.h \
27         src/language/expressions/evaluate.inc.pl \
28         src/language/expressions/generate.pl \
29         src/language/expressions/operations.def \
30         src/language/expressions/evaluate.h.pl \
31         src/language/expressions/operations.h.pl \
32         src/language/expressions/optimize.inc.pl \
33         src/language/expressions/parse.inc.pl
34
35 expressions_built_sources= \
36         src/language/expressions/evaluate.h \
37         src/language/expressions/evaluate.inc \
38         src/language/expressions/operations.h \
39         src/language/expressions/optimize.inc \
40         src/language/expressions/parse.inc
41
42 src_language_expressions_libexpressions_a_CPPFLAGS = $(AM_CPPFLAGS) \
43         -I $(top_builddir)/src/language/expressions \
44         -I $(top_srcdir)/src/language/expressions
45
46 nodist_src_language_expressions_libexpressions_a_SOURCES = $(expressions_built_sources)
47
48
49 PERL = @PERL@
50
51 helpers = $(top_srcdir)/src/language/expressions/generate.pl \
52         $(top_srcdir)/src/language/expressions/operations.def
53
54 %: %.pl $(helpers)
55         @mkdir -p `dirname $@`
56         $(PERL) -I $(top_srcdir)/src/language/expressions $< -o $@ -i $(top_srcdir)/src/language/expressions/operations.def
57