NetBSD/sbin/wsconsctl/Makefile

19 lines
474 B
Makefile

# $NetBSD: Makefile,v 1.10 2003/10/21 10:01:20 lukem Exp $
PROG= wsconsctl
SRCS= display.c keyboard.c keysym.c map_parse.y map_scan.l \
mouse.c util.c wsconsctl.c
MAN= wsconsctl.8
YHEADER= 1
CPPFLAGS+= -I. -I${.CURDIR}
DPSRCS+= keysym.h
CLEANFILES+= keysym.h
.include <bsd.prog.mk>
keysym.h: mkkeysym.sh ${DESTDIR}/usr/include/dev/wscons/wsksymdef.h
${_MKTARGET_CREATE}
${HOST_SH} ${.CURDIR}/mkkeysym.sh \
${DESTDIR}/usr/include/dev/wscons/wsksymdef.h > keysym.h