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 generate.pl 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
17 helpers = $(srcdir)/generate.pl $(srcdir)/operations.def
19 evaluate.inc: $(srcdir)/evaluate.inc.pl $(helpers)
20 $(PERL) -I $(srcdir) $(srcdir)/evaluate.inc.pl -o $@ -i $(srcdir)/operations.def
22 evaluate.h: $(srcdir)/evaluate.h.pl $(helpers)
23 $(PERL) -I $(srcdir) $(srcdir)/evaluate.h.pl -o $@ -i $(srcdir)/operations.def
25 operations.h: $(srcdir)/operations.h.pl $(helpers)
26 $(PERL) -I $(srcdir) $(srcdir)/operations.h.pl -o $@ -i $(srcdir)/operations.def
28 optimize.inc: $(srcdir)/optimize.inc.pl $(helpers)
29 $(PERL) -I $(srcdir) $(srcdir)/optimize.inc.pl -o $@ -i $(srcdir)/operations.def
31 parse.inc: $(srcdir)/parse.inc.pl $(helpers)
32 $(PERL) -I $(srcdir) $(srcdir)/parse.inc.pl -o $@ -i $(srcdir)/operations.def