xref: /trunk/main/lucene/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=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=3
40LUCENE_MICRO=2
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).jar
45LUCENE_ANALYZERS_JAR=lucene-analyzers-$(LUCENE_MAJOR).$(LUCENE_MINOR).jar
46
47TARFILE_NAME=$(LUCENE_NAME)
48TARFILE_MD5=48d8169acc35f97e05d8dcdfd45be7f2
49PATCH_FILES=lucene.patch
50
51.IF "$(OS)" == "WNT"
52PATCH_FILES+= long_path.patch
53.ENDIF
54
55
56BUILD_DIR=.
57BUILD_ACTION= ${ANT} -buildfile .$/contrib$/analyzers$/build.xml
58
59OUT2BIN=.$/build$/$(LUCENE_CORE_JAR) .$/build$/contrib$/analyzers$/$(LUCENE_ANALYZERS_JAR)
60
61.ENDIF
62
63# --- Targets ------------------------------------------------------
64
65.INCLUDE : set_ext.mk
66.INCLUDE : target.mk
67
68.IF "$(SOLAR_JAVA)" != ""
69.INCLUDE : tg_ext.mk
70.ENDIF
71