1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22PRJ=..$/.. 23PRJNAME=winaccessibility 24TARGET=UAccComIDL 25 26# --- Settings ----------------------------------------------------- 27 28.INCLUDE : settings.mk 29 30.IF "$(GUI)" == "WNT" 31 32# --- Targets ---------------------------------- 33 34ALL : $(MISC)$/Accessible2 \ 35 $(MISC)$/AccessibleAction \ 36 $(MISC)$/AccessibleApplication \ 37 $(MISC)$/AccessibleComponent \ 38 $(MISC)$/AccessibleEditableText \ 39 $(MISC)$/AccessibleEventId \ 40 $(MISC)$/AccessibleHyperlink \ 41 $(MISC)$/AccessibleHypertext \ 42 $(MISC)$/AccessibleImage \ 43 $(MISC)$/AccessibleKeyBinding \ 44 $(MISC)$/AccessibleKeyStroke \ 45 $(MISC)$/AccessibleRelation \ 46 $(MISC)$/AccessibleRole \ 47 $(MISC)$/AccessibleStates \ 48 $(MISC)$/AccessibleTable \ 49 $(MISC)$/AccessibleText \ 50 $(MISC)$/AccessibleValue \ 51 $(MISC)$/Charset \ 52 $(MISC)$/defines \ 53 $(MISC)$/IA2CommonTypes \ 54 $(MISC)$/IA2TypeLibrary \ 55 $(MISC)$/UAccCOM 56 57MTL=midl.exe 58MTL_PROJ= 59 60SOURCE=Accessible2.idl 61SOURCE1=AccessibleAction.idl 62SOURCE2=AccessibleApplication.idl 63SOURCE3=AccessibleComponent.idl 64SOURCE4=AccessibleEditableText.idl 65SOURCE5=AccessibleEventId.idl 66SOURCE6=AccessibleHyperlink.idl 67SOURCE7=AccessibleHypertext.idl 68SOURCE8=AccessibleImage.idl 69SOURCE9=AccessibleKeyBinding.idl 70SOURCE10=AccessibleKeyStroke.idl 71SOURCE11=AccessibleRelation.idl 72SOURCE12=AccessibleRole.idl 73SOURCE13=AccessibleStates.idl 74SOURCE14=AccessibleTable.idl 75SOURCE15=AccessibleText.idl 76SOURCE16=AccessibleValue.idl 77SOURCE17=Charset.idl 78SOURCE18=defines.idl 79SOURCE19=IA2CommonTypes.idl 80SOURCE20=IA2TypeLibrary.idl 81SOURCE21=UAccCOM.idl 82 83MTL_SWITCHES=-tlb $(MISC)$/Accessible2.tlb -h $(MISC)$/Accessible2.h -iid $(MISC)$/Accessible2_i.c -proxy $(MISC)$/Accessible2_p.c -Oicf 84MTL_SWITCHES1=-tlb $(MISC)$/AccessibleAction.tlb -h $(MISC)$/AccessibleAction.h -iid $(MISC)$/AccessibleAction_i.c -proxy $(MISC)$/AccessibleAction_p.c -Oicf 85MTL_SWITCHES2=-tlb $(MISC)$/AccessibleApplication.tlb -h $(MISC)$/AccessibleApplication.h -iid $(MISC)$/AccessibleApplication_i.c -proxy $(MISC)$/AccessibleApplication_p.c -Oicf 86MTL_SWITCHES3=-tlb $(MISC)$/AccessibleComponent.tlb -h $(MISC)$/AccessibleComponent.h -iid $(MISC)$/AccessibleComponent_i.c -proxy $(MISC)$/AccessibleComponent_p.c -Oicf 87MTL_SWITCHES4=-tlb $(MISC)$/AccessibleEditableText.tlb -h $(MISC)$/AccessibleEditableText.h -iid $(MISC)$/AccessibleEditableText_i.c -proxy $(MISC)$/AccessibleEditableText_p.c -Oicf 88MTL_SWITCHES5=-tlb $(MISC)$/AccessibleEventId.tlb -h $(MISC)$/AccessibleEventId.h -iid $(MISC)$/AccessibleEventId_i.c -proxy $(MISC)$/AccessibleEventId_p.c -Oicf 89MTL_SWITCHES6=-tlb $(MISC)$/AccessibleHyperlink.tlb -h $(MISC)$/AccessibleHyperlink.h -iid $(MISC)$/AccessibleHyperlink_i.c -proxy $(MISC)$/AccessibleHyperlink_p.c -Oicf 90MTL_SWITCHES7=-tlb $(MISC)$/AccessibleHypertext.tlb -h $(MISC)$/AccessibleHypertext.h -iid $(MISC)$/AccessibleHypertext_i.c -proxy $(MISC)$/AccessibleHypertext_p.c -Oicf 91MTL_SWITCHES8=-tlb $(MISC)$/AccessibleImage.tlb -h $(MISC)$/AccessibleImage.h -iid $(MISC)$/AccessibleImage_i.c -proxy $(MISC)$/AccessibleImage_p.c -Oicf 92MTL_SWITCHES9=-tlb $(MISC)$/AccessibleKeyBinding.tlb -h $(MISC)$/AccessibleKeyBinding.h -iid $(MISC)$/AccessibleKeyBinding_i.c -proxy $(MISC)$/AccessibleKeyBinding_p.c -Oicf 93MTL_SWITCHES10=-tlb $(MISC)$/AccessibleKeyStroke.tlb -h $(MISC)$/AccessibleKeyStroke.h -iid $(MISC)$/AccessibleKeyStroke_i.c -proxy $(MISC)$/AccessibleKeyStroke_p.c -Oicf 94MTL_SWITCHES11=-tlb $(MISC)$/AccessibleRelation.tlb -h $(MISC)$/AccessibleRelation.h -iid $(MISC)$/AccessibleRelation_i.c -proxy $(MISC)$/AccessibleRelation_p.c -Oicf 95MTL_SWITCHES12=-tlb $(MISC)$/AccessibleRole.tlb -h $(MISC)$/AccessibleRole.h -iid $(MISC)$/AccessibleRole_i.c -proxy $(MISC)$/AccessibleRole_p.c -Oicf 96MTL_SWITCHES13=-tlb $(MISC)$/AccessibleStates.tlb -h $(MISC)$/AccessibleStates.h -iid $(MISC)$/AccessibleStates_i.c -proxy $(MISC)$/AccessibleStates_p.c -Oicf 97MTL_SWITCHES14=-tlb $(MISC)$/AccessibleTable.tlb -h $(MISC)$/AccessibleTable.h -iid $(MISC)$/AccessibleTable_i.c -proxy $(MISC)$/AccessibleTable_p.c -Oicf 98MTL_SWITCHES15=-tlb $(MISC)$/AccessibleText.tlb -h $(MISC)$/AccessibleText.h -iid $(MISC)$/AccessibleText_i.c -proxy $(MISC)$/AccessibleText_p.c -Oicf 99MTL_SWITCHES16=-tlb $(MISC)$/AccessibleValue.tlb -h $(MISC)$/AccessibleValue.h -iid $(MISC)$/AccessibleValue_i.c -proxy $(MISC)$/AccessibleValue_p.c -Oicf 100MTL_SWITCHES17=-tlb $(MISC)$/Charset.tlb -h $(MISC)$/Charset.h -iid $(MISC)$/Charset_i.c -proxy $(MISC)$/Charset_p.c -Oicf 101MTL_SWITCHES18=-tlb $(MISC)$/defines.tlb -h $(MISC)$/defines.h -iid $(MISC)$/defines_i.c -proxy $(MISC)$/defines_p.c -Oicf 102MTL_SWITCHES19=-tlb $(MISC)$/IA2CommonTypes.tlb -h $(MISC)$/IA2CommonTypes.h -iid $(MISC)$/IA2CommonTypes_i.c -proxy $(MISC)$/IA2CommonTypes_p.c -Oicf 103MTL_SWITCHES20=-tlb $(MISC)$/IA2TypeLibrary.tlb -h $(MISC)$/IA2TypeLibrary.h -iid $(MISC)$/IA2TypeLibrary_i.c -proxy $(MISC)$/IA2TypeLibrary_p.c -Oicf 104MTL_SWITCHES21=-tlb $(MISC)$/UAccCOM.tlb -h $(MISC)$/UAccCOM.h -iid $(MISC)$/UAccCOM_i.c -proxy $(MISC)$/UAccCOM_p.c -Oicf 105 106.IF "$(COM)"=="GCC" 107MTL_SWITCHES+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 108MTL_SWITCHES1+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 109MTL_SWITCHES2+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 110MTL_SWITCHES3+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 111MTL_SWITCHES4+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 112MTL_SWITCHES5+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 113MTL_SWITCHES6+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 114MTL_SWITCHES7+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 115MTL_SWITCHES8+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 116MTL_SWITCHES9+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 117MTL_SWITCHES10+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 118MTL_SWITCHES11+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 119MTL_SWITCHES12+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 120MTL_SWITCHES13+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 121MTL_SWITCHES14+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 122MTL_SWITCHES15+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 123MTL_SWITCHES16+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 124MTL_SWITCHES17+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 125MTL_SWITCHES18+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 126MTL_SWITCHES19+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 127MTL_SWITCHES20+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 128MTL_SWITCHES21+=-cpp_cmd gcc -cpp_opt "-x c -E -D__stdcall= -D_stdcall= -nostdinc -I $(shell @cygpath -w $(PSDK_HOME)/include)" 129 130$(MISC)$/Accessible2 : $(SOURCE) 131 $(MTL) $(MTL_SWITCHES) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE) 132$(MISC)$/AccessibleAction : $(SOURCE1) 133 $(MTL) $(MTL_SWITCHES1) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE1) 134$(MISC)$/AccessibleApplication : $(SOURCE2) 135 $(MTL) $(MTL_SWITCHES2) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE2) 136$(MISC)$/AccessibleComponent : $(SOURCE3) 137 $(MTL) $(MTL_SWITCHES3) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE3) 138$(MISC)$/AccessibleEditableText : $(SOURCE4) 139 $(MTL) $(MTL_SWITCHES4) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE4) 140$(MISC)$/AccessibleEventId : $(SOURCE5) 141 $(MTL) $(MTL_SWITCHES5) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE5) 142$(MISC)$/AccessibleHyperlink : $(SOURCE6) 143 $(MTL) $(MTL_SWITCHES6) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE6) 144$(MISC)$/AccessibleHypertext : $(SOURCE7) 145 $(MTL) $(MTL_SWITCHES7) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE7) 146$(MISC)$/AccessibleImage : $(SOURCE8) 147 $(MTL) $(MTL_SWITCHES8) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE8) 148$(MISC)$/AccessibleKeyBinding : $(SOURCE9) 149 $(MTL) $(MTL_SWITCHES9) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE9) 150$(MISC)$/AccessibleKeyStroke : $(SOURCE10) 151 $(MTL) $(MTL_SWITCHES10) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE10) 152$(MISC)$/AccessibleRelation : $(SOURCE11) 153 $(MTL) $(MTL_SWITCHES11) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE11) 154$(MISC)$/AccessibleRole : $(SOURCE12) 155 $(MTL) $(MTL_SWITCHES12) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE12) 156$(MISC)$/AccessibleStates : $(SOURCE13) 157 $(MTL) $(MTL_SWITCHES13) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE13) 158$(MISC)$/AccessibleTable : $(SOURCE14) 159 $(MTL) $(MTL_SWITCHES14) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE14) 160$(MISC)$/AccessibleText : $(SOURCE15) 161 $(MTL) $(MTL_SWITCHES15) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE15) 162$(MISC)$/AccessibleValue : $(SOURCE16) 163 $(MTL) $(MTL_SWITCHES16) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE16) 164$(MISC)$/Charset : $(SOURCE17) 165 $(MTL) $(MTL_SWITCHES17) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE17) 166$(MISC)$/defines : $(SOURCE18) 167 $(MTL) $(MTL_SWITCHES18) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE18) 168$(MISC)$/IA2CommonTypes : $(SOURCE19) 169 $(MTL) $(MTL_SWITCHES19) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE19) 170$(MISC)$/IA2TypeLibrary : $(SOURCE20) 171 $(MTL) $(MTL_SWITCHES20) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE20) 172$(MISC)$/UAccCOM : $(SOURCE21) 173 $(MTL) $(MTL_SWITCHES21) -I $(shell @cygpath -w $(PSDK_HOME)/include|sed 's#\\#\\\\#g') $(SOURCE21) 174 175.ELSE 176 177$(MISC)$/Accessible2 : $(SOURCE) 178 $(WRAPCMD) $(MTL) $(MTL_SWITCHES) $(INCLUDE) $(SOURCE) && $(TOUCH) $@ 179$(MISC)$/AccessibleAction : $(SOURCE1) 180 $(WRAPCMD) $(MTL) $(MTL_SWITCHES1) $(INCLUDE) $(SOURCE1) && $(TOUCH) $@ 181$(MISC)$/AccessibleApplication : $(SOURCE2) 182 $(WRAPCMD) $(MTL) $(MTL_SWITCHES2) $(INCLUDE) $(SOURCE2) && $(TOUCH) $@ 183$(MISC)$/AccessibleComponent : $(SOURCE3) 184 $(WRAPCMD) $(MTL) $(MTL_SWITCHES3) $(INCLUDE) $(SOURCE3) && $(TOUCH) $@ 185$(MISC)$/AccessibleEditableText : $(SOURCE4) 186 $(WRAPCMD) $(MTL) $(MTL_SWITCHES4) $(INCLUDE) $(SOURCE4) && $(TOUCH) $@ 187$(MISC)$/AccessibleEventId : $(SOURCE5) 188 $(WRAPCMD) $(MTL) $(MTL_SWITCHES5) $(INCLUDE) $(SOURCE5) && $(TOUCH) $@ 189$(MISC)$/AccessibleHyperlink : $(SOURCE6) 190 $(WRAPCMD) $(MTL) $(MTL_SWITCHES6) $(INCLUDE) $(SOURCE6) && $(TOUCH) $@ 191$(MISC)$/AccessibleHypertext : $(SOURCE7) 192 $(WRAPCMD) $(MTL) $(MTL_SWITCHES7) $(INCLUDE) $(SOURCE7) && $(TOUCH) $@ 193$(MISC)$/AccessibleImage : $(SOURCE8) 194 $(WRAPCMD) $(MTL) $(MTL_SWITCHES8) $(INCLUDE) $(SOURCE8) && $(TOUCH) $@ 195$(MISC)$/AccessibleKeyBinding : $(SOURCE9) 196 $(WRAPCMD) $(MTL) $(MTL_SWITCHES9) $(INCLUDE) $(SOURCE9) && $(TOUCH) $@ 197$(MISC)$/AccessibleKeyStroke : $(SOURCE10) 198 $(WRAPCMD) $(MTL) $(MTL_SWITCHES10) $(INCLUDE) $(SOURCE10) && $(TOUCH) $@ 199$(MISC)$/AccessibleRelation : $(SOURCE11) 200 $(WRAPCMD) $(MTL) $(MTL_SWITCHES11) $(INCLUDE) $(SOURCE11) && $(TOUCH) $@ 201$(MISC)$/AccessibleRole : $(SOURCE12) 202 $(WRAPCMD) $(MTL) $(MTL_SWITCHES12) $(INCLUDE) $(SOURCE12) && $(TOUCH) $@ 203$(MISC)$/AccessibleStates : $(SOURCE13) 204 $(WRAPCMD) $(MTL) $(MTL_SWITCHES13) $(INCLUDE) $(SOURCE13) && $(TOUCH) $@ 205$(MISC)$/AccessibleTable : $(SOURCE14) 206 $(WRAPCMD) $(MTL) $(MTL_SWITCHES14) $(INCLUDE) $(SOURCE14) && $(TOUCH) $@ 207$(MISC)$/AccessibleText : $(SOURCE15) 208 $(WRAPCMD) $(MTL) $(MTL_SWITCHES15) $(INCLUDE) $(SOURCE15) && $(TOUCH) $@ 209$(MISC)$/AccessibleValue : $(SOURCE16) 210 $(WRAPCMD) $(MTL) $(MTL_SWITCHES16) $(INCLUDE) $(SOURCE16) && $(TOUCH) $@ 211$(MISC)$/Charset : $(SOURCE17) 212 $(WRAPCMD) $(MTL) $(MTL_SWITCHES17) $(INCLUDE) $(SOURCE17) && $(TOUCH) $@ 213$(MISC)$/defines : $(SOURCE18) 214 $(WRAPCMD) $(MTL) $(MTL_SWITCHES18) $(INCLUDE) $(SOURCE18) && $(TOUCH) $@ 215$(MISC)$/IA2CommonTypes : $(SOURCE19) 216 $(WRAPCMD) $(MTL) $(MTL_SWITCHES19) $(INCLUDE) $(SOURCE19) && $(TOUCH) $@ 217$(MISC)$/IA2TypeLibrary : $(SOURCE20) 218 $(WRAPCMD) $(MTL) $(MTL_SWITCHES20) $(INCLUDE) $(SOURCE20) && $(TOUCH) $@ 219$(MISC)$/UAccCOM : $(SOURCE21) 220 $(WRAPCMD) $(MTL) $(MTL_SWITCHES21) $(INCLUDE) $(SOURCE21) && $(TOUCH) $@ 221.ENDIF 222 223.ENDIF 224 225.INCLUDE : target.mk 226 227