1 ## Process this file with automake to produce Makefile.in -*- makefile -*-
3 include $(top_srcdir)/src/Make.build
5 noinst_LIBRARIES = libexpressions.a
7 libexpressions_a_SOURCES = evaluate.c helpers.c helpers.h optimize.c \
8 parse.c private.h public.h \
9 evaluate.inc.pl PSPP_expressions.pm operations.def \
10 evaluate.h.pl operations.h.pl optimize.inc.pl parse.inc.pl
12 BUILT_SOURCES = evaluate.h evaluate.inc operations.h optimize.inc parse.inc
13 CLEANFILES = evaluate.h evaluate.inc operations.h optimize.inc parse.inc
18 helpers = $(srcdir)/PSPP_expressions.pm $(srcdir)/operations.def
20 evaluate.inc: $(srcdir)/evaluate.inc.pl $(helpers)
21 $(PERL) -I $(srcdir) $< -o $@ -i $(srcdir)/operations.def
23 evaluate.h: $(srcdir)/evaluate.h.pl $(helpers)
24 $(PERL) -I $(srcdir) $< -o $@ -i $(srcdir)/operations.def
26 operations.h: $(srcdir)/operations.h.pl $(helpers)
27 $(PERL) -I $(srcdir) $< -o $@ -i $(srcdir)/operations.def
29 optimize.inc: $(srcdir)/optimize.inc.pl $(helpers)
30 $(PERL) -I $(srcdir) $< -o $@ -i $(srcdir)/operations.def
32 parse.inc: $(srcdir)/parse.inc.pl $(helpers)
33 $(PERL) -I $(srcdir) $< -o $@ -i $(srcdir)/operations.def