diff options
author | Per Fogelstrom <pefo@cvs.openbsd.org> | 1998-07-06 13:42:27 +0000 |
---|---|---|
committer | Per Fogelstrom <pefo@cvs.openbsd.org> | 1998-07-06 13:42:27 +0000 |
commit | 0f33904a3c45f1859d8161dec0ca55e4ed2b372b (patch) | |
tree | 2b6ef886a2dece74a3ee32eae3c05b7e30820f84 /sbin/kbd/Makefile | |
parent | 0001155c8d33d4e8a1a8ea70a2f26553c741da19 (diff) |
Some ports uses kbd since they have pc style keyboard interfaces but
they don't use pcvt which is i386 specific. Fixed with a define:
-DHAVEPCVT.
Diffstat (limited to 'sbin/kbd/Makefile')
-rw-r--r-- | sbin/kbd/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sbin/kbd/Makefile b/sbin/kbd/Makefile index 9e3cf9fcab9..2a4646e9710 100644 --- a/sbin/kbd/Makefile +++ b/sbin/kbd/Makefile @@ -1,10 +1,15 @@ -# $OpenBSD: Makefile,v 1.4 1997/09/21 11:36:52 deraadt Exp $ +# $OpenBSD: Makefile,v 1.5 1998/07/06 13:42:24 pefo Exp $ PROG= kbd MAN= kbd.8 SRCS= main.c CFLAGS+=-I${.CURDIR} + +.if (${MACHINE} == "i386") +CFLAGS+=-DHAVEPCVT +.endif + .if (${MACHINE} == "i386") || (${MACHINE} == "arc") SRCS+= kbd_i386.c .else |