aboutsummaryrefslogtreecommitdiff
path: root/src/bsdiff-4.3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/bsdiff-4.3/Makefile')
-rw-r--r--src/bsdiff-4.3/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/bsdiff-4.3/Makefile b/src/bsdiff-4.3/Makefile
new file mode 100644
index 000000000..aca1ac116
--- /dev/null
+++ b/src/bsdiff-4.3/Makefile
@@ -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/*