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