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=UAccCOM 25 26# --- Settings ----------------------------------------------------- 27.IF "$(GUI)" == "WNT" && "$(DISABLE_ATL)"=="" 28PROF_EDITION=TRUE 29.ENDIF 30 31.INCLUDE : settings.mk 32 33.IF "$(GUI)" == "WNT" && "$(DISABLE_ATL)"=="" 34 35VERSIONOBJ= 36LIBTARGET=NO 37USE_DEFFILE=YES 38UWINAPILIB= 39 40INCPRE+=$(foreach,i,$(ATL_INCLUDE) -I$(i)) \ 41 -I$(MISC) \ 42 43CFLAGS+=-D_UNICODE -DUNICODE 44 45# --- Files -------------------------------------------------------- 46.IF "$(PRODUCT)"!="" 47RC+=-DPRODUCT 48.ENDIF 49.IF "$(USE_STLP_DEBUG)"!="" 50CDEFS+=-D_DEBUG 51.ENDIF # "$(USE_STLP_DEBUG)"!="" 52 53RCFILES=\ 54 $(TARGET).rc 55#RCDEPN=$(MISC)$/envsettings.h 56 57SLOFILES=\ 58 $(SLO)$/AccAction.obj \ 59 $(SLO)$/AccActionBase.obj \ 60 $(SLO)$/AccComponent.obj \ 61 $(SLO)$/AccComponentBase.obj \ 62 $(SLO)$/AccEditableText.obj \ 63 $(SLO)$/AccHyperLink.obj \ 64 $(SLO)$/AccHypertext.obj \ 65 $(SLO)$/AccImage.obj \ 66 $(SLO)$/AccRelation.obj \ 67 $(SLO)$/AccText.obj \ 68 $(SLO)$/AccValue.obj \ 69 $(SLO)$/EnumVariant.obj \ 70 $(SLO)$/StdAfx.obj \ 71 $(SLO)$/UAccCOM.obj \ 72 $(SLO)$/UNOXWrapper.obj \ 73 $(SLO)$/AccTable.obj \ 74 $(SLO)$/AccTextBase.obj \ 75 $(SLO)$/MAccessible.obj \ 76 $(SLO)$/CheckEnableAccessible.obj \ 77 78EXCEPTIONSFILES= \ 79 $(SLO)$/AccAction.obj \ 80 $(SLO)$/AccActionBase.obj \ 81 $(SLO)$/AccComponent.obj \ 82 $(SLO)$/AccComponentBase.obj \ 83 $(SLO)$/AccEditableText.obj \ 84 $(SLO)$/AccHyperLink.obj \ 85 $(SLO)$/AccHypertext.obj \ 86 $(SLO)$/AccImage.obj \ 87 $(SLO)$/AccRelation.obj \ 88 $(SLO)$/AccText.obj \ 89 $(SLO)$/AccValue.obj \ 90 $(SLO)$/EnumVariant.obj \ 91 $(SLO)$/StdAfx.obj \ 92 $(SLO)$/UAccCOM.obj \ 93 $(SLO)$/UNOXWrapper.obj \ 94 $(SLO)$/AccTable.obj \ 95 $(SLO)$/AccTextBase.obj \ 96 $(SLO)$/MAccessible.obj \ 97 98SHL1TARGET=$(TARGET) 99SHL1STDLIBS=\ 100 $(ICUUCLIB)\ 101 $(ICUINLIB)\ 102 $(CPPULIB)\ 103 $(VCLLIB) \ 104 $(SALLIB)\ 105 $(KERNEL32LIB) \ 106 $(USER32LIB) \ 107 $(ADVAPI32LIB) \ 108 $(OLE32LIB) \ 109 $(OLEAUT32LIB) \ 110 $(SHLWAPILIB) \ 111 $(UUIDLIB) \ 112 oleacc.lib 113 114.IF "$(COM)"!="GCC" 115.IF "$(CCNUMVER)" > "001300000000" 116.IF "$(USE_STLP_DEBUG)" != "" 117 SHL1STDLIBS+= $(ATL_LIB)$/atlsd.lib 118.ELSE 119 SHL1STDLIBS+= $(ATL_LIB)$/atls.lib 120.ENDIF 121.ENDIF 122.ENDIF 123 124SHL1OBJS=$(SLOFILES) 125SHL1DEF=$(TARGET).def 126SHL1RES=$(RES)/$(TARGET).res 127 128DEF1NAME= $(TARGET) 129#DEF1EXPORTFILE= exports.dxp 130 131.ENDIF 132 133# --- Targets ---------------------------------- 134.INCLUDE : target.mk 135 136ALLTAR : \ 137 $(MISC)/$(TARGET).manifest \ 138 139$(MISC)/$(TARGET).manifest: $(BIN)$/$(TARGET)$(DLLPOST) 140 cat *.rgs > $(MISC)$/$(TARGET).rgs 141 mt.exe -rgs:$(MISC)$/$(TARGET).rgs -tlb:$(MISC)$/$(TARGET).tlb -dll:$(TARGET).dll -out:$(MISC)$/$(TARGET).manifest 142 mt.exe -manifest $(MISC)$/$(TARGET).manifest -outputresource:$(BIN)$/$(TARGET)$(DLLPOST)\;\#97