NetBSD/sbin/cgdconfig/Makefile

25 lines
411 B
Makefile

# $NetBSD: Makefile,v 1.7 2006/05/11 23:16:29 mrg Exp $
PROG= cgdconfig
MAN= cgdconfig.8
SRCS= cgdconfig.c \
cgdlex.l \
cgdparse.y \
pkcs5_pbkdf2.c \
params.c \
utils.c
CFLAGS+= -I${.CURDIR} -I.
YHEADER=1
DPADD= ${LIBUTIL} ${LIBCRYPTO} ${LIBCRYPT} ${LIBY} ${LIBL}
LDADD= -lutil -lcrypto -lcrypt -ly -ll
.include <bsd.prog.mk>
.if ${HAVE_GCC} == 4
COPTS.cgdconfig.c+= -Wno-pointer-sign
.endif