2003-11-19 07:03:01 -05:00
|
|
|
noinst_LIBRARIES = libexpr.a
|
2003-10-29 10:05:18 -05:00
|
|
|
|
2003-11-25 08:01:21 -05: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 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
|