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