about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e52672a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,32 @@
+CURL ?= curl
+TAR ?= tar
+
+SYSTEMS += freebsd
+SYSTEMS += linux
+SYSTEMS += netbsd
+SYSTEMS += openbsd
+SYSTEMS += posix
+
+all: ${SYSTEMS}
+
+.SUFFIXES: .tar .url
+
+.url.tar:
+	${CURL} -f -o $@ "$$(cat $<)"
+
+.tar:
+	mkdir -p $@
+	${TAR} -x -f $< -C $@ --strip-components ${STRIP.$@} ${FILES.$@}
+
+FILES.freebsd = ./usr/share/man/
+FILES.netbsd = ./usr/share/man/
+FILES.openbsd = ./usr/share/man/
+
+STRIP.freebsd = 4
+STRIP.linux = 1
+STRIP.netbsd = 4
+STRIP.openbsd = 4
+STRIP.posix = 1
+
+clean:
+	rm -fr ${SYSTEMS} ${SYSTEMS:=.tar}
McEnroe 2020-11-24Import LibreSSL 3.3.0June McEnroe 2020-10-22Import LibreSSL 3.2.2June McEnroe 2020-09-29Import LibreSSL 3.2.1June McEnroe 2020-09-29import: Add m4/ax_add_fortify_source.m4June McEnroe 2020-08-05build: Add README.7 to EXTRA_DIST 3.2.0June McEnroe 2020-08-03doc: Indicate that only OpenSSL 1.1.1b and newer workJune McEnroe