From c39de958ace0d6dc0abdf5667bb50a43d9930927 Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Sat, 13 Jan 2024 01:10:07 -0800 Subject: initial --- sakisafecli/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 sakisafecli/Makefile (limited to 'sakisafecli/Makefile') diff --git a/sakisafecli/Makefile b/sakisafecli/Makefile new file mode 100644 index 0000000..d0c2c36 --- /dev/null +++ b/sakisafecli/Makefile @@ -0,0 +1,19 @@ + +PROG += sakisafecli +SRCS += funcs.c sakisafecli.c config.c +MAN += sakisafecli.1 sakisafeclirc.5 +LDADD += -lssl -lz -lpthread -lnghttp2 -lcurl -lconfig -lcrypto -L/usr/local/lib +PREFIX = /usr/local + +# Use libbsd features if wanted +use-libbsd ?= no +.if ${use-libbsd} == "yes" +CFLAGS += -Duse_libbsd +LDADD += -lbsd +.endif + +BINMODE = 755 +BINDIR = $(PREFIX)/bin +MANDIR = $(PREFIX)/man/man + +.include -- cgit v1.2.3-13-gbd6f