about summary refs log tree commit diff
path: root/src/nix-instantiate/Makefile.am
blob: 0726d1296f235d4e0b11c066dc1164e33b8d2d9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
bin_PROGRAMS = nix-instantiate

nix_instantiate_SOURCES = main.cc help.txt
nix_instantiate_LDADD = ../libmain/libmain.a ../libexpr/libexpr.a \
 ../libstore/libstore.a ../libutil/libutil.a \
 ../boost/format/libformat.a -L../../externals/inst/lib -ldb_cxx \
 -lATerm

main.o: help.txt.hh

%.txt.hh: %.txt
	../bin2c/bin2c helpText < $< > $@ || (rm $@ && exit 1)

AM_CXXFLAGS = \
 -I.. -I../../externals/inst/include -I../libutil -I../libstore \
 -I../libexpr -I../libmain