Home | History | Annotate | Line # | Download | only in xf86-input-keyboard
Makefile revision 1.23
      1  1.23   tsutsui #	$NetBSD: Makefile,v 1.23 2023/11/07 14:34:35 tsutsui Exp $
      2   1.1       mrg 
      3   1.1       mrg DRIVER=		xf86-input-keyboard
      4   1.5       mrg DRIVER_NAME=	kbd_drv
      5   1.1       mrg 
      6   1.1       mrg SRCS=		kbd.c bsd_KbdMap.c bsd_kbd.c at_scancode.c
      7   1.3       rtr MAN=		kbd.4
      8   1.1       mrg 
      9  1.13    nonaka .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || ${MACHINE} == "cats"
     10   1.8  jmcneill CPPFLAGS+=	-DPCVT_SUPPORT
     11   1.8  jmcneill .endif
     12  1.12  macallan 
     13  1.12  macallan # turns out we can't use wskbd everywhere without a couple more translation
     14  1.12  macallan # tables in the X driver so make it the default only where we know it will work
     15  1.12  macallan 
     16  1.19       rin .if ${MACHINE_ARCH} == "powerpc" || \
     17  1.19       rin     ${MACHINE} == "amiga" || \
     18  1.19       rin     ${MACHINE} == "evbarm" || \
     19  1.23   tsutsui     ${MACHINE} == "ews4800mips" || \
     20  1.19       rin     ${MACHINE} == "mac68k" || \
     21  1.23   tsutsui     ${MACHINE} == "newsmips" || \
     22  1.20       abs     ${MACHINE} == "pmax" || \
     23  1.19       rin     ${MACHINE} == "sgimips" || \
     24  1.19       rin     ${MACHINE} == "shark" || \
     25  1.19       rin     ${MACHINE} == "sparc" || \
     26  1.19       rin     ${MACHINE} == "sparc64" || \
     27  1.19       rin     ${MACHINE} == "vax"
     28  1.12  macallan CPPFLAGS+=	-DDEFAULT_TO_WSKBD
     29  1.12  macallan .endif
     30  1.12  macallan 
     31   1.6       rtr CPPFLAGS+=	-DWSCONS_SUPPORT
     32   1.8  jmcneill CPPFLAGS+=	-DXKB
     33   1.2       rtr CPPFLAGS.kbd.c=	-D__XKBDEFRULES__=${__XKBDEFRULES__}
     34   1.1       mrg 
     35  1.23   tsutsui .if \
     36  1.23   tsutsui     ${MACHINE} == "ews4800mips"	|| \
     37  1.23   tsutsui     ${MACHINE} == "newsmips"	|| \
     38  1.23   tsutsui     0
     39  1.23   tsutsui CPPFLAGS+=	-DUSE_WSKBD_GETMAP
     40  1.23   tsutsui SRCS+=		ws_KbdMap.c
     41  1.23   tsutsui .endif
     42  1.23   tsutsui 
     43   1.7      cube X11EXTRAMANDEFS+=	-e 's,__xkb_path__,${X11LIBDIR}/xkb,g'
     44   1.7      cube 
     45  1.16       mrg COPTS.kbd.c=		-Wno-error	# XXX deprecated
     46  1.16       mrg COPTS.bsd_kbd.c=	-Wno-error	# XXX deprecated
     47  1.10       mrg 
     48   1.1       mrg .include "../Makefile.xf86-driver"
     49