about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-09-04T22·41+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-09-04T22·41+0000
commite5a6c09b12a9a68ba604d4e95adf28482ae8fc8d (patch)
treefd119dc9b9b7fac8a91e051c9141ecdb21540f44 /src
parent4be5443882cfbe7c2aa09b1c373c220400a5133f (diff)
* Install header files in /nix/include/nix.
Diffstat (limited to 'src')
-rw-r--r--src/boost/Makefile.am4
-rw-r--r--src/boost/format/Makefile.am6
-rw-r--r--src/libexpr/Makefile.am5
-rw-r--r--src/libstore/Makefile.am14
-rw-r--r--src/libutil/Makefile.am10
5 files changed, 25 insertions, 14 deletions
diff --git a/src/boost/Makefile.am b/src/boost/Makefile.am
index 9fc27cc7eca5..c149c13f73b2 100644
--- a/src/boost/Makefile.am
+++ b/src/boost/Makefile.am
@@ -1,6 +1,8 @@
 SUBDIRS = format
 
-EXTRA_DIST = assert.hpp checked_delete.hpp format.hpp \
+pkginclude_HEADERS = assert.hpp checked_delete.hpp format.hpp \
  shared_ptr.hpp weak_ptr.hpp throw_exception.hpp \
  enable_shared_from_this.hpp \
  detail/shared_count.hpp detail/workaround.hpp
+
+pkgincludedir = ${includedir}/nix/boost
diff --git a/src/boost/format/Makefile.am b/src/boost/format/Makefile.am
index 39bc6fe07e79..13e23d315da8 100644
--- a/src/boost/format/Makefile.am
+++ b/src/boost/format/Makefile.am
@@ -1,8 +1,12 @@
 pkglib_LTLIBRARIES = libformat.la
 
 libformat_la_SOURCES = format_implementation.cc free_funcs.cc \
- parsing.cc exceptions.hpp feed_args.hpp format_class.hpp \
+ parsing.cc 
+
+pkginclude_HEADERS = exceptions.hpp feed_args.hpp format_class.hpp \
  format_fwd.hpp group.hpp internals.hpp internals_fwd.hpp \
  macros_default.hpp
 
+pkgincludedir = ${includedir}/nix/boost/format
+
 AM_CXXFLAGS = -Wall -I$(srcdir)/../..
diff --git a/src/libexpr/Makefile.am b/src/libexpr/Makefile.am
index e80adaf02283..01a2a2f12dbc 100644
--- a/src/libexpr/Makefile.am
+++ b/src/libexpr/Makefile.am
@@ -5,7 +5,10 @@ libexpr_la_SOURCES = nixexpr.cc nixexpr.hh \
  lexer-tab.cc lexer-tab.hh parser-tab.cc parser-tab.hh \
  get-drvs.cc get-drvs.hh \
  attr-path.cc attr-path.hh \
- expr-to-xml.cc expr-to-xml.hh 
+ expr-to-xml.cc expr-to-xml.hh
+
+libexpr_la_LIBADD = ../libutil/libutil.la ../libstore/libstore.la \
+ ../boost/format/libformat.la
 
 BUILT_SOURCES = nixexpr-ast.cc nixexpr-ast.hh \
  parser-tab.hh lexer-tab.hh parser-tab.cc lexer-tab.cc
diff --git a/src/libstore/Makefile.am b/src/libstore/Makefile.am
index 3730ae5b2de1..515311efac78 100644
--- a/src/libstore/Makefile.am
+++ b/src/libstore/Makefile.am
@@ -1,12 +1,14 @@
 pkglib_LTLIBRARIES = libstore.la
 
 libstore_la_SOURCES = \
- store.cc store.hh derivations.cc derivations.hh \
- build.cc build.hh \
- misc.cc misc.hh \
- globals.cc globals.hh db.cc db.hh \
- references.cc references.hh pathlocks.cc pathlocks.hh \
- gc.cc gc.hh 
+ store.cc derivations.cc build.cc misc.cc globals.cc db.cc \
+ references.cc pathlocks.cc gc.cc 
+
+pkginclude_HEADERS = \
+ store.hh derivations.hh build.hh misc.hh globals.hh db.hh \
+ references.hh pathlocks.hh gc.hh 
+
+libstore_la_LIBADD = ../libutil/libutil.la ../boost/format/libformat.la
 
 BUILT_SOURCES = derivations-ast.cc derivations-ast.hh
 
diff --git a/src/libutil/Makefile.am b/src/libutil/Makefile.am
index dc514d55fa1b..cf75be8a8565 100644
--- a/src/libutil/Makefile.am
+++ b/src/libutil/Makefile.am
@@ -1,10 +1,10 @@
 pkglib_LTLIBRARIES = libutil.la
 
-libutil_la_SOURCES = util.cc util.hh hash.cc hash.hh \
- archive.cc archive.hh aterm.cc aterm.hh \
- aterm-map.cc aterm-map.hh \
- xml-writer.cc xml-writer.hh \
- types.hh
+libutil_la_SOURCES = util.cc hash.cc archive.cc aterm.cc aterm-map.cc xml-writer.cc
+
+libutil_la_LIBADD = ../boost/format/libformat.la
+
+pkginclude_HEADERS = util.hh hash.hh archive.hh aterm.hh aterm-map.hh xml-writer.hh types.hh
 
 if !HAVE_OPENSSL
 libutil_la_SOURCES += \