Home | History | Annotate | Line # | Download | only in cgdconfig
Makefile revision 1.22.2.1
      1  1.22.2.1    martin # $NetBSD: Makefile,v 1.22.2.1 2024/10/11 08:54:39 martin Exp $
      2       1.1     elric 
      3      1.14     pooka RUMPPRG=cgdconfig
      4       1.1     elric MAN=	cgdconfig.8
      5       1.1     elric 
      6      1.16       nia .include <bsd.own.mk>
      7      1.16       nia 
      8      1.14     pooka SRCS+=	cgdconfig.c		\
      9      1.14     pooka 	cgdlex.l		\
     10      1.14     pooka 	cgdparse.y		\
     11      1.22  riastrad 	hkdf_hmac_sha256.c	\
     12      1.14     pooka 	pkcs5_pbkdf2.c		\
     13      1.14     pooka 	params.c		\
     14      1.14     pooka 	utils.c
     15      1.14     pooka 
     16      1.14     pooka CPPFLAGS+= -I${.CURDIR} -I. -DYY_NO_INPUT
     17      1.14     pooka 
     18      1.14     pooka YHEADER=1
     19      1.14     pooka 
     20      1.15  christos DPADD=  ${LIBUTIL} ${LIBCRYPT} ${LIBY} ${LIBL}
     21      1.15  christos LDADD=  -lutil -lcrypt -ly -ll
     22       1.1     elric 
     23      1.16       nia .if ${MKARGON2} != "no"
     24      1.21  christos SRCS+=	argon2_utils.c
     25      1.19  christos CPPFLAGS+=	-DHAVE_ARGON2
     26      1.21  christos .if defined(CRUNCHEDPROG)
     27      1.21  christos ARGON2_NO_THREADS=1
     28      1.21  christos .endif
     29      1.21  christos .include "${NETBSDSRCDIR}/external/apache2/argon2/lib/libargon2/Makefile.inc"
     30      1.16       nia .endif
     31      1.16       nia 
     32  1.22.2.1    martin .if ${MKZFS} != "no"
     33  1.22.2.1    martin CPPFLAGS+=	-DHAVE_ZFS
     34  1.22.2.1    martin 
     35  1.22.2.1    martin OSNET=${NETBSDSRCDIR}/external/cddl/osnet
     36  1.22.2.1    martin CPPFLAGS.cgdconfig.c+=	-I${OSNET}/include
     37  1.22.2.1    martin CPPFLAGS.cgdconfig.c+=	-I${OSNET}/sys
     38  1.22.2.1    martin CPPFLAGS.cgdconfig.c+=	-I${OSNET}/dist/head
     39  1.22.2.1    martin CPPFLAGS.cgdconfig.c+=	-I${OSNET}/dist/lib/libzpool/common
     40  1.22.2.1    martin CPPFLAGS.cgdconfig.c+=	-I${OSNET}/dist/uts/common
     41  1.22.2.1    martin CPPFLAGS.cgdconfig.c+=	-I${OSNET}/dist/uts/common/fs/zfs
     42  1.22.2.1    martin 
     43  1.22.2.1    martin COPTS.cgdconfig.c+=	-Wno-unknown-pragmas
     44  1.22.2.1    martin COPTS.cgdconfig.c+=	-Wno-strict-prototypes
     45  1.22.2.1    martin .endif
     46  1.22.2.1    martin 
     47       1.1     elric .include <bsd.prog.mk>
     48