2008-06-17 02:06:05 -05:00
|
|
|
#*************************************************************************
|
|
|
|
#
|
2008-07-16 09:47:43 -05:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
2010-02-12 08:01:35 -06:00
|
|
|
# Copyright 2000, 2010 Oracle and/or its affiliates.
|
2008-06-17 02:06:05 -05:00
|
|
|
#
|
2008-07-16 09:47:43 -05:00
|
|
|
# OpenOffice.org - a multi-platform office productivity suite
|
2008-06-17 02:06:05 -05:00
|
|
|
#
|
2008-07-16 09:47:43 -05:00
|
|
|
# This file is part of OpenOffice.org.
|
2008-06-17 02:06:05 -05:00
|
|
|
#
|
2008-07-16 09:47:43 -05:00
|
|
|
# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License version 3
|
|
|
|
# only, as published by the Free Software Foundation.
|
2008-06-17 02:06:05 -05:00
|
|
|
#
|
2008-07-16 09:47:43 -05:00
|
|
|
# OpenOffice.org is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU Lesser General Public License version 3 for more details
|
|
|
|
# (a copy is included in the LICENSE file that accompanied this code).
|
2008-06-17 02:06:05 -05:00
|
|
|
#
|
2008-07-16 09:47:43 -05:00
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# version 3 along with OpenOffice.org. If not, see
|
|
|
|
# <http://www.openoffice.org/license.html>
|
|
|
|
# for a copy of the LGPLv3 License.
|
2008-06-17 02:06:05 -05:00
|
|
|
#
|
|
|
|
#*************************************************************************
|
|
|
|
|
|
|
|
PRJ=.
|
|
|
|
|
|
|
|
PRJNAME=so_lucene
|
|
|
|
TARGET=so_lucene
|
|
|
|
|
|
|
|
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : settings.mk
|
|
|
|
.INCLUDE : antsettings.mk
|
|
|
|
# --- Files --------------------------------------------------------
|
|
|
|
|
2008-10-02 04:32:08 -05:00
|
|
|
.IF "$(SOLAR_JAVA)" != ""
|
|
|
|
|
2008-08-01 06:16:38 -05:00
|
|
|
LUCENE_MAJOR=2
|
|
|
|
LUCENE_MINOR=3
|
|
|
|
LUCENE_MICRO=2
|
2008-06-17 02:06:05 -05:00
|
|
|
|
2008-08-01 06:16:38 -05:00
|
|
|
LUCENE_NAME=lucene-$(LUCENE_MAJOR).$(LUCENE_MINOR).$(LUCENE_MICRO)
|
|
|
|
# NOTE that the jar names do not contain the micro version
|
|
|
|
LUCENE_CORE_JAR=lucene-core-$(LUCENE_MAJOR).$(LUCENE_MINOR).jar
|
|
|
|
LUCENE_ANALYZERS_JAR=lucene-analyzers-$(LUCENE_MAJOR).$(LUCENE_MINOR).jar
|
2008-06-17 02:06:05 -05:00
|
|
|
|
|
|
|
TARFILE_NAME=$(LUCENE_NAME)
|
2010-01-15 07:55:12 -06:00
|
|
|
TARFILE_MD5=48d8169acc35f97e05d8dcdfd45be7f2
|
2011-02-24 03:37:10 -06:00
|
|
|
PATCH_FILES=lucene.patch
|
|
|
|
|
|
|
|
.IF "$(OS)" == "WNT"
|
|
|
|
PATCH_FILES+= long_path.patch
|
|
|
|
.ENDIF
|
|
|
|
|
2008-06-17 02:06:05 -05:00
|
|
|
|
|
|
|
BUILD_DIR=.
|
2008-08-01 06:16:38 -05:00
|
|
|
BUILD_ACTION= ${ANT} -buildfile .$/contrib$/analyzers$/build.xml
|
|
|
|
|
|
|
|
OUT2BIN=.$/build$/$(LUCENE_CORE_JAR) .$/build$/contrib$/analyzers$/$(LUCENE_ANALYZERS_JAR)
|
2008-06-17 02:06:05 -05:00
|
|
|
|
2008-10-02 04:32:08 -05:00
|
|
|
.ENDIF
|
|
|
|
|
2008-06-17 02:06:05 -05:00
|
|
|
# --- Targets ------------------------------------------------------
|
|
|
|
|
|
|
|
.INCLUDE : set_ext.mk
|
|
|
|
.INCLUDE : target.mk
|
|
|
|
|
2008-10-02 04:32:08 -05:00
|
|
|
.IF "$(SOLAR_JAVA)" != ""
|
|
|
|
.INCLUDE : tg_ext.mk
|
|
|
|
.ENDIF
|