1ee3138f1Smrg#  Copyright 2005 Adam Jackson.
2ee3138f1Smrg#
3ee3138f1Smrg#  Permission is hereby granted, free of charge, to any person obtaining a
4ee3138f1Smrg#  copy of this software and associated documentation files (the "Software"),
5ee3138f1Smrg#  to deal in the Software without restriction, including without limitation
6ee3138f1Smrg#  on the rights to use, copy, modify, merge, publish, distribute, sub
7ee3138f1Smrg#  license, and/or sell copies of the Software, and to permit persons to whom
8ee3138f1Smrg#  the Software is furnished to do so, subject to the following conditions:
9ee3138f1Smrg#
10ee3138f1Smrg#  The above copyright notice and this permission notice (including the next
11ee3138f1Smrg#  paragraph) shall be included in all copies or substantial portions of the
12ee3138f1Smrg#  Software.
13ee3138f1Smrg#
14ee3138f1Smrg#  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15ee3138f1Smrg#  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16ee3138f1Smrg#  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.  IN NO EVENT SHALL
17ee3138f1Smrg#  ADAM JACKSON BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18ee3138f1Smrg#  IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19ee3138f1Smrg#  CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20ee3138f1Smrg
2126b1ff4eSmrgAM_CFLAGS = $(XORG_CFLAGS) $(CWARNFLAGS) $(OS_FLAGS)
22b425557eSmrg
2379a8a9c6Smrgkbd_drv_la_LTLIBRARIES = kbd_drv.la
24ee3138f1Smrgkbd_drv_la_LDFLAGS = -avoid-version -module
2579a8a9c6Smrgkbd_drv_la_SOURCES = kbd.c xf86OSKbd.h xf86Keymap.h atKeynames.h
263e72ca8cSmrgkbd_drv_la_LIBADD = $(XORG_LIBS)
27b425557eSmrgkbd_drv_ladir = @inputdir@
28ee3138f1Smrg
29ee3138f1SmrgBSD_SRCS = bsd_KbdMap.c bsd_kbd.c bsd_kbd.h at_scancode.c
30ee3138f1SmrgHURD_SRCS = hurd_kbd.c at_scancode.c
31ee3138f1SmrgSOLARIS_SRCS = sun_kbd.c sun_kbd.h sun_kbdMap.c
32ee3138f1Smrg
33ee3138f1Smrgif BSD
34ee3138f1Smrgkbd_drv_la_SOURCES += $(BSD_SRCS)
35ee3138f1Smrgendif
36ee3138f1Smrg
37ee3138f1Smrgif SOLARIS
38ee3138f1Smrgkbd_drv_la_SOURCES += $(SOLARIS_SRCS)
39ee3138f1Smrgendif
40ee3138f1Smrg
41ee3138f1Smrgif HURD
42ee3138f1Smrgkbd_drv_la_SOURCES += $(HURD_SRCS)
43ee3138f1Smrgendif
44ee3138f1Smrg
458d623946SmrgEXTRA_DIST = $(BSD_SRCS) $(HURD_SRCS) $(SOLARIS_SRCS)
46