aboutsummaryrefslogtreecommitdiff
path: root/src/nix-worker/Makefile.am
blob: b499d0d8158af6aa91e19269e1a63e454609171a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
libexec_PROGRAMS = nix-worker

nix_worker_SOURCES = main.cc help.txt
nix_worker_LDADD = ../libmain/libmain.la ../libstore/libstore.la ../libutil/libutil.la \
 ../boost/format/libformat.la ${bdb_lib} ${aterm_lib}

main.o: help.txt.hh

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

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