about summary refs log tree commit diff
path: root/src/bsdiff-4.3/local.mk
diff options
context:
space:
mode:
Diffstat (limited to 'src/bsdiff-4.3/local.mk')
-rw-r--r--src/bsdiff-4.3/local.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/bsdiff-4.3/local.mk b/src/bsdiff-4.3/local.mk
new file mode 100644
index 000000000000..aca1ac116205
--- /dev/null
+++ b/src/bsdiff-4.3/local.mk
@@ -0,0 +1,13 @@
+PROGRAMS += bsdiff bspatch
+
+bsdiff_DIR := $(d)
+bsdiff_SOURCES := $(d)/bsdiff.c
+bsdiff_LDFLAGS = -lbz2 $(bsddiff_compat_include)
+bsdiff_INSTALL_DIR = $(libexecdir)/nix
+
+bspatch_DIR := $(d)
+bspatch_SOURCES := $(d)/bspatch.c
+bspatch_LDFLAGS = -lbz2 $(bsddiff_compat_include)
+bspatch_INSTALL_DIR = $(libexecdir)/nix
+
+dist_files += $(d)/compat-include/*