about summary refs log tree commit diff
path: root/src/nix-instantiate/Makefile.am
blob: e0f1adbb9f41def582003972cbd5982b8a17536d (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 = nix-instantiate.cc help.txt
nix_instantiate_LDADD = ../libmain/libmain.la ../libexpr/libexpr.la \
 ../libstore/libstore.la ../libutil/libutil.la \
 ../boost/format/libformat.la ${bdb_lib} ${aterm_lib} @ADDITIONAL_NETWORK_LIBS@

nix-instantiate.o: help.txt.hh

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

AM_CXXFLAGS = \
 ${bdb_include} ${aterm_include} \
 -I$(srcdir)/.. -I$(srcdir)/../libutil -I$(srcdir)/../libstore \
 -I$(srcdir)/../libexpr -I$(srcdir)/../libmain -I../libexpr