2003-11-19 07:03:01 -05:00
|
|
|
noinst_LIBRARIES = libexpr.a
|
2003-10-29 10:05:18 -05:00
|
|
|
|
2003-11-19 07:03:01 -05:00
|
|
|
libexpr_a_SOURCES = nixexpr.cc parser.cc eval.cc primops.cc
|
2003-10-29 10:05:18 -05:00
|
|
|
|
|
|
|
AM_CXXFLAGS = \
|
2003-11-19 07:03:01 -05:00
|
|
|
-I.. -I../../externals/inst/include -I../libutil -I../libstore
|
2003-10-29 11:05:03 -05:00
|
|
|
|
|
|
|
|
|
|
|
# Parse table generation.
|
|
|
|
|
|
|
|
parser.o: parse-table.h
|
|
|
|
|
2003-11-18 07:06:07 -05:00
|
|
|
parse-table.h: nix.tbl
|
|
|
|
../bin2c/bin2c nixParseTable < $< > $@ || (rm $@ && exit 1)
|
2003-10-29 11:05:03 -05:00
|
|
|
|
|
|
|
%.tbl: %.sdf
|
2003-11-19 05:04:03 -05:00
|
|
|
../../externals/inst/bin/sdf2table -s -i $< -o $@
|
2003-10-29 11:05:03 -05:00
|
|
|
|
2003-11-18 07:06:07 -05:00
|
|
|
CLEANFILES = parse-table.h nix.tbl
|