1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 19:41:48 +02:00

* Allow linking against an external Berkeley DB / ATerm library.

This commit is contained in:
Eelco Dolstra 2004-02-16 16:37:16 +00:00
parent f34de12140
commit 0dfdafdf6d
11 changed files with 47 additions and 18 deletions

View file

@ -2,7 +2,7 @@ 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 -L../../externals/inst/lib -ldb_cxx -lATerm
../boost/format/libformat.a ${bdb_lib} ${aterm_lib}
main.o: help.txt.hh
@ -10,7 +10,7 @@ main.o: help.txt.hh
../bin2c/bin2c helpText < $< > $@ || (rm $@ && exit 1)
AM_CXXFLAGS = \
-I.. -I../../externals/inst/include -I../libutil -I../libstore -I../libmain
-I.. ${bdb_include} $(aterm_include) -I../libutil -I../libstore -I../libmain
init-state-local:
$(INSTALL) -d $(DESTDIR)$(localstatedir)/nix