xref: /aoo42x/main/hsqldb/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=hsqldb
31TARGET=so_hsqldb
32
33# --- Settings -----------------------------------------------------
34
35.INCLUDE :	settings.mk
36
37# override buildfile
38ANT_BUILDFILE=build$/build.xml
39
40.INCLUDE : antsettings.mk
41
42.INCLUDE :  version.mk
43
44.IF "$(SOLAR_JAVA)" != ""
45# --- Files --------------------------------------------------------
46
47TARFILE_NAME=hsqldb_$(HSQLDB_VERSION)
48TARFILE_MD5=17410483b5b5f267aa18b7e00b65e6e0
49
50TARFILE_ROOTDIR=hsqldb
51
52CONVERTFILES=build$/build.xml \
53			src$/org$/hsqldb$/persist$/HsqlDatabaseProperties.java \
54			src$/org$/hsqldb$/Library.java
55
56PATCH_FILES=patches$/i96823.patch \
57			patches$/i97032.patch \
58			patches$/i103528.patch \
59			patches$/i104901.patch
60
61.IF "$(JAVACISGCJ)"=="yes"
62JAVA_HOME=
63.EXPORT : JAVA_HOME
64BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.compiler=gcj -f $(ANT_BUILDFILE) jar
65.ELSE
66.IF "$(debug)"!=""
67BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -Dbuild.debug="on" -f $(ANT_BUILDFILE) jar
68.ELSE
69BUILD_ACTION=$(ANT) -Dbuild.label="build-$(RSCREVISION)" -f $(ANT_BUILDFILE) jar
70.ENDIF
71.ENDIF
72
73.ENDIF # $(SOLAR_JAVA)!= ""
74
75# --- Targets ------------------------------------------------------
76
77.INCLUDE : set_ext.mk
78.INCLUDE : target.mk
79
80.IF "$(SOLAR_JAVA)" != ""
81.INCLUDE : tg_ext.mk
82.ENDIF
83
84