13a700b0aSSteve Yin#**************************************************************
23a700b0aSSteve Yin#
33a700b0aSSteve Yin#  Licensed to the Apache Software Foundation (ASF) under one
43a700b0aSSteve Yin#  or more contributor license agreements.  See the NOTICE file
53a700b0aSSteve Yin#  distributed with this work for additional information
63a700b0aSSteve Yin#  regarding copyright ownership.  The ASF licenses this file
73a700b0aSSteve Yin#  to you under the Apache License, Version 2.0 (the
83a700b0aSSteve Yin#  "License"); you may not use this file except in compliance
93a700b0aSSteve Yin#  with the License.  You may obtain a copy of the License at
103a700b0aSSteve Yin#
113a700b0aSSteve Yin#    http://www.apache.org/licenses/LICENSE-2.0
123a700b0aSSteve Yin#
133a700b0aSSteve Yin#  Unless required by applicable law or agreed to in writing,
143a700b0aSSteve Yin#  software distributed under the License is distributed on an
153a700b0aSSteve Yin#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
163a700b0aSSteve Yin#  KIND, either express or implied.  See the License for the
173a700b0aSSteve Yin#  specific language governing permissions and limitations
183a700b0aSSteve Yin#  under the License.
193a700b0aSSteve Yin#
203a700b0aSSteve Yin#**************************************************************
215fdc4257SSteve Yin
225fdc4257SSteve YinPRJ=..$/..
235fdc4257SSteve YinPRJNAME=winaccessibility
245fdc4257SSteve YinTARGET=UAccCOM
255fdc4257SSteve Yin
265fdc4257SSteve Yin# --- Settings -----------------------------------------------------
27*5023a793SHerbert Dürr.IF "$(GUI)"!="WNT" || "$(DISABLE_ATL)"!=""
28*5023a793SHerbert Dürrall:
29*5023a793SHerbert Dürr	@echo "$TARGET will not be built because GUI='$(GUI)' and DISABLE_ATL='$(DISABLE_ATL)'"
30*5023a793SHerbert Dürr.ELSE
315fdc4257SSteve Yin
32*5023a793SHerbert DürrPROF_EDITION=TRUE
335fdc4257SSteve Yin.INCLUDE :	settings.mk
345fdc4257SSteve Yin
355fdc4257SSteve YinVERSIONOBJ=
365fdc4257SSteve YinLIBTARGET=NO
375fdc4257SSteve YinUSE_DEFFILE=YES
385fdc4257SSteve YinUWINAPILIB=
395fdc4257SSteve Yin
405fdc4257SSteve YinINCPRE+=$(foreach,i,$(ATL_INCLUDE) -I$(i)) \
415fdc4257SSteve Yin    -I$(MISC) \
425fdc4257SSteve Yin
435fdc4257SSteve YinCFLAGS+=-D_UNICODE -DUNICODE
445fdc4257SSteve Yin
455fdc4257SSteve Yin# --- Files --------------------------------------------------------
465fdc4257SSteve Yin.IF "$(PRODUCT)"!=""
475fdc4257SSteve YinRC+=-DPRODUCT
485fdc4257SSteve Yin.ENDIF
495fdc4257SSteve Yin
505fdc4257SSteve YinRCFILES=\
515fdc4257SSteve Yin        $(TARGET).rc
525fdc4257SSteve Yin#RCDEPN=$(MISC)$/envsettings.h
535fdc4257SSteve Yin
545fdc4257SSteve YinSLOFILES=\
555fdc4257SSteve Yin	$(SLO)$/AccAction.obj \
565fdc4257SSteve Yin	$(SLO)$/AccActionBase.obj \
575fdc4257SSteve Yin	$(SLO)$/AccComponent.obj \
585fdc4257SSteve Yin	$(SLO)$/AccComponentBase.obj \
595fdc4257SSteve Yin	$(SLO)$/AccEditableText.obj \
605fdc4257SSteve Yin	$(SLO)$/AccHyperLink.obj \
615fdc4257SSteve Yin	$(SLO)$/AccHypertext.obj \
625fdc4257SSteve Yin	$(SLO)$/AccImage.obj \
635fdc4257SSteve Yin	$(SLO)$/AccRelation.obj \
645fdc4257SSteve Yin	$(SLO)$/AccText.obj \
655fdc4257SSteve Yin	$(SLO)$/AccValue.obj \
665fdc4257SSteve Yin	$(SLO)$/EnumVariant.obj \
675fdc4257SSteve Yin	$(SLO)$/StdAfx.obj \
685fdc4257SSteve Yin	$(SLO)$/UAccCOM.obj \
695fdc4257SSteve Yin	$(SLO)$/UNOXWrapper.obj \
705fdc4257SSteve Yin	$(SLO)$/AccTable.obj \
715fdc4257SSteve Yin	$(SLO)$/AccTextBase.obj \
725fdc4257SSteve Yin	$(SLO)$/MAccessible.obj \
735fdc4257SSteve Yin	$(SLO)$/CheckEnableAccessible.obj \
745fdc4257SSteve Yin
755fdc4257SSteve YinEXCEPTIONSFILES= \
765fdc4257SSteve Yin	$(SLO)$/AccAction.obj \
775fdc4257SSteve Yin	$(SLO)$/AccActionBase.obj \
785fdc4257SSteve Yin	$(SLO)$/AccComponent.obj \
795fdc4257SSteve Yin	$(SLO)$/AccComponentBase.obj \
805fdc4257SSteve Yin	$(SLO)$/AccEditableText.obj \
815fdc4257SSteve Yin	$(SLO)$/AccHyperLink.obj \
825fdc4257SSteve Yin	$(SLO)$/AccHypertext.obj \
835fdc4257SSteve Yin	$(SLO)$/AccImage.obj \
845fdc4257SSteve Yin	$(SLO)$/AccRelation.obj \
855fdc4257SSteve Yin	$(SLO)$/AccText.obj \
865fdc4257SSteve Yin	$(SLO)$/AccValue.obj \
875fdc4257SSteve Yin	$(SLO)$/EnumVariant.obj \
885fdc4257SSteve Yin	$(SLO)$/StdAfx.obj \
895fdc4257SSteve Yin	$(SLO)$/UAccCOM.obj \
905fdc4257SSteve Yin	$(SLO)$/UNOXWrapper.obj \
915fdc4257SSteve Yin	$(SLO)$/AccTable.obj \
925fdc4257SSteve Yin	$(SLO)$/AccTextBase.obj \
935fdc4257SSteve Yin	$(SLO)$/MAccessible.obj \
945fdc4257SSteve Yin
955fdc4257SSteve YinSHL1TARGET=$(TARGET)
965fdc4257SSteve YinSHL1STDLIBS=\
97b0a7a3cfSSteve Yin    $(ICUUCLIB)\
98b0a7a3cfSSteve Yin    $(ICUINLIB)\
993a700b0aSSteve Yin    $(CPPULIB)\
1003a700b0aSSteve Yin    $(VCLLIB) \
1013a700b0aSSteve Yin	$(SALLIB)\
102b0a7a3cfSSteve Yin	$(KERNEL32LIB) \
103b0a7a3cfSSteve Yin	$(USER32LIB) \
104b0a7a3cfSSteve Yin	$(ADVAPI32LIB) \
105b0a7a3cfSSteve Yin	$(OLE32LIB) \
106b0a7a3cfSSteve Yin	$(OLEAUT32LIB) \
107b0a7a3cfSSteve Yin	$(SHLWAPILIB) \
108b0a7a3cfSSteve Yin	$(UUIDLIB) \
109b0a7a3cfSSteve Yin	oleacc.lib
1105fdc4257SSteve Yin
1115fdc4257SSteve Yin.IF "$(COM)"!="GCC"
1125fdc4257SSteve Yin.IF "$(CCNUMVER)" > "001300000000"
1135fdc4257SSteve Yin    SHL1STDLIBS+= $(ATL_LIB)$/atls.lib
1145fdc4257SSteve Yin.ENDIF
1155fdc4257SSteve Yin.ENDIF
1165fdc4257SSteve Yin
1175fdc4257SSteve YinSHL1OBJS=$(SLOFILES)
1185fdc4257SSteve YinSHL1DEF=$(TARGET).def
1196fa810f3SSteve YinSHL1RES=$(RES)/$(TARGET).res
1205fdc4257SSteve Yin
1215fdc4257SSteve YinDEF1NAME= $(TARGET)
1225fdc4257SSteve Yin#DEF1EXPORTFILE=	exports.dxp
1235fdc4257SSteve Yin
1245fdc4257SSteve Yin# --- Targets ----------------------------------
1255fdc4257SSteve Yin.INCLUDE : target.mk
126b0a7a3cfSSteve Yin
127b0a7a3cfSSteve YinALLTAR : \
128b0a7a3cfSSteve Yin    $(MISC)/$(TARGET).manifest \
129b0a7a3cfSSteve Yin
130b0a7a3cfSSteve Yin$(MISC)/$(TARGET).manifest: $(BIN)$/$(TARGET)$(DLLPOST)
131b0a7a3cfSSteve Yin	cat *.rgs > $(MISC)$/$(TARGET).rgs
132b0a7a3cfSSteve Yin	mt.exe -rgs:$(MISC)$/$(TARGET).rgs -tlb:$(MISC)$/$(TARGET).tlb -dll:$(TARGET).dll -out:$(MISC)$/$(TARGET).manifest
1333e956ccdSOliver-Rainer Wittmann	mt.exe -manifest $(MISC)$/$(TARGET).manifest -outputresource:$(BIN)$/$(TARGET)$(DLLPOST)\;\#97
134*5023a793SHerbert Dürr
135*5023a793SHerbert Dürr.ENDIF # "$(GUI)"!="WNT" || "$(DISABLE_ATL)"!=""
136*5023a793SHerbert Dürr
137