blob: 1272b8d606d94a3e63e65b5cca219038be71a6d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $OpenBSD: Makefile,v 1.37 2014/03/18 22:36:30 miod Exp $
.if ${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \
${MACHINE} == "armish" || \
${MACHINE} == "hppa" || ${MACHINE} == "hppa64" || \
${MACHINE} == "i386" || ${MACHINE} == "landisk" || \
${MACHINE} == "loongson" || ${MACHINE} == "luna88k" || \
${MACHINE} == "macppc" || ${MACHINE} == "sgi" || \
${MACHINE} == "socppc" || ${MACHINE} == "sparc" || \
${MACHINE} == "sparc64" || ${MACHINE} == "vax" || \
${MACHINE} == "zaurus"
PROG= wsconsctl
SRCS= display.c keyboard.c keysym.c map_parse.y map_scan.l \
mouse.c util.c wsconsctl.c
CPPFLAGS+= -I${.CURDIR} -I.
CLEANFILES+= keysym.h y.tab.h
beforedepend: keysym.h
keysym.h: mkkeysym.sh ${DESTDIR}/usr/include/dev/wscons/wsksymdef.h
sh ${.CURDIR}/mkkeysym.sh \
${DESTDIR}/usr/include/dev/wscons/wsksymdef.h > keysym.h
.else
NOPROG=yes
.endif
MAN= wsconsctl.8
.include <bsd.prog.mk>
|