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

nix_worker_SOURCES = nix-worker.cc help.txt
nix_worker_LDADD = ../libmain/libmain.la ../libstore/libstore.la ../libutil/libutil.la \
 ../boost/format/libformat.la

nix-worker.o: help.txt.hh

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

AM_CXXFLAGS = \
 -I$(srcdir)/.. -I$(srcdir)/../libutil \
 -I$(srcdir)/../libstore -I$(srcdir)/../libmain