1*3a700b0aSSteve Yin#**************************************************************
2*3a700b0aSSteve Yin#
3*3a700b0aSSteve Yin#  Licensed to the Apache Software Foundation (ASF) under one
4*3a700b0aSSteve Yin#  or more contributor license agreements.  See the NOTICE file
5*3a700b0aSSteve Yin#  distributed with this work for additional information
6*3a700b0aSSteve Yin#  regarding copyright ownership.  The ASF licenses this file
7*3a700b0aSSteve Yin#  to you under the Apache License, Version 2.0 (the
8*3a700b0aSSteve Yin#  "License"); you may not use this file except in compliance
9*3a700b0aSSteve Yin#  with the License.  You may obtain a copy of the License at
10*3a700b0aSSteve Yin#
11*3a700b0aSSteve Yin#    http://www.apache.org/licenses/LICENSE-2.0
12*3a700b0aSSteve Yin#
13*3a700b0aSSteve Yin#  Unless required by applicable law or agreed to in writing,
14*3a700b0aSSteve Yin#  software distributed under the License is distributed on an
15*3a700b0aSSteve Yin#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*3a700b0aSSteve Yin#  KIND, either express or implied.  See the License for the
17*3a700b0aSSteve Yin#  specific language governing permissions and limitations
18*3a700b0aSSteve Yin#  under the License.
19*3a700b0aSSteve Yin#
20*3a700b0aSSteve Yin#**************************************************************
215fdc4257SSteve Yin
225fdc4257SSteve YinPRJ=..$/..
235fdc4257SSteve YinPRJNAME=winaccessibility
245fdc4257SSteve YinTARGET=UAccCOM
255fdc4257SSteve Yin
265fdc4257SSteve Yin# --- Settings -----------------------------------------------------
275fdc4257SSteve Yin.IF "$(GUI)" == "WNT" && "$(DISABLE_ATL)"==""
285fdc4257SSteve YinPROF_EDITION=TRUE
295fdc4257SSteve Yin.ENDIF
305fdc4257SSteve Yin
315fdc4257SSteve Yin.INCLUDE :	settings.mk
325fdc4257SSteve Yin
335fdc4257SSteve Yin.IF "$(GUI)" == "WNT" && "$(DISABLE_ATL)"==""
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.IF "$(USE_STLP_DEBUG)"!=""
505fdc4257SSteve YinCDEFS+=-D_DEBUG
515fdc4257SSteve Yin.ENDIF # "$(USE_STLP_DEBUG)"!=""
525fdc4257SSteve Yin
535fdc4257SSteve YinRCFILES=\
545fdc4257SSteve Yin        $(TARGET).rc
555fdc4257SSteve Yin#RCDEPN=$(MISC)$/envsettings.h
565fdc4257SSteve Yin
575fdc4257SSteve YinSLOFILES=\
585fdc4257SSteve Yin	$(SLO)$/AccAction.obj \
595fdc4257SSteve Yin	$(SLO)$/AccActionBase.obj \
605fdc4257SSteve Yin	$(SLO)$/AccComponent.obj \
615fdc4257SSteve Yin	$(SLO)$/AccComponentBase.obj \
625fdc4257SSteve Yin	$(SLO)$/AccEditableText.obj \
635fdc4257SSteve Yin	$(SLO)$/AccHyperLink.obj \
645fdc4257SSteve Yin	$(SLO)$/AccHypertext.obj \
655fdc4257SSteve Yin	$(SLO)$/AccImage.obj \
665fdc4257SSteve Yin	$(SLO)$/AccRelation.obj \
675fdc4257SSteve Yin	$(SLO)$/AccText.obj \
685fdc4257SSteve Yin	$(SLO)$/AccValue.obj \
695fdc4257SSteve Yin	$(SLO)$/EnumVariant.obj \
705fdc4257SSteve Yin	$(SLO)$/StdAfx.obj \
715fdc4257SSteve Yin	$(SLO)$/UAccCOM.obj \
725fdc4257SSteve Yin	$(SLO)$/UNOXWrapper.obj \
735fdc4257SSteve Yin	$(SLO)$/AccTable.obj \
745fdc4257SSteve Yin	$(SLO)$/AccTextBase.obj \
755fdc4257SSteve Yin	$(SLO)$/MAccessible.obj \
765fdc4257SSteve Yin	$(SLO)$/CheckEnableAccessible.obj \
775fdc4257SSteve Yin
785fdc4257SSteve YinEXCEPTIONSFILES= \
795fdc4257SSteve Yin	$(SLO)$/AccAction.obj \
805fdc4257SSteve Yin	$(SLO)$/AccActionBase.obj \
815fdc4257SSteve Yin	$(SLO)$/AccComponent.obj \
825fdc4257SSteve Yin	$(SLO)$/AccComponentBase.obj \
835fdc4257SSteve Yin	$(SLO)$/AccEditableText.obj \
845fdc4257SSteve Yin	$(SLO)$/AccHyperLink.obj \
855fdc4257SSteve Yin	$(SLO)$/AccHypertext.obj \
865fdc4257SSteve Yin	$(SLO)$/AccImage.obj \
875fdc4257SSteve Yin	$(SLO)$/AccRelation.obj \
885fdc4257SSteve Yin	$(SLO)$/AccText.obj \
895fdc4257SSteve Yin	$(SLO)$/AccValue.obj \
905fdc4257SSteve Yin	$(SLO)$/EnumVariant.obj \
915fdc4257SSteve Yin	$(SLO)$/StdAfx.obj \
925fdc4257SSteve Yin	$(SLO)$/UAccCOM.obj \
935fdc4257SSteve Yin	$(SLO)$/UNOXWrapper.obj \
945fdc4257SSteve Yin	$(SLO)$/AccTable.obj \
955fdc4257SSteve Yin	$(SLO)$/AccTextBase.obj \
965fdc4257SSteve Yin	$(SLO)$/MAccessible.obj \
975fdc4257SSteve Yin
985fdc4257SSteve YinSHL1TARGET=$(TARGET)
995fdc4257SSteve YinSHL1STDLIBS=\
1005fdc4257SSteve Yin    oleacc.lib\
1015fdc4257SSteve Yin    icuuc.lib\
1025fdc4257SSteve Yin    icuin.lib\
103*3a700b0aSSteve Yin    $(CPPULIB)\
104*3a700b0aSSteve Yin    $(VCLLIB) \
105*3a700b0aSSteve Yin	$(SALLIB)\
1065fdc4257SSteve Yin	kernel32.lib \
1075fdc4257SSteve Yin	user32.lib \
1085fdc4257SSteve Yin	advapi32.lib \
1095fdc4257SSteve Yin	ole32.lib \
1105fdc4257SSteve Yin	oleaut32.lib \
1115fdc4257SSteve Yin	delayimp.lib \
1125fdc4257SSteve Yin	shlwapi.lib \
1135fdc4257SSteve Yin	uuid.lib
1145fdc4257SSteve Yin
1155fdc4257SSteve YinLINKFLAGS += /delayload:sal3.dll \
116*3a700b0aSSteve Yin             /delayload:cppu3.dll
1175fdc4257SSteve Yin
1185fdc4257SSteve Yin.IF "$(COM)"!="GCC"
1195fdc4257SSteve Yin.IF "$(CCNUMVER)" > "001300000000"
1205fdc4257SSteve Yin.IF "$(USE_STLP_DEBUG)" != ""
1215fdc4257SSteve Yin    SHL1STDLIBS+= $(ATL_LIB)$/atlsd.lib
1225fdc4257SSteve Yin.ELSE
1235fdc4257SSteve Yin    SHL1STDLIBS+= $(ATL_LIB)$/atls.lib
1245fdc4257SSteve Yin.ENDIF
1255fdc4257SSteve Yin.ENDIF
1265fdc4257SSteve Yin.ENDIF
1275fdc4257SSteve Yin
1285fdc4257SSteve YinSHL1OBJS=$(SLOFILES)
1295fdc4257SSteve YinSHL1DEF=$(TARGET).def
1306fa810f3SSteve YinSHL1RES=$(RES)/$(TARGET).res
1315fdc4257SSteve Yin
1325fdc4257SSteve YinDEF1NAME= $(TARGET)
1335fdc4257SSteve Yin#DEF1EXPORTFILE=	exports.dxp
1345fdc4257SSteve Yin
1355fdc4257SSteve Yin.ENDIF
1365fdc4257SSteve Yin
1375fdc4257SSteve Yin# --- Targets ----------------------------------
1385fdc4257SSteve Yin.INCLUDE : target.mk
139