minix/drivers/tty/keymaps/Makefile
Ben Gras 6a0e8e3b80 Added a separate keymap for escaped scancodes. This makes the code
a little cleaner (escaped scancodes are less of a special case) and
lets us be completely flexible when assigning meaning to them.

Future: a tool and ioctl to load the escaped keymap.
2009-02-04 17:04:16 +00:00

101 lines
1.6 KiB
Makefile

# Generate binary keymaps.
LK = /usr/lib/keymaps
.SUFFIXES: .src .map
.src.map:
$(CC) -DKEYSRC=\"$<\" genmap.c
./a.out > $@
@rm -f a.out
all: \
dvorak.map \
french.map \
german.map \
italian.map \
japanese.map \
latin-america.map \
olivetti.map \
polish.map \
russian.map \
russian-cp866.map \
scandinavian.map \
spanish.map \
uk.map \
us-std.map \
us-std-esc.map \
us-swap.map \
install: \
$(LK) \
$(LK)/dvorak.map \
$(LK)/french.map \
$(LK)/german.map \
$(LK)/italian.map \
$(LK)/japanese.map \
$(LK)/latin-america.map \
$(LK)/olivetti.map \
$(LK)/polish.map \
$(LK)/russian.map \
$(LK)/russian-cp866.map \
$(LK)/scandinavian.map \
$(LK)/spanish.map \
$(LK)/uk.map \
$(LK)/us-std.map \
$(LK)/us-std-esc.map \
$(LK)/us-swap.map \
clean:
rm -f a.out *.map
$(LK):
install -d $@
$(LK)/dvorak.map: dvorak.map
install -c $? $@
$(LK)/french.map: french.map
install -c $? $@
$(LK)/german.map: german.map
install -c $? $@
$(LK)/italian.map: italian.map
install -c $? $@
$(LK)/japanese.map: japanese.map
install -c $? $@
$(LK)/latin-america.map: latin-america.map
install -c $? $@
$(LK)/olivetti.map: olivetti.map
install -c $? $@
$(LK)/polish.map: polish.map
install -c $? $@
$(LK)/russian.map: russian.map
install -c $? $@
$(LK)/russian-cp866.map: russian-cp866.map
install -c $? $@
$(LK)/scandinavian.map: scandinavian.map
install -c $? $@
$(LK)/spanish.map: spanish.map
install -c $? $@
$(LK)/uk.map: uk.map
install -c $? $@
$(LK)/us-std.map: us-std.map
install -c $? $@
$(LK)/us-std-esc.map: us-std-esc.map
install -c $? $@
$(LK)/us-swap.map: us-swap.map
install -c $? $@