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