aboutsummaryrefslogtreecommitdiff
path: root/src/bsdiff-4.2/Makefile.old
diff options
context:
space:
mode:
Diffstat (limited to 'src/bsdiff-4.2/Makefile.old')
-rw-r--r--src/bsdiff-4.2/Makefile.old18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/bsdiff-4.2/Makefile.old b/src/bsdiff-4.2/Makefile.old
new file mode 100644
index 000000000..ce5dd344d
--- /dev/null
+++ b/src/bsdiff-4.2/Makefile.old
@@ -0,0 +1,18 @@
+CFLAGS += -O3
+.ifdef BZIP2
+CFLAGS += -DBZIP2=\"${BZIP2}\"
+.endif
+
+PREFIX ?= /usr/local
+INSTALL_PROGRAM ?= ${INSTALL} -c -s -m 555
+INSTALL_MAN ?= ${INSTALL} -c -m 444
+
+all: bsdiff bspatch
+bsdiff: bsdiff.c
+bspatch: bspatch.c
+
+install:
+ ${INSTALL_PROGRAM} bsdiff bspatch ${PREFIX}/bin
+.ifndef WITHOUT_MAN
+ ${INSTALL_MAN} bsdiff.1 bspatch.1 ${PREFIX}/man/man1
+.endif