about summary refs log tree commit diff
path: root/src/bsdiff-4.3/local.mk
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-30T11·11+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-30T11·11+0100
commite0234dfddc8343a6bca80ba6e6e93d083ce51a85 (patch)
treec7d85ccf88f723b97b384afa6936c60d7bb3e0df /src/bsdiff-4.3/local.mk
parent4a2ec9c6598aafb98e5495c2cf3a24e166668790 (diff)
Rename Makefile -> local.mk
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/*