xref: /freebsd/usr.sbin/kbdcontrol/Makefile (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1
2PACKAGE=	console-tools
3PROG=	kbdcontrol
4MAN=	kbdcontrol.1 kbdmap.5
5MLINKS= kbdmap.5 keymap.5
6SRCS=	kbdcontrol.c lex.l
7
8WARNS?=	4
9CFLAGS+= -I${.CURDIR}
10
11.ifdef BOOTSTRAPPING
12# Provide minimal load and dump functionality
13CFLAGS+= -DBOOTSTRAP_KBDCONTROL
14.else
15# temporarily added for pre-Unicode accent key API/ABI compatibility
16CFLAGS+= -DCOMPAT_FREEBSD13
17.endif
18
19.include <bsd.prog.mk>
20