about summary refs log blame commit diff
path: root/src/nix-hash/Makefile.am
blob: d7c569b68101e4fb58536e05e0b3705e4dfc551c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                       
                                       
                                                                                      
                                                        
 




                                                              
               
                                                                                     
bin_PROGRAMS = nix-hash

nix_hash_SOURCES = nix-hash.cc help.txt
nix_hash_LDADD = ../libmain/libmain.la ../libstore/libstore.la ../libutil/libutil.la \
 ../boost/format/libformat.la ${aterm_lib} ${sqlite_lib}

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