src/sbin/dhcpleased/Makefile

24 lines
574 B
Makefile

# $OpenBSD: Makefile,v 1.3 2022/08/29 17:00:29 deraadt Exp $
PROG= dhcpleased
SRCS= bpf.c checksum.c control.c dhcpleased.c engine.c frontend.c log.c
SRCS+= parse.y printconf.c
MAN= dhcpleased.8 dhcpleased.conf.5
#DEBUG= -g -DDEBUG=3 -O0
CFLAGS+= -Wall -I${.CURDIR}
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
YFLAGS=
LDADD+= -levent -lutil
DPADD+= ${LIBEVENT} ${LIBUTIL}
.include <bsd.prog.mk>
# Don't compile dhcpleased as static binary by default
LDSTATIC=