2003-11-19 17:27:16 +00:00
|
|
|
bin_PROGRAMS = nix-env
|
|
|
|
|
2004-02-06 14:49:41 +00:00
|
|
|
nix_env_SOURCES = main.cc names.cc names.hh help.txt
|
2003-11-19 17:27:16 +00:00
|
|
|
nix_env_LDADD = ../libmain/libmain.a ../libexpr/libexpr.a \
|
|
|
|
../libstore/libstore.a ../libutil/libutil.a \
|
|
|
|
../boost/format/libformat.a -L../../externals/inst/lib -ldb_cxx \
|
2004-02-04 16:03:29 +00:00
|
|
|
-lATerm
|
2003-11-19 17:27:16 +00:00
|
|
|
|
2003-12-01 15:55:05 +00:00
|
|
|
main.o: help.txt.hh
|
|
|
|
|
|
|
|
%.txt.hh: %.txt
|
|
|
|
../bin2c/bin2c helpText < $< > $@ || (rm $@ && exit 1)
|
|
|
|
|
2003-11-19 17:27:16 +00:00
|
|
|
AM_CXXFLAGS = \
|
|
|
|
-I.. -I../../externals/inst/include -I../libutil -I../libstore \
|
|
|
|
-I../libexpr -I../libmain
|
2004-02-06 10:30:20 +00:00
|
|
|
|
|
|
|
install-data-local:
|
|
|
|
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix/profiles
|