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

nix_store_SOURCES = nix-store.cc dotgraph.cc dotgraph.hh help.txt
nix_store_LDADD = ../libmain/libmain.la ../libstore/libstore.la ../libutil/libutil.la \
 ../boost/format/libformat.la @ADDITIONAL_NETWORK_LIBS@

nix-store.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