1#/*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright IBM Corporation 2010.
6# Copyright 2000, 2010 Oracle and/or its affiliates.
7#
8# OpenOffice.org - a multi-platform office productivity suite
9#
10# This file is part of OpenOffice.org.
11#
12# OpenOffice.org is free software: you can redistribute it and/or modify
13# it under the terms of the GNU Lesser General Public License version 3
14# only, as published by the Free Software Foundation.
15#
16# OpenOffice.org is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19# GNU Lesser General Public License version 3 for more details
20# (a copy is included in the LICENSE file that accompanied this code).
21#
22# You should have received a copy of the GNU Lesser General Public License
23# version 3 along with OpenOffice.org.  If not, see
24# <http://www.openoffice.org/license.html>
25# for a copy of the LGPLv3 License.
26#
27#************************************************************************/
28
29.IF "$(GUI)"=="WNT"
30PRJ=..$/..
31PRJNAME=winaccessibility
32TARGET=winaccessibility
33LIBTARGET=NO
34USE_DEFFILE=TRUE
35ENABLE_EXCEPTIONS=TRUE
36VERSIONOBJ=
37AUTOSEG=true
38NO_BSYMBOLIC=	TRUE
39
40# output directory (one dir for each project)
41UNOUCROUT=$(OUT)$/inc
42# adding to inludepath
43INCPRE+=$(UNOUCROUT)
44INCPRE+=$(MISC)
45# --- Settings -----------------------------------------------------
46
47.INCLUDE :  settings.mk
48
49# --- Files --------------------------------------------------------
50SLOFILES=   $(SLO)$/AccObject.obj		\
51            $(SLO)$/ResIDGenerator.obj		\
52            $(SLO)$/AccObjectWinManager.obj			\
53            $(SLO)$/AccObjectManagerAgent.obj			\
54            $(SLO)$/AccEventListener.obj	\
55            $(SLO)$/AccComponentEventListener.obj	\
56            $(SLO)$/AccContainerEventListener.obj	\
57            $(SLO)$/AccDialogEventListener.obj	\
58            $(SLO)$/AccFrameEventListener.obj	\
59            $(SLO)$/AccWindowEventListener.obj	\
60            $(SLO)$/AccMenuEventListener.obj	\
61            $(SLO)$/AccTextComponentEventListener.obj	\
62            $(SLO)$/AccObjectContainerEventListener.obj	\
63            $(SLO)$/AccParagraphEventListener.obj	\
64            $(SLO)$/AccDescendantManagerEventListener.obj	\
65            $(SLO)$/AccListEventListener.obj	\
66            $(SLO)$/AccTableEventListener.obj	\
67            $(SLO)$/AccTreeEventListener.obj	\
68            $(SLO)$/AccTopWindowListener.obj	\
69			$(SLO)$/msaaservice_impl.obj 	\
70			$(SLO)$/checkmt.obj	\
71			$(SLO)$/AccResource.obj
72
73#SRCFILES=winaccessibility.src
74#RES1FILELIST=$(SRS)$/winaccessibility.srs
75#RESLIB1NAME=$(TARGET)
76#RESLIB1SRSFILES=$(RES1FILELIST)
77
78SHL1TARGET=winaccessibility
79SHL1IMPLIB=i$(SHL1TARGET)
80SHL1STDLIBS=\
81				$(VCLLIB)		\
82				$(CPPULIB)		\
83				$(SALLIB)		\
84				$(CPPUHELPERLIB) \
85				$(TOOLSLIB) \
86				$(TKLIB)		\
87			    uwinapi.lib      \
88				gdi32.lib        \
89				winspool.lib     \
90				ole32.lib        \
91				shell32.lib      \
92				advapi32.lib     \
93				imm32.lib		\
94				uuid.lib			\
95				oleacc.lib			\
96				$(VOSLIB)
97
98SHL1OBJS=$(SLOFILES)
99SHL1VERSIONOBJ=
100SHL1DESCRIPTIONOBJ=
101
102DEF1NAME=$(SHL1TARGET)
103DEF1EXPORTFILE=exports.dxp
104
105
106
107# --- Targets ------------------------------------------------------
108
109.INCLUDE :	target.mk
110
111ALLTAR : \
112    $(MISC)/winaccessibility.component
113
114.IF "$(OS)" == "WNT"
115my_platform = .windows
116.END
117
118$(MISC)/winaccessibility.component .ERRREMOVE : \
119        $(SOLARENV)/bin/createcomponent.xslt winaccessibility.component
120    $(XSLTPROC) --nonet --stringparam uri \
121        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL4TARGETN:f)' -o $@ \
122        $(SOLARENV)/bin/createcomponent.xslt winaccessibility.component
123
124
125.ENDIF			# "$(GUI)"=="WNT"
126