Home | History | Annotate | Line # | Download | only in xf86-input-keyboard
Makefile revision 1.20
      1  1.20       abs #	$NetBSD: Makefile,v 1.20 2021/12/06 17:51:59 abs 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.19       rin     ${MACHINE} == "mac68k" || \
     20  1.20       abs     ${MACHINE} == "pmax" || \
     21  1.19       rin     ${MACHINE} == "sgimips" || \
     22  1.19       rin     ${MACHINE} == "shark" || \
     23  1.19       rin     ${MACHINE} == "sparc" || \
     24  1.19       rin     ${MACHINE} == "sparc64" || \
     25  1.19       rin     ${MACHINE} == "vax"
     26  1.12  macallan CPPFLAGS+=	-DDEFAULT_TO_WSKBD
     27  1.12  macallan .endif
     28  1.12  macallan 
     29   1.6       rtr CPPFLAGS+=	-DWSCONS_SUPPORT
     30   1.8  jmcneill CPPFLAGS+=	-DXKB
     31   1.2       rtr CPPFLAGS.kbd.c=	-D__XKBDEFRULES__=${__XKBDEFRULES__}
     32   1.1       mrg 
     33   1.7      cube X11EXTRAMANDEFS+=	-e 's,__xkb_path__,${X11LIBDIR}/xkb,g'
     34   1.7      cube 
     35  1.16       mrg COPTS.kbd.c=		-Wno-error	# XXX deprecated
     36  1.16       mrg COPTS.bsd_kbd.c=	-Wno-error	# XXX deprecated
     37  1.10       mrg 
     38   1.1       mrg .include "../Makefile.xf86-driver"
     39