xref: /AOO41X/main/winaccessibility/source/service/makefile.mk (revision ffad8df045fe8db79e3e50f731c1fa6ab6501c83)
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
22.IF "$(GUI)"=="WNT"
23PRJ=..$/..
24PRJNAME=winaccessibility
25TARGET=winaccessibility
26LIBTARGET=NO
27USE_DEFFILE=TRUE
28ENABLE_EXCEPTIONS=TRUE
29VERSIONOBJ=
30AUTOSEG=true
31NO_BSYMBOLIC=   TRUE
32
33# output directory (one dir for each project)
34UNOUCROUT=$(OUT)$/inc
35# adding to inludepath
36INCPRE+=$(UNOUCROUT)
37INCPRE+=$(MISC)
38# --- Settings -----------------------------------------------------
39
40.INCLUDE :  settings.mk
41
42# --- Files --------------------------------------------------------
43SLOFILES=   $(SLO)$/AccObject.obj       \
44            $(SLO)$/ResIDGenerator.obj      \
45            $(SLO)$/AccObjectWinManager.obj         \
46            $(SLO)$/AccObjectManagerAgent.obj           \
47            $(SLO)$/AccEventListener.obj    \
48            $(SLO)$/AccComponentEventListener.obj   \
49            $(SLO)$/AccContainerEventListener.obj   \
50            $(SLO)$/AccDialogEventListener.obj  \
51            $(SLO)$/AccFrameEventListener.obj   \
52            $(SLO)$/AccWindowEventListener.obj  \
53            $(SLO)$/AccMenuEventListener.obj    \
54            $(SLO)$/AccTextComponentEventListener.obj   \
55            $(SLO)$/AccObjectContainerEventListener.obj \
56            $(SLO)$/AccParagraphEventListener.obj   \
57            $(SLO)$/AccDescendantManagerEventListener.obj   \
58            $(SLO)$/AccListEventListener.obj    \
59            $(SLO)$/AccTableEventListener.obj   \
60            $(SLO)$/AccTreeEventListener.obj    \
61            $(SLO)$/AccTopWindowListener.obj    \
62            $(SLO)$/msaaservice_impl.obj    \
63            $(SLO)$/checkmt.obj \
64            $(SLO)$/AccResource.obj
65
66#SRCFILES=winaccessibility.src
67#RES1FILELIST=$(SRS)$/winaccessibility.srs
68#RESLIB1NAME=$(TARGET)
69#RESLIB1SRSFILES=$(RES1FILELIST)
70
71SHL1TARGET=winaccessibility
72SHL1IMPLIB=i$(SHL1TARGET)
73SHL1STDLIBS=\
74                $(VCLLIB)       \
75                $(CPPULIB)      \
76                $(SALLIB)       \
77                $(CPPUHELPERLIB) \
78                $(TOOLSLIB) \
79                $(TKLIB)        \
80                $(VOSLIB)   \
81                $(UWINAPILIB)      \
82                $(GDI32LIB)        \
83                $(WINSPOOLLIB)     \
84                $(OLE32LIB)       \
85                $(SHELL32LIB)      \
86                $(ADVAPI32LIB)     \
87                $(IMM32LIB)     \
88                $(UUIDLIB)          \
89                oleacc.lib
90
91SHL1OBJS=$(SLOFILES)
92SHL1VERSIONOBJ=
93SHL1DESCRIPTIONOBJ=
94
95DEF1NAME=$(SHL1TARGET)
96DEF1EXPORTFILE=exports.dxp
97
98
99
100# --- Targets ------------------------------------------------------
101
102.INCLUDE :  target.mk
103
104ALLTAR : \
105    $(MISC)/winaccessibility.component
106
107.IF "$(OS)" == "WNT"
108my_platform = .windows
109.END
110
111$(MISC)/winaccessibility.component .ERRREMOVE : \
112        $(SOLARENV)/bin/createcomponent.xslt winaccessibility.component
113    $(XSLTPROC) --nonet --stringparam uri \
114        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
115        $(SOLARENV)/bin/createcomponent.xslt winaccessibility.component
116
117
118.ENDIF          # "$(GUI)"=="WNT"
119