source: trunk/minix/drivers/tty/keymaps/Makefile@ 15

Last change on this file since 15 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 1.3 KB
Line 
1# Generate binary keymaps.
2
3LK = /usr/lib/keymaps
4
5.SUFFIXES: .src .map
6
7.src.map:
8 $(CC) -DKEYSRC=\"$<\" genmap.c
9 ./a.out > $@
10 @rm -f a.out
11
12all: \
13 dvorak.map \
14 french.map \
15 german.map \
16 italian.map \
17 japanese.map \
18 latin-america.map \
19 olivetti.map \
20 polish.map \
21 scandinavian.map \
22 spanish.map \
23 uk.map \
24 us-std.map \
25 us-swap.map \
26
27install: \
28 $(LK) \
29 $(LK)/dvorak.map \
30 $(LK)/french.map \
31 $(LK)/german.map \
32 $(LK)/italian.map \
33 $(LK)/japanese.map \
34 $(LK)/latin-america.map \
35 $(LK)/olivetti.map \
36 $(LK)/polish.map \
37 $(LK)/scandinavian.map \
38 $(LK)/spanish.map \
39 $(LK)/uk.map \
40 $(LK)/us-std.map \
41 $(LK)/us-swap.map \
42
43clean:
44 rm -f a.out *.map
45
46$(LK):
47 install -d $@
48
49$(LK)/dvorak.map: dvorak.map
50 install -c $? $@
51
52$(LK)/french.map: french.map
53 install -c $? $@
54
55$(LK)/german.map: german.map
56 install -c $? $@
57
58$(LK)/italian.map: italian.map
59 install -c $? $@
60
61$(LK)/japanese.map: japanese.map
62 install -c $? $@
63
64$(LK)/latin-america.map: latin-america.map
65 install -c $? $@
66
67$(LK)/olivetti.map: olivetti.map
68 install -c $? $@
69
70$(LK)/polish.map: polish.map
71 install -c $? $@
72
73$(LK)/scandinavian.map: scandinavian.map
74 install -c $? $@
75
76$(LK)/spanish.map: spanish.map
77 install -c $? $@
78
79$(LK)/uk.map: uk.map
80 install -c $? $@
81
82$(LK)/us-std.map: us-std.map
83 install -c $? $@
84
85$(LK)/us-swap.map: us-swap.map
86 install -c $? $@
Note: See TracBrowser for help on using the repository browser.