2021-12-25 16:54:13 +03:00
|
|
|
# $NetBSD: Makefile,v 1.17 2021/12/25 13:54:13 mlelstv Exp $
|
1998-12-28 17:01:16 +03:00
|
|
|
|
|
|
|
PROG= wsconsctl
|
|
|
|
SRCS= display.c keyboard.c keysym.c map_parse.y map_scan.l \
|
2021-12-25 16:54:13 +03:00
|
|
|
mouse.c util.c wsconsctl.c edid.c vesagtf.o videomode.o
|
1998-12-28 17:01:16 +03:00
|
|
|
MAN= wsconsctl.8
|
|
|
|
|
|
|
|
YHEADER= 1
|
2021-12-25 16:54:13 +03:00
|
|
|
CPPFLAGS+= -I. -I${.CURDIR} -I${NETBSDSRCDIR}/sys
|
2003-08-01 21:03:41 +04:00
|
|
|
DPSRCS+= keysym.h
|
1998-12-28 17:01:16 +03:00
|
|
|
CLEANFILES+= keysym.h
|
|
|
|
|
2002-01-30 23:32:29 +03:00
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
2021-12-25 16:54:13 +03:00
|
|
|
.PATH: ${NETBSDSRCDIR}/sys/dev/videomode
|
|
|
|
|
2008-10-20 02:05:19 +04:00
|
|
|
# Environment for scripts executed during build.
|
|
|
|
SCRIPT_ENV= \
|
|
|
|
AWK=${TOOL_AWK:Q} \
|
2008-10-26 17:55:17 +03:00
|
|
|
SED=${TOOL_SED:Q}
|
2008-10-20 02:05:19 +04:00
|
|
|
|
1999-01-10 21:05:49 +03:00
|
|
|
keysym.h: mkkeysym.sh ${DESTDIR}/usr/include/dev/wscons/wsksymdef.h
|
2003-10-21 14:01:19 +04:00
|
|
|
${_MKTARGET_CREATE}
|
2008-10-20 02:05:19 +04:00
|
|
|
${SCRIPT_ENV} ${HOST_SH} ${.CURDIR}/mkkeysym.sh \
|
1998-12-28 17:01:16 +03:00
|
|
|
${DESTDIR}/usr/include/dev/wscons/wsksymdef.h > keysym.h
|