1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21# 22#pragma ident "%Z%%M% %I% %E% SMI" 23# 24# 25# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 26# Use is subject to license terms. 27# 28# cmd/loadkeys/type_6/Makefile 29 30KEYTABLES = \ 31 us belgium czech denmark finnish france canadian_french \ 32 germany greece hungary italy japan korea \ 33 netherlands norway portugal poland reset spain sweden \ 34 swiss_french swiss_german taiwan uk \ 35 slovakia slovenia serbiaandmontenegro \ 36 iceland croatia bulgaria belarus maltaus \ 37 maltauk albania turkeyq turkeyf latvia lithuania macedonia russia 38 39KEYTABLESCONFIG = kbd_layouts 40 41include ../../Makefile.cmd 42 43ROOTKEYTABLESDIR= $(ROOTSHLIB)/keytables 44ROOTKEYDIR= $(ROOTKEYTABLESDIR)/type_6 45ROOTKEYTABLES= $(KEYTABLES:%=$(ROOTKEYDIR)/%) 46ROOTKEYTABLESCON= $(KEYTABLESCONFIG:%=$(ROOTKEYDIR)/%) 47 48# there is an install target for each ROOT layout link 49# 50LAYOUTS= \ 51 layout_00 layout_02 layout_04 layout_06 layout_07 layout_08 \ 52 layout_09 layout_0e layout_0f layout_10 layout_12 layout_13 \ 53 layout_16 layout_17 layout_19 layout_0a layout_0c layout_109 \ 54 layout_10a layout_10b layout_1a layout_1b layout_1c layout_1e \ 55 layout_20 layout_21 layout_100 layout_18 layout_101 layout_102 \ 56 layout_103 layout_104 layout_105 layout_106 layout_107 layout_108 \ 57 layout_10f layout_1f layout_23 layout_15 layout_05 58 59ROOTLINKS= $(LAYOUTS:%=$(ROOTKEYDIR)/%) 60 61$(ROOTKEYTABLES) := FILEMODE = 444 62$(ROOTKEYTABLESCON) := FILEMODE = 444 63 64# install rule 65$(ROOTKEYDIR)/%: % 66 $(INS.file) 67 68.KEEP_STATE: 69 70all: $(KEYTABLES) 71 72install: all $(ROOTKEYTABLESDIR) $(ROOTKEYDIR) $(ROOTKEYTABLES) $(ROOTLINKS)\ 73 $(ROOTKEYTABLESCON) 74 75clean: 76 77$(ROOTKEYTABLESDIR): 78 $(INS.dir) 79 80$(ROOTKEYDIR): $(ROOTKEYTABLESDIR) 81 $(INS.dir) 82 83# install targets for ROOT layout links 84# 85$(ROOTKEYDIR)/layout_00: $(ROOTKEYDIR)/us 86 $(RM) $@; $(LN) $(ROOTKEYDIR)/us $@ 87 88$(ROOTKEYDIR)/layout_02: $(ROOTKEYDIR)/belgium 89 $(RM) $@; $(LN) $(ROOTKEYDIR)/belgium $@ 90 91$(ROOTKEYDIR)/layout_04: $(ROOTKEYDIR)/canadian_french 92 $(RM) $@; $(LN) $(ROOTKEYDIR)/canadian_french $@ 93 94$(ROOTKEYDIR)/layout_05: $(ROOTKEYDIR)/czech 95 $(RM) $@; $(LN) $(ROOTKEYDIR)/czech $@ 96 97$(ROOTKEYDIR)/layout_06: $(ROOTKEYDIR)/denmark 98 $(RM) $@; $(LN) $(ROOTKEYDIR)/denmark $@ 99 100$(ROOTKEYDIR)/layout_07: $(ROOTKEYDIR)/finnish 101 $(RM) $@; $(LN) $(ROOTKEYDIR)/finnish $@ 102 103$(ROOTKEYDIR)/layout_08: $(ROOTKEYDIR)/france 104 $(RM) $@; $(LN) $(ROOTKEYDIR)/france $@ 105 106$(ROOTKEYDIR)/layout_09: $(ROOTKEYDIR)/germany 107 $(RM) $@; $(LN) $(ROOTKEYDIR)/germany $@ 108 109$(ROOTKEYDIR)/layout_0a: $(ROOTKEYDIR)/greece 110 $(RM) $@; $(LN) $(ROOTKEYDIR)/greece $@ 111 112$(ROOTKEYDIR)/layout_0c: $(ROOTKEYDIR)/hungary 113 $(RM) $@; $(LN) $(ROOTKEYDIR)/hungary $@ 114 115$(ROOTKEYDIR)/layout_0e: $(ROOTKEYDIR)/italy 116 $(RM) $@; $(LN) $(ROOTKEYDIR)/italy $@ 117 118$(ROOTKEYDIR)/layout_0f: $(ROOTKEYDIR)/japan 119 $(RM) $@; $(LN) $(ROOTKEYDIR)/japan $@ 120 121$(ROOTKEYDIR)/layout_10: $(ROOTKEYDIR)/korea 122 $(RM) $@; $(LN) $(ROOTKEYDIR)/korea $@ 123 124$(ROOTKEYDIR)/layout_12: $(ROOTKEYDIR)/netherlands 125 $(RM) $@; $(LN) $(ROOTKEYDIR)/netherlands $@ 126 127$(ROOTKEYDIR)/layout_13: $(ROOTKEYDIR)/norway 128 $(RM) $@; $(LN) $(ROOTKEYDIR)/norway $@ 129 130$(ROOTKEYDIR)/layout_16: $(ROOTKEYDIR)/portugal 131 $(RM) $@; $(LN) $(ROOTKEYDIR)/portugal $@ 132 133$(ROOTKEYDIR)/layout_15: $(ROOTKEYDIR)/poland 134 $(RM) $@; $(LN) $(ROOTKEYDIR)/poland $@ 135 136$(ROOTKEYDIR)/layout_17: $(ROOTKEYDIR)/russia 137 $(RM) $@; $(LN) $(ROOTKEYDIR)/russia $@ 138 139$(ROOTKEYDIR)/layout_19: $(ROOTKEYDIR)/spain 140 $(RM) $@; $(LN) $(ROOTKEYDIR)/spain $@ 141 142$(ROOTKEYDIR)/layout_1a: $(ROOTKEYDIR)/sweden 143 $(RM) $@; $(LN) $(ROOTKEYDIR)/sweden $@ 144 145$(ROOTKEYDIR)/layout_1b: $(ROOTKEYDIR)/swiss_french 146 $(RM) $@; $(LN) $(ROOTKEYDIR)/swiss_french $@ 147 148$(ROOTKEYDIR)/layout_1c: $(ROOTKEYDIR)/swiss_german 149 $(RM) $@; $(LN) $(ROOTKEYDIR)/swiss_german $@ 150 151$(ROOTKEYDIR)/layout_1e: $(ROOTKEYDIR)/taiwan 152 $(RM) $@; $(LN) $(ROOTKEYDIR)/taiwan $@ 153 154$(ROOTKEYDIR)/layout_20: $(ROOTKEYDIR)/uk 155 $(RM) $@; $(LN) $(ROOTKEYDIR)/uk $@ 156 157$(ROOTKEYDIR)/layout_21: $(ROOTKEYDIR)/us 158 $(RM) $@; $(LN) $(ROOTKEYDIR)/us $@ 159 160$(ROOTKEYDIR)/layout_18: $(ROOTKEYDIR)/slovakia 161 $(RM) $@; $(LN) $(ROOTKEYDIR)/slovakia $@ 162 163$(ROOTKEYDIR)/layout_100: $(ROOTKEYDIR)/slovenia 164 $(RM) $@; $(LN) $(ROOTKEYDIR)/slovenia $@ 165 166$(ROOTKEYDIR)/layout_101: $(ROOTKEYDIR)/serbiaandmontenegro 167 $(RM) $@; $(LN) $(ROOTKEYDIR)/serbiaandmontenegro $@ 168 169$(ROOTKEYDIR)/layout_102: $(ROOTKEYDIR)/iceland 170 $(RM) $@; $(LN) $(ROOTKEYDIR)/iceland $@ 171 172$(ROOTKEYDIR)/layout_103: $(ROOTKEYDIR)/croatia 173 $(RM) $@; $(LN) $(ROOTKEYDIR)/croatia $@ 174 175$(ROOTKEYDIR)/layout_104: $(ROOTKEYDIR)/bulgaria 176 $(RM) $@; $(LN) $(ROOTKEYDIR)/bulgaria $@ 177 178$(ROOTKEYDIR)/layout_105: $(ROOTKEYDIR)/belarus 179 $(RM) $@; $(LN) $(ROOTKEYDIR)/belarus $@ 180 181$(ROOTKEYDIR)/layout_106: $(ROOTKEYDIR)/maltaus 182 $(RM) $@; $(LN) $(ROOTKEYDIR)/maltaus $@ 183 184$(ROOTKEYDIR)/layout_107: $(ROOTKEYDIR)/maltauk 185 $(RM) $@; $(LN) $(ROOTKEYDIR)/maltauk $@ 186 187$(ROOTKEYDIR)/layout_108: $(ROOTKEYDIR)/albania 188 $(RM) $@; $(LN) $(ROOTKEYDIR)/albania $@ 189 190$(ROOTKEYDIR)/layout_109: $(ROOTKEYDIR)/lithuania 191 $(RM) $@; $(LN) $(ROOTKEYDIR)/lithuania $@ 192 193$(ROOTKEYDIR)/layout_10a: $(ROOTKEYDIR)/latvia 194 $(RM) $@; $(LN) $(ROOTKEYDIR)/latvia $@ 195 196$(ROOTKEYDIR)/layout_10b: $(ROOTKEYDIR)/macedonia 197 $(RM) $@; $(LN) $(ROOTKEYDIR)/macedonia $@ 198 199$(ROOTKEYDIR)/layout_10f: $(ROOTKEYDIR)/japan 200 $(RM) $@; $(LN) $(ROOTKEYDIR)/japan $@ 201 202$(ROOTKEYDIR)/layout_1f: $(ROOTKEYDIR)/turkeyq 203 $(RM) $@; $(LN) $(ROOTKEYDIR)/turkeyq $@ 204 205$(ROOTKEYDIR)/layout_23: $(ROOTKEYDIR)/turkeyf 206 $(RM) $@; $(LN) $(ROOTKEYDIR)/turkeyf $@ 207 208 209include ../../Makefile.targ 210