Add build glue
This commit is contained in:
parent
eaea677c03
commit
0dd853b540
7
external/bsd/pam-u2f/Makefile
vendored
Normal file
7
external/bsd/pam-u2f/Makefile
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.1 2020/03/03 00:28:50 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SUBDIR= bin .WAIT lib
|
||||
|
||||
.include <bsd.subdir.mk>
|
7
external/bsd/pam-u2f/bin/Makefile
vendored
Normal file
7
external/bsd/pam-u2f/bin/Makefile
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.1 2020/03/03 00:28:50 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SUBDIR= pamu2fcfg
|
||||
|
||||
.include <bsd.subdir.mk>
|
7
external/bsd/pam-u2f/lib/Makefile
vendored
Normal file
7
external/bsd/pam-u2f/lib/Makefile
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.1 2020/03/03 00:28:50 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SUBDIR= security
|
||||
|
||||
.include <bsd.subdir.mk>
|
7
external/bsd/pam-u2f/lib/security/Makefile
vendored
Normal file
7
external/bsd/pam-u2f/lib/security/Makefile
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.1 2020/03/03 00:28:51 christos Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
SUBDIR= pam-u2f
|
||||
|
||||
.include <bsd.subdir.mk>
|
21
external/bsd/pam-u2f/lib/security/pam-u2f/Makefile
vendored
Normal file
21
external/bsd/pam-u2f/lib/security/pam-u2f/Makefile
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
# $NetBSD: Makefile,v 1.1 2020/03/03 00:28:51 christos Exp $
|
||||
|
||||
NOMAN=
|
||||
.include <bsd.own.mk>
|
||||
.PATH: ${NETBSDSRCDIR}/external/bsd/pam-u2f/dist
|
||||
|
||||
CPPFLAGS+= -DHAVE_SECURITY_PAM_APPL_H #-DHAVE_SECURITY_PAM_MODULES_H
|
||||
CPPFLAGS+= -DPAM_DEBUG -DDEBUG_PAM
|
||||
|
||||
LIB= pam_u2f
|
||||
SRCS= pam-u2f.c drop_privs.c util.c b64.c explicit_bzero.c
|
||||
#MAN= pam_u2f.8
|
||||
|
||||
COPTS.util.c += -Wno-error=stack-protector
|
||||
|
||||
LIBDPLIBS+= \
|
||||
fido2 ${NETBSDSRCDIR}/external/bsd/libfido2/lib \
|
||||
cbor ${NETBSDSRCDIR}/external/mit/libcbor/lib \
|
||||
crypto ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libcrypto
|
||||
|
||||
.include "${NETBSDSRCDIR}/lib/libpam/modules/mod.mk"
|
Loading…
Reference in New Issue
Block a user