From 16a4156ebab3c509b1e9a3523e02696926c5d58d Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Sun, 26 May 2024 01:59:40 +0900 Subject: [PATCH] =?utf8?q?NetBSD=E3=81=A7=E9=9D=9C=E7=9A=84=E3=83=AA?= =?utf8?q?=E3=83=B3=E3=82=AF=E3=82=92=E5=8F=AF=E8=83=BD=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2e2c12c..4ea8d41 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ dist: release-openbsd: mkdir -p release/bin ${CC} ${CFLAGS} -o release/bin/${NAME}-${VERSION}-openbsd-${UNAME_M} ${FILES}\ - -static ${LDFLAGS} -lc -lm -liconv -lsndio -lsamplerate -lX11\ + ${LDFLAGS} -static ${LIBS} -lc -lm -liconv -lsndio -lsamplerate -lX11\ -lxcb -lXext -lXcursor -lXrender -lXfixes -lXi -lXrandr -lXss -lusbhid -lpthread\ -ljxl -ljxl_cms -llcms2 -lhwy -lc++ -lc++abi -lbrotlidec\ -lbrotlicommon -lbrotlienc -lyuv -ltiff -lz -ljpeg -llzma -lzstd -lavif\ @@ -51,6 +51,16 @@ release-openbsd: -lngtcp2 -lssl -lcrypto -lnghttp2 -lXau -lXdmcp strip release/bin/${NAME}-${VERSION}-openbsd-${UNAME_M} +release-netbsd: + mkdir -p release/bin + ${CC} ${CFLAGS} -o release/bin/${NAME}-${VERSION}-netbsd-${UNAME_M} ${FILES}\ + ${LDFLAGS} -static ${LIBS} -lc -lm -lossaudio -lX11 -lxcb -lXau -lXdmcp -lgcc\ + -lXext -lXcursor -lXrender -lXi -lXfixes -lXrandr -lXss -ldrm -lpci -lgbm -lglapi\ + -lstdc++ -lexpat -lusbhid -lusb-1.0 -lpthread -lnghttp2 -lidn2 -lunistring\ + -lintl -lgssapi -lkrb5 -lhx509 -lssl -lcrypto -lcrypt -lasn1 -lcom_err -lroken\ + -lutil -lwind -lheimbase -lheimntlm -lz + strip release/bin/${NAME}-${VERSION}-netbsd-${UNAME_M} + install: mkdir -p ${DESTDIR}${PREFIX}/bin\ ${DESTDIR}${MANPREFIX}/man1\ -- 2.43.0