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

                      

                                             

                                                           
                                                    
 




                                                              
               
                                                                  
                          


                                                             
bin_PROGRAMS = nix-env

nix_env_SOURCES = main.cc names.cc names.hh \
 profiles.cc profiles.hh help.txt
nix_env_LDADD = ../libmain/libmain.a ../libexpr/libexpr.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../libexpr -I../libmain

install-data-local:
	$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/profiles