1*5fdc4257SSteve Yin#/*************************************************************************
2*5fdc4257SSteve Yin#
3*5fdc4257SSteve Yin# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*5fdc4257SSteve Yin#
5*5fdc4257SSteve Yin# Copyright IBM Corporation 2010.
6*5fdc4257SSteve Yin# Copyright 2000, 2010 Oracle and/or its affiliates.
7*5fdc4257SSteve Yin#
8*5fdc4257SSteve Yin# OpenOffice.org - a multi-platform office productivity suite
9*5fdc4257SSteve Yin#
10*5fdc4257SSteve Yin# This file is part of OpenOffice.org.
11*5fdc4257SSteve Yin#
12*5fdc4257SSteve Yin# OpenOffice.org is free software: you can redistribute it and/or modify
13*5fdc4257SSteve Yin# it under the terms of the GNU Lesser General Public License version 3
14*5fdc4257SSteve Yin# only, as published by the Free Software Foundation.
15*5fdc4257SSteve Yin#
16*5fdc4257SSteve Yin# OpenOffice.org is distributed in the hope that it will be useful,
17*5fdc4257SSteve Yin# but WITHOUT ANY WARRANTY; without even the implied warranty of
18*5fdc4257SSteve Yin# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19*5fdc4257SSteve Yin# GNU Lesser General Public License version 3 for more details
20*5fdc4257SSteve Yin# (a copy is included in the LICENSE file that accompanied this code).
21*5fdc4257SSteve Yin#
22*5fdc4257SSteve Yin# You should have received a copy of the GNU Lesser General Public License
23*5fdc4257SSteve Yin# version 3 along with OpenOffice.org.  If not, see
24*5fdc4257SSteve Yin# <http://www.openoffice.org/license.html>
25*5fdc4257SSteve Yin# for a copy of the LGPLv3 License.
26*5fdc4257SSteve Yin#
27*5fdc4257SSteve Yin#************************************************************************/
28*5fdc4257SSteve Yin
29*5fdc4257SSteve YinPRJ=..$/..
30*5fdc4257SSteve YinPRJNAME=winaccessibility
31*5fdc4257SSteve YinTARGET=UAccCOM
32*5fdc4257SSteve Yin
33*5fdc4257SSteve Yin# --- Settings -----------------------------------------------------
34*5fdc4257SSteve Yin.IF "$(GUI)" == "WNT" && "$(DISABLE_ATL)"==""
35*5fdc4257SSteve YinPROF_EDITION=TRUE
36*5fdc4257SSteve Yin.ENDIF
37*5fdc4257SSteve Yin
38*5fdc4257SSteve Yin.INCLUDE :	settings.mk
39*5fdc4257SSteve Yin
40*5fdc4257SSteve Yin.IF "$(GUI)" == "WNT" && "$(DISABLE_ATL)"==""
41*5fdc4257SSteve Yin
42*5fdc4257SSteve YinVERSIONOBJ=
43*5fdc4257SSteve YinLIBTARGET=NO
44*5fdc4257SSteve YinUSE_DEFFILE=YES
45*5fdc4257SSteve YinUWINAPILIB=
46*5fdc4257SSteve Yin
47*5fdc4257SSteve YinINCPRE+=$(foreach,i,$(ATL_INCLUDE) -I$(i)) \
48*5fdc4257SSteve Yin    -I$(MISC) \
49*5fdc4257SSteve Yin
50*5fdc4257SSteve YinCFLAGS+=-D_UNICODE -DUNICODE
51*5fdc4257SSteve Yin
52*5fdc4257SSteve Yin# --- Files --------------------------------------------------------
53*5fdc4257SSteve Yin.IF "$(PRODUCT)"!=""
54*5fdc4257SSteve YinRC+=-DPRODUCT
55*5fdc4257SSteve Yin.ENDIF
56*5fdc4257SSteve Yin.IF "$(USE_STLP_DEBUG)"!=""
57*5fdc4257SSteve YinCDEFS+=-D_DEBUG
58*5fdc4257SSteve Yin.ENDIF # "$(USE_STLP_DEBUG)"!=""
59*5fdc4257SSteve Yin
60*5fdc4257SSteve YinRCFILES=\
61*5fdc4257SSteve Yin        $(TARGET).rc
62*5fdc4257SSteve Yin#RCDEPN=$(MISC)$/envsettings.h
63*5fdc4257SSteve Yin
64*5fdc4257SSteve YinSLOFILES=\
65*5fdc4257SSteve Yin	$(SLO)$/AccAction.obj \
66*5fdc4257SSteve Yin	$(SLO)$/AccActionBase.obj \
67*5fdc4257SSteve Yin	$(SLO)$/AccComponent.obj \
68*5fdc4257SSteve Yin	$(SLO)$/AccComponentBase.obj \
69*5fdc4257SSteve Yin	$(SLO)$/AccEditableText.obj \
70*5fdc4257SSteve Yin	$(SLO)$/AccHyperLink.obj \
71*5fdc4257SSteve Yin	$(SLO)$/AccHypertext.obj \
72*5fdc4257SSteve Yin	$(SLO)$/AccImage.obj \
73*5fdc4257SSteve Yin	$(SLO)$/AccRelation.obj \
74*5fdc4257SSteve Yin	$(SLO)$/AccText.obj \
75*5fdc4257SSteve Yin	$(SLO)$/AccValue.obj \
76*5fdc4257SSteve Yin	$(SLO)$/EnumVariant.obj \
77*5fdc4257SSteve Yin	$(SLO)$/StdAfx.obj \
78*5fdc4257SSteve Yin	$(SLO)$/UAccCOM.obj \
79*5fdc4257SSteve Yin	$(SLO)$/UNOXWrapper.obj \
80*5fdc4257SSteve Yin	$(SLO)$/AccTable.obj \
81*5fdc4257SSteve Yin	$(SLO)$/AccTextBase.obj \
82*5fdc4257SSteve Yin	$(SLO)$/MAccessible.obj \
83*5fdc4257SSteve Yin	$(SLO)$/CheckEnableAccessible.obj \
84*5fdc4257SSteve Yin
85*5fdc4257SSteve YinEXCEPTIONSFILES= \
86*5fdc4257SSteve Yin	$(SLO)$/AccAction.obj \
87*5fdc4257SSteve Yin	$(SLO)$/AccActionBase.obj \
88*5fdc4257SSteve Yin	$(SLO)$/AccComponent.obj \
89*5fdc4257SSteve Yin	$(SLO)$/AccComponentBase.obj \
90*5fdc4257SSteve Yin	$(SLO)$/AccEditableText.obj \
91*5fdc4257SSteve Yin	$(SLO)$/AccHyperLink.obj \
92*5fdc4257SSteve Yin	$(SLO)$/AccHypertext.obj \
93*5fdc4257SSteve Yin	$(SLO)$/AccImage.obj \
94*5fdc4257SSteve Yin	$(SLO)$/AccRelation.obj \
95*5fdc4257SSteve Yin	$(SLO)$/AccText.obj \
96*5fdc4257SSteve Yin	$(SLO)$/AccValue.obj \
97*5fdc4257SSteve Yin	$(SLO)$/EnumVariant.obj \
98*5fdc4257SSteve Yin	$(SLO)$/StdAfx.obj \
99*5fdc4257SSteve Yin	$(SLO)$/UAccCOM.obj \
100*5fdc4257SSteve Yin	$(SLO)$/UNOXWrapper.obj \
101*5fdc4257SSteve Yin	$(SLO)$/AccTable.obj \
102*5fdc4257SSteve Yin	$(SLO)$/AccTextBase.obj \
103*5fdc4257SSteve Yin	$(SLO)$/MAccessible.obj \
104*5fdc4257SSteve Yin
105*5fdc4257SSteve YinSHL1TARGET=$(TARGET)
106*5fdc4257SSteve YinSHL1STDLIBS=\
107*5fdc4257SSteve Yin    oleacc.lib\
108*5fdc4257SSteve Yin    isal.lib\
109*5fdc4257SSteve Yin    icuuc.lib\
110*5fdc4257SSteve Yin    icuin.lib\
111*5fdc4257SSteve Yin    icppu.lib\
112*5fdc4257SSteve Yin    ivcl.lib \
113*5fdc4257SSteve Yin	kernel32.lib \
114*5fdc4257SSteve Yin	user32.lib \
115*5fdc4257SSteve Yin	advapi32.lib \
116*5fdc4257SSteve Yin	ole32.lib \
117*5fdc4257SSteve Yin	oleaut32.lib \
118*5fdc4257SSteve Yin	delayimp.lib \
119*5fdc4257SSteve Yin	shlwapi.lib \
120*5fdc4257SSteve Yin	uuid.lib
121*5fdc4257SSteve Yin
122*5fdc4257SSteve YinLINKFLAGS += /delayload:sal3.dll \
123*5fdc4257SSteve Yin             /delayload:cppu3.dll \
124*5fdc4257SSteve Yin             /delayload:vclmi.dll
125*5fdc4257SSteve Yin
126*5fdc4257SSteve Yin.IF "$(COM)"!="GCC"
127*5fdc4257SSteve Yin.IF "$(CCNUMVER)" > "001300000000"
128*5fdc4257SSteve Yin.IF "$(USE_STLP_DEBUG)" != ""
129*5fdc4257SSteve Yin    SHL1STDLIBS+= $(ATL_LIB)$/atlsd.lib
130*5fdc4257SSteve Yin.ELSE
131*5fdc4257SSteve Yin    SHL1STDLIBS+= $(ATL_LIB)$/atls.lib
132*5fdc4257SSteve Yin.ENDIF
133*5fdc4257SSteve Yin.ENDIF
134*5fdc4257SSteve Yin.ENDIF
135*5fdc4257SSteve Yin
136*5fdc4257SSteve YinSHL1OBJS=$(SLOFILES)
137*5fdc4257SSteve YinSHL1DEF=$(TARGET).def
138*5fdc4257SSteve YinSHL1RES=$(RES)$/$(TARGET).res
139*5fdc4257SSteve Yin
140*5fdc4257SSteve YinDEF1NAME= $(TARGET)
141*5fdc4257SSteve Yin#DEF1EXPORTFILE=	exports.dxp
142*5fdc4257SSteve Yin
143*5fdc4257SSteve Yin.ENDIF
144*5fdc4257SSteve Yin
145*5fdc4257SSteve Yin# --- Targets ----------------------------------
146*5fdc4257SSteve Yin.INCLUDE : target.mk
147