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