Home | History | Annotate | Line # | Download | only in xf86-input-keyboard
Makefile revision 1.15
      1  1.15  macallan #	$NetBSD: Makefile,v 1.15 2013/01/12 18:32:12 macallan 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.12  macallan .if ${MACHINE_ARCH} == "powerpc" || ${MACHINE} == "sparc" || \
     17  1.12  macallan     ${MACHINE} == "sparc64" || ${MACHINE} == "sgimips" || \
     18  1.15  macallan     ${MACHINE} == "shark" || ${MACHINE} == "vax" || \
     19  1.15  macallan     ${MACHINE} == "evbarm"
     20  1.12  macallan CPPFLAGS+=	-DDEFAULT_TO_WSKBD
     21  1.12  macallan .endif
     22  1.12  macallan 
     23   1.6       rtr CPPFLAGS+=	-DWSCONS_SUPPORT
     24   1.8  jmcneill CPPFLAGS+=	-DXKB
     25   1.2       rtr CPPFLAGS.kbd.c=	-D__XKBDEFRULES__=${__XKBDEFRULES__}
     26   1.1       mrg 
     27   1.7      cube X11EXTRAMANDEFS+=	-e 's,__xkb_path__,${X11LIBDIR}/xkb,g'
     28   1.7      cube 
     29  1.10       mrg COPTS.kbd.c=      -Wno-error	# XXX deprecated
     30  1.10       mrg 
     31   1.1       mrg .include "../Makefile.xf86-driver"
     32