diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/boost/format/Makefile.new | 5 | ||||
-rw-r--r-- | src/libexpr/Makefile.new | 10 | ||||
-rw-r--r-- | src/libmain/Makefile.new | 7 | ||||
-rw-r--r-- | src/libstore/Makefile.new | 19 | ||||
-rw-r--r-- | src/libutil/Makefile.new | 10 | ||||
-rw-r--r-- | src/nix-daemon/Makefile.new | 7 | ||||
-rw-r--r-- | src/nix-env/Makefile.new | 7 | ||||
-rw-r--r-- | src/nix-hash/Makefile.new | 7 | ||||
-rw-r--r-- | src/nix-instantiate/Makefile.new | 7 | ||||
-rw-r--r-- | src/nix-store/Makefile.new | 7 |
10 files changed, 86 insertions, 0 deletions
diff --git a/src/boost/format/Makefile.new b/src/boost/format/Makefile.new new file mode 100644 index 000000000000..28b66bd62d60 --- /dev/null +++ b/src/boost/format/Makefile.new @@ -0,0 +1,5 @@ +LIBS += libformat + +libformat_DIR := $(here) + +libformat_SOURCES = format_implementation.cc free_funcs.cc parsing.cc diff --git a/src/libexpr/Makefile.new b/src/libexpr/Makefile.new new file mode 100644 index 000000000000..f6c900431562 --- /dev/null +++ b/src/libexpr/Makefile.new @@ -0,0 +1,10 @@ +LIBS += libexpr + +libexpr_DIR := $(here) + +libexpr_SOURCES = \ + nixexpr.cc eval.cc primops.cc lexer-tab.cc parser-tab.cc \ + get-drvs.cc attr-path.cc value-to-xml.cc value-to-json.cc \ + common-opts.cc names.cc + +# FIXME: add rules for parser-tab.cc / lexer-tab.cc. diff --git a/src/libmain/Makefile.new b/src/libmain/Makefile.new new file mode 100644 index 000000000000..1f74cea9c9a7 --- /dev/null +++ b/src/libmain/Makefile.new @@ -0,0 +1,7 @@ +LIBS += libmain + +libmain_DIR := $(here) + +libmain_SOURCES = shared.cc stack.cc + +libmain_LDFLAGS = -lgc diff --git a/src/libstore/Makefile.new b/src/libstore/Makefile.new new file mode 100644 index 000000000000..24011c244349 --- /dev/null +++ b/src/libstore/Makefile.new @@ -0,0 +1,19 @@ +LIBS += libstore + +libstore_DIR := $(here) + +libstore_SOURCES = \ + store-api.cc local-store.cc remote-store.cc derivations.cc build.cc misc.cc \ + globals.cc references.cc pathlocks.cc gc.cc optimise-store.cc + +libstore_LDFLAGS = -lsqlite3 -lbz2 + +libstore_CXXFLAGS = \ + -DNIX_STORE_DIR=\"$(storedir)\" \ + -DNIX_DATA_DIR=\"$(datadir)\" \ + -DNIX_STATE_DIR=\"$(localstatedir)/nix\" \ + -DNIX_LOG_DIR=\"$(localstatedir)/log/nix\" \ + -DNIX_CONF_DIR=\"$(sysconfdir)/nix\" \ + -DNIX_LIBEXEC_DIR=\"$(libexecdir)\" \ + -DNIX_BIN_DIR=\"$(bindir)\" \ + -DNIX_VERSION=\"$(VERSION)\" diff --git a/src/libutil/Makefile.new b/src/libutil/Makefile.new new file mode 100644 index 000000000000..b90c1c0cab4d --- /dev/null +++ b/src/libutil/Makefile.new @@ -0,0 +1,10 @@ +LIBS += libutil + +libutil_DIR := $(here) + +libutil_SOURCES = util.cc hash.cc serialise.cc archive.cc xml-writer.cc affinity.cc \ + md5.c sha1.c sha256.c + +# FIXME: md5.c et al. should only be built when we don't have OpenSSL. + +libutil_LIBS = src/boost/format/libformat diff --git a/src/nix-daemon/Makefile.new b/src/nix-daemon/Makefile.new new file mode 100644 index 000000000000..a2d98e790557 --- /dev/null +++ b/src/nix-daemon/Makefile.new @@ -0,0 +1,7 @@ +PROGRAMS += nix-daemon + +nix-daemon_DIR := $(here) + +nix-daemon_SOURCES = nix-daemon.cc + +nix-daemon_LIBS = libmain libstore libutil libformat diff --git a/src/nix-env/Makefile.new b/src/nix-env/Makefile.new new file mode 100644 index 000000000000..5c92274f3c61 --- /dev/null +++ b/src/nix-env/Makefile.new @@ -0,0 +1,7 @@ +PROGRAMS += nix-env + +nix-env_DIR := $(here) + +nix-env_SOURCES = nix-env.cc profiles.cc profiles.hh user-env.cc user-env.hh + +nix-env_LIBS = libexpr libmain libstore libutil libformat diff --git a/src/nix-hash/Makefile.new b/src/nix-hash/Makefile.new new file mode 100644 index 000000000000..87aba716cba4 --- /dev/null +++ b/src/nix-hash/Makefile.new @@ -0,0 +1,7 @@ +PROGRAMS += nix-hash + +nix-hash_DIR := $(here) + +nix-hash_SOURCES = nix-hash.cc + +nix-hash_LIBS = libmain libstore libutil libformat diff --git a/src/nix-instantiate/Makefile.new b/src/nix-instantiate/Makefile.new new file mode 100644 index 000000000000..71e40706ae62 --- /dev/null +++ b/src/nix-instantiate/Makefile.new @@ -0,0 +1,7 @@ +PROGRAMS += nix-instantiate + +nix-instantiate_DIR := $(here) + +nix-instantiate_SOURCES = nix-instantiate.cc + +nix-instantiate_LIBS = libexpr libmain libstore libutil libformat diff --git a/src/nix-store/Makefile.new b/src/nix-store/Makefile.new new file mode 100644 index 000000000000..195d05a2d611 --- /dev/null +++ b/src/nix-store/Makefile.new @@ -0,0 +1,7 @@ +PROGRAMS += nix-store + +nix-store_DIR := $(here) + +nix-store_SOURCES = nix-store.cc dotgraph.cc xmlgraph.cc + +nix-store_LIBS = libmain libstore libutil libformat |