From: 諏訪子 Date: Tue, 16 Apr 2024 03:31:45 +0000 (+0900) Subject: Merge branch 'make-release-linux' of gitler.moe:suwako/sp into v1.3.0 X-Git-Tag: sp-1.3.0~23 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=6f7eeaa45c10f92a19eae6709c6b4508950e975a;p=sp.git Merge branch 'make-release-linux' of gitler.moe:suwako/sp into v1.3.0 --- 6f7eeaa45c10f92a19eae6709c6b4508950e975a diff --cc CHANGELOG.md index e171ffb,e6880e2..accd437 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@@ -3,7 -3,7 +3,8 @@@ * GNU Make → BSD Make * GPLv2 → ISC * OpenBSD向けのリリースコマンドの追加 +* FreeBSD向けのリリースコマンドの追加 + * Linux向けのリリースコマンドの追加 # 1.2.0 * やっとTOTP機能性を修正した diff --cc Makefile index bc38416,bb9b293..3977891 --- a/Makefile +++ b/Makefile @@@ -37,10 -37,10 +37,14 @@@ release-openbsd ${CC} ${CFLAGS} -o ${NAME}-${VERSION}-openbsd-amd64 ${FILES} -static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lintl -liconv strip ${NAME} +release-freebsd: + ${CC} ${CFLAGS} -o ${NAME}-${VERSION}-freebsd-amd64 ${FILES} -static -lgpgme -lcrypto -lc -lassuan -lgpg-error -lthr -lintl + strip ${NAME} + + release-linux: + ${CC} ${CFLAGS} -o ${NAME}-${VERSION}-linux-amd64 ${FILES} -static -lgpgme -lcrypto -lc -lassuan -lgpg-error + strip ${NAME} + install: all mkdir -p ${DESTDIR}${PREFIX}/bin cp -f ${NAME} ${DESTDIR}${PREFIX}/bin