xref: /aoo41x/main/lucene/makefile.mk (revision 7fb4469b)
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=so_lucene
27TARGET=so_lucene
28
29
30# --- Settings -----------------------------------------------------
31
32.INCLUDE :	settings.mk
33.INCLUDE :	antsettings.mk
34# --- Files --------------------------------------------------------
35
36.IF "$(SOLAR_JAVA)" != ""
37
38LUCENE_MAJOR=2
39LUCENE_MINOR=9
40LUCENE_MICRO=4
41
42LUCENE_NAME=lucene-$(LUCENE_MAJOR).$(LUCENE_MINOR).$(LUCENE_MICRO)
43# NOTE that the jar names do not contain the micro version
44LUCENE_CORE_JAR=lucene-core-$(LUCENE_MAJOR).$(LUCENE_MINOR).$(LUCENE_MICRO)-dev.jar
45LUCENE_ANALYZERS_JAR=lucene-analyzers-$(LUCENE_MAJOR).$(LUCENE_MINOR).$(LUCENE_MICRO)-dev.jar
46
47TARFILE_NAME=$(LUCENE_NAME)-src
48TARFILE_MD5=17960f35b2239654ba608cf1f3e256b3
49TARFILE_ROOTDIR=$(LUCENE_NAME)
50
51PATCH_FILES=lucene.patch
52
53BUILD_DIR=.
54BUILD_ACTION= ${ANT} -buildfile .$/contrib$/analyzers$/build.xml
55
56OUT2BIN=.$/build$/$(LUCENE_CORE_JAR) .$/build$/contrib$/analyzers/common$/$(LUCENE_ANALYZERS_JAR)
57
58.ENDIF
59
60# --- Targets ------------------------------------------------------
61
62.INCLUDE : set_ext.mk
63.INCLUDE : target.mk
64
65.IF "$(SOLAR_JAVA)" != ""
66.INCLUDE : tg_ext.mk
67.ENDIF
68