blob: 71c1f89f1dcd856d35cbfea080d09031c21bd3c2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
noinst_LIBRARIES = libexpr.a
libexpr_a_SOURCES = nixexpr.cc parser.cc eval.cc primops.cc
AM_CXXFLAGS = \
-I.. -I../../externals/inst/include -I../libutil -I../libstore
# Parse table generation.
parser.o: parse-table.h
parse-table.h: nix.tbl
../bin2c/bin2c nixParseTable < $< > $@ || (rm $@ && exit 1)
%.tbl: %.sdf
../../externals/inst/bin/sdf2table -s -i $< -o $@
CLEANFILES = parse-table.h nix.tbl
|