From 39ce70025b59a545127d1ffdefa83b7cbfcd8be1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 23 Jul 2003 15:53:34 +0000 Subject: * Incorporated Berkeley DB and ATerm into the source tree. * `make dist'. --- src/Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index eb5177d13eee..98d76b75364c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,8 @@ bin_PROGRAMS = nix nix-hash fix check_PROGRAMS = test -AM_CXXFLAGS = -DSYSTEM=\"@host@\" -Wall -I.. +AM_CXXFLAGS = -DSYSTEM=\"@host@\" -Wall -I.. -I../externals/inst/include $(CXXFLAGS) +AM_LDFLAGS = -L../externals/inst/lib -ldb_cxx -lATerm $(LDFLAGS) nix_SOURCES = nix.cc nix_LDADD = libshared.a libnix.a -ldb_cxx -lATerm @@ -29,7 +30,8 @@ libshared_a_CXXFLAGS = \ -DNIX_STORE_DIR=\"$(prefix)/store\" \ -DNIX_DATA_DIR=\"$(datadir)\" \ -DNIX_STATE_DIR=\"$(localstatedir)/nix\" \ - -DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" + -DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" \ + $(AM_CXXFLAGS) install-data-local: $(INSTALL) -d $(localstatedir)/nix @@ -37,3 +39,5 @@ install-data-local: $(INSTALL) -d $(localstatedir)/log/nix $(INSTALL) -d $(prefix)/store $(bindir)/nix --init + +EXTRA_DIST = *.hh *.h \ No newline at end of file -- cgit 1.4.1