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

               
                                                                             
 
                 

                                                       


                                                        
bin_PROGRAMS = nix-store

nix_store_SOURCES = main.cc dotgraph.cc dotgraph.hh help.txt
nix_store_LDADD = ../libmain/libmain.a ../libstore/libstore.a ../libutil/libutil.a \
 ../boost/format/libformat.a ${bdb_lib} ${aterm_lib}

main.o: help.txt.hh

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

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

init-state-local:
	$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix
	$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/db
	$(INSTALL) -d $(DESTDIR)$(localstatedir)/log/nix
	$(INSTALL) -d $(DESTDIR)$(prefix)/store
#	$(bindir)/nix-store --init