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    oleacc.lib\
101    icuuc.lib\
102    icuin.lib\
103    $(CPPULIB)\
104    $(VCLLIB) \
105	$(SALLIB)\
106	kernel32.lib \
107	user32.lib \
108	advapi32.lib \
109	ole32.lib \
110	oleaut32.lib \
111	delayimp.lib \
112	shlwapi.lib \
113	uuid.lib
114
115LINKFLAGS += /delayload:sal3.dll \
116             /delayload:cppu3.dll
117
118.IF "$(COM)"!="GCC"
119.IF "$(CCNUMVER)" > "001300000000"
120.IF "$(USE_STLP_DEBUG)" != ""
121    SHL1STDLIBS+= $(ATL_LIB)$/atlsd.lib
122.ELSE
123    SHL1STDLIBS+= $(ATL_LIB)$/atls.lib
124.ENDIF
125.ENDIF
126.ENDIF
127
128SHL1OBJS=$(SLOFILES)
129SHL1DEF=$(TARGET).def
130SHL1RES=$(RES)/$(TARGET).res
131
132DEF1NAME= $(TARGET)
133#DEF1EXPORTFILE=	exports.dxp
134
135.ENDIF
136
137# --- Targets ----------------------------------
138.INCLUDE : target.mk
139