about summary refs log tree commit diff
path: root/src/nix-store/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix-store/local.mk')
-rw-r--r--src/nix-store/local.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nix-store/local.mk b/src/nix-store/local.mk
new file mode 100644
index 000000000000..b887fe03389b
--- /dev/null
+++ b/src/nix-store/local.mk
@@ -0,0 +1,11 @@
+programs += nix-store
+
+nix-store_DIR := $(d)
+
+nix-store_SOURCES := $(wildcard $(d)/*.cc)
+
+nix-store_LIBS = libmain libstore libutil libformat
+
+nix-store_LDFLAGS = -lbz2 -pthread
+
+nix-store_CXXFLAGS = -DCURL=\"$(curl)\"