xref: /aoo42x/main/saxon/makefile.mk (revision 7871dc3e)
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=.
25
26PRJNAME=saxon
27TARGET=saxon
28
29# --- Settings -----------------------------------------------------
30
31.INCLUDE :	settings.mk
32.INCLUDE : antsettings.mk
33
34.IF "$(SYSTEM_SAXON)" == "YES"
35
36all:
37	@echo "An already available installation of saxon should exist on your system."
38	@echo "Therefore the version provided here does not need to be built in addition."
39
40.ELIF "$(DISABLE_SAXON)" == "YES"
41
42all:
43	@echo Support for saxon is disabled.
44
45.ELIF "$(SOLAR_JAVA)" == ""
46
47all:
48	@echo No Java support.  Can not compile saxon.
49
50.ELSE
51
52# --- Files --------------------------------------------------------
53
54TARFILE_NAME=source-9.0.0.7-bj
55TARFILE_MD5=ada24d37d8d638b3d8a9985e80bc2978
56ADDITIONAL_FILES=build.xml
57TARFILE_ROOTDIR=src
58
59PATCH_FILES=saxon-9.0.0.7-bj.patch
60
61BUILD_ACTION=$(ANT) $(ANT_FLAGS) -Dsolarbindir=$(SOLARBINDIR) jar-bj
62
63OUT2CLASS= saxon-build$/9.0.0.7$/bj$/saxon9.jar
64
65# --- Targets ------------------------------------------------------
66
67.INCLUDE : set_ext.mk
68.INCLUDE : target.mk
69.INCLUDE : tg_ext.mk
70
71.ENDIF # "$(SOLAR_JAVA)" == ""
72