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