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
24PRJNAME	= accessibility
25PRJ		= ..$/..$/..$/..
26TARGET	= java_uno_accessbridge
27PACKAGE	= org$/openoffice$/accessibility
28
29# --- Settings -----------------------------------------------------
30
31.INCLUDE :  settings.mk
32
33JARFILES = jurt.jar unoil.jar ridl.jar
34JAVAFILES = \
35	AccessBridge.java \
36	KeyHandler.java \
37	PopupWindow.java \
38	WindowsAccessBridgeAdapter.java
39
40JAVACLASSFILES= $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:b).class)
41
42JARTARGET               = $(TARGET).jar
43JARCOMPRESS             = TRUE
44JARCLASSDIRS            = $(PACKAGE) org/openoffice/java/accessibility
45CUSTOMMANIFESTFILE      = manifest
46
47# --- Targets ------------------------------------------------------
48
49
50.INCLUDE :  target.mk
51
52ALLTAR : $(MISC)/java_uno_accessbridge.component
53
54$(MISC)/java_uno_accessbridge.component .ERRREMOVE : \
55        $(SOLARENV)/bin/createcomponent.xslt java_uno_accessbridge.component
56    $(XSLTPROC) --nonet --stringparam uri \
57        '$(COMPONENTPREFIX_BASIS_JAVA)$(JARTARGET)' -o $@ \
58        $(SOLARENV)/bin/createcomponent.xslt java_uno_accessbridge.component
59