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
23
24PRJ=..$/..$/..
25PRJNAME=accessibility
26TARGET=accessbridge
27LIBTARGET=NO
28USE_DEFFILE=TRUE
29ENABLE_EXCEPTIONS=TRUE
30VERSIONOBJ=
31
32# --- Settings -----------------------------------------------------
33
34.INCLUDE :  settings.mk
35
36# --- Files --------------------------------------------------------
37
38.IF "$(GUI)"=="WNT"
39
40SLOFILES= $(SLO)$/WindowsAccessBridgeAdapter.obj
41
42SHL1TARGET=java_uno_accessbridge
43SHL1IMPLIB=i$(SHL1TARGET)
44SHL1STDLIBS=$(VCLLIB) $(TOOLSLIB) $(JVMACCESSLIB) $(CPPULIB) $(SALLIB)
45SHL1OBJS=$(SLOFILES)
46SHL1VERSIONOBJ=
47
48DEF1NAME=$(SHL1TARGET)
49DEF1EXPORTFILE=exports.dxp
50
51SHL1HEADER=$(OUT)$/inc$/WindowsAccessBridgeAdapter.h
52
53.ENDIF			# "$(GUI)"=="WNT"
54
55# --- Targets ------------------------------------------------------
56
57.INCLUDE :	target.mk
58
59.IF "$(GUI)"=="WNT"
60
61$(SLO)$/WindowsAccessBridgeAdapter.obj : $(SHL1HEADER)
62
63$(SHL1HEADER) :
64	javah -classpath "$(OUT)$/class;$(OUTDIR)$/bin/ridl.jar;$(OUTDIR)$/bin/unoil.jar;$(CLASSPATH)" -o $(SHL1HEADER) org.openoffice.accessibility.WindowsAccessBridgeAdapter
65
66.ENDIF			# "$(GUI)"=="WNT"
67