minix/drivers/tty/keymaps/Makefile

87 lines
1.3 KiB
Makefile
Raw Normal View History

2005-04-21 16:53:53 +02:00
# Generate binary keymaps.
LK = /usr/lib/keymaps
.SUFFIXES: .src .map
.src.map:
$(CC) -DKEYSRC=\"$<\" $(CPROFILE) genmap.c -lsysutil -lsys
2005-04-21 16:53:53 +02:00
./a.out > $@
@rm -f a.out
all: \
2006-01-23 10:28:04 +01:00
dvorak.map \
2005-04-21 16:53:53 +02:00
french.map \
german.map \
italian.map \
japanese.map \
2006-03-22 14:02:28 +01:00
latin-america.map \
2005-04-21 16:53:53 +02:00
olivetti.map \
polish.map \
scandinavian.map \
2005-04-21 16:53:53 +02:00
spanish.map \
uk.map \
us-std.map \
us-swap.map \
install: \
$(LK) \
2006-01-23 10:28:04 +01:00
$(LK)/dvorak.map \
2005-04-21 16:53:53 +02:00
$(LK)/french.map \
$(LK)/german.map \
$(LK)/italian.map \
$(LK)/japanese.map \
2006-03-22 14:02:28 +01:00
$(LK)/latin-america.map \
2005-04-21 16:53:53 +02:00
$(LK)/olivetti.map \
$(LK)/polish.map \
2006-03-20 11:44:43 +01:00
$(LK)/scandinavian.map \
2005-04-21 16:53:53 +02:00
$(LK)/spanish.map \
$(LK)/uk.map \
$(LK)/us-std.map \
$(LK)/us-swap.map \
clean:
rm -f a.out *.map
$(LK):
install -d $@
2006-01-23 10:28:04 +01:00
$(LK)/dvorak.map: dvorak.map
install -c $? $@
2005-04-21 16:53:53 +02:00
$(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 $? $@
2006-03-22 14:02:28 +01:00
$(LK)/latin-america.map: latin-america.map
2005-04-21 16:53:53 +02:00
install -c $? $@
$(LK)/olivetti.map: olivetti.map
install -c $? $@
$(LK)/polish.map: polish.map
install -c $? $@
2006-03-20 11:44:43 +01:00
$(LK)/scandinavian.map: scandinavian.map
2005-04-21 16:53:53 +02:00
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-swap.map: us-swap.map
install -c $? $@