xref: /aoo41x/main/lucene/makefile.mk (revision cdf0e10c)
1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
11# OpenOffice.org is free software: you can redistribute it and/or modify
12# it under the terms of the GNU Lesser General Public License version 3
13# only, as published by the Free Software Foundation.
14#
15# OpenOffice.org is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18# GNU Lesser General Public License version 3 for more details
19# (a copy is included in the LICENSE file that accompanied this code).
20#
21# You should have received a copy of the GNU Lesser General Public License
22# version 3 along with OpenOffice.org.  If not, see
23# <http://www.openoffice.org/license.html>
24# for a copy of the LGPLv3 License.
25#
26#*************************************************************************
27
28PRJ=.
29
30PRJNAME=so_lucene
31TARGET=so_lucene
32
33
34# --- Settings -----------------------------------------------------
35
36.INCLUDE :	settings.mk
37.INCLUDE :	antsettings.mk
38# --- Files --------------------------------------------------------
39
40.IF "$(SOLAR_JAVA)" != ""
41
42LUCENE_MAJOR=2
43LUCENE_MINOR=3
44LUCENE_MICRO=2
45
46LUCENE_NAME=lucene-$(LUCENE_MAJOR).$(LUCENE_MINOR).$(LUCENE_MICRO)
47# NOTE that the jar names do not contain the micro version
48LUCENE_CORE_JAR=lucene-core-$(LUCENE_MAJOR).$(LUCENE_MINOR).jar
49LUCENE_ANALYZERS_JAR=lucene-analyzers-$(LUCENE_MAJOR).$(LUCENE_MINOR).jar
50
51TARFILE_NAME=$(LUCENE_NAME)
52TARFILE_MD5=48d8169acc35f97e05d8dcdfd45be7f2
53PATCH_FILES=lucene.patch
54
55.IF "$(OS)" == "WNT"
56PATCH_FILES+= long_path.patch
57.ENDIF
58
59
60BUILD_DIR=.
61BUILD_ACTION= ${ANT} -buildfile .$/contrib$/analyzers$/build.xml
62
63OUT2BIN=.$/build$/$(LUCENE_CORE_JAR) .$/build$/contrib$/analyzers$/$(LUCENE_ANALYZERS_JAR)
64
65.ENDIF
66
67# --- Targets ------------------------------------------------------
68
69.INCLUDE : set_ext.mk
70.INCLUDE : target.mk
71
72.IF "$(SOLAR_JAVA)" != ""
73.INCLUDE : tg_ext.mk
74.ENDIF
75