Kaydet (Commit) 6bf04a43 authored tarafından David Tardon's avatar David Tardon

gbuildize reportbuilder

üst e2518372
......@@ -94,6 +94,7 @@ psprint_config\
qadevOOo\
regexp\
registry\
reportbuilder\
reportdesign\
rdbmaker\
ridljar\
......@@ -225,7 +226,6 @@ pyuno\
readlicense_oo\
redland\
remotebridges\
reportbuilder\
rhino\
saxon\
scp2\
......
......@@ -91,6 +91,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
psprint_config \
rdbmaker \
regexp \
reportbuilder \
reportdesign \
ridljar \
rsc \
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Configuration_Configuration,sun-report-builder,nodeliver))
$(eval $(call gb_Configuration_use_configuration,sun-report-builder,officecfg))
$(eval $(call gb_Configuration_add_schemas,sun-report-builder,reportbuilder/registry/schema,\
org/openoffice/Office/ReportDesign.xcs \
org/openoffice/Office/UI/DbReportWindowState.xcs \
org/openoffice/Office/UI/ReportCommands.xcs \
))
$(eval $(call gb_Configuration_add_datas,sun-report-builder,reportbuilder/registry/data,\
org/openoffice/Office/Paths.xcu \
org/openoffice/Office/ReportDesign.xcu \
org/openoffice/Office/UI/Controller.xcu \
))
$(eval $(call gb_Configuration_add_localized_datas,sun-report-builder,reportbuilder/registry/data,\
org/openoffice/Office/Accelerators.xcu \
org/openoffice/Office/DataAccess.xcu \
org/openoffice/Office/Embedding.xcu \
org/openoffice/Office/ExtendedColorScheme.xcu \
org/openoffice/Office/UI/DbReportWindowState.xcu \
org/openoffice/Office/UI/ReportCommands.xcu \
org/openoffice/Setup.xcu \
org/openoffice/TypeDetection/Filter.xcu \
org/openoffice/TypeDetection/Types.xcu \
))
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Extension_Extension,report-builder,reportbuilder/util))
$(eval $(call gb_Extension_add_files,report-builder,,\
$(call gb_Jar_get_outdir_target,reportbuilderwizard) \
$(call gb_Jar_get_outdir_target,sun-report-builder) \
$(SRCDIR)/reportbuilder/license/readme_en-US.html \
$(SRCDIR)/reportbuilder/license/readme_en-US.txt \
$(SRCDIR)/reportbuilder/license/THIRDPARTYREADMELICENSE.html \
$(SRCDIR)/reportbuilder/util/components.rdb \
))
ifneq ($(SYSTEM_APACHE_COMMONS),YES)
$(eval $(call gb_Extension_add_files,report-builder,,\
$(OUTDIR)/bin/commons-logging-1.1.1.jar \
))
endif
ifneq ($(SYSTEM_JFREEREPORT),YES)
include $(OUTDIR)/bin/jfreereport_version.mk
$(eval $(call gb_Extension_add_files,report-builder,,\
$(OUTDIR)/bin/flow-engine-$(FLOW_ENGINE_VERSION).jar \
$(OUTDIR)/bin/flute-$(FLUTE_VERSION).jar \
$(OUTDIR)/bin/libbase-$(LIBBASE_VERSION).jar \
$(OUTDIR)/bin/libfonts-$(LIBFONTS_VERSION).jar \
$(OUTDIR)/bin/libformula-$(LIBFORMULA_VERSION).jar \
$(OUTDIR)/bin/liblayout-$(LIBLAYOUT_VERSION).jar \
$(OUTDIR)/bin/libloader-$(LIBLOADER_VERSION).jar \
$(OUTDIR)/bin/librepository-$(LIBREPOSITORY_VERSION).jar \
$(OUTDIR)/bin/libserializer-$(LIBSERIALIZER_VERSION).jar \
$(OUTDIR)/bin/libxml-$(LIBXML_VERSION).jar \
$(OUTDIR)/bin/sac.jar \
))
endif
$(eval $(call gb_Extension_add_files,report-builder,images,\
$(SRCDIR)/icon-themes/galaxy/desktop/res/extension_32.png \
))
$(eval $(call gb_Extension_add_files,report-builder,registry/data/org/openoffice,\
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Setup.xcu) \
))
$(eval $(call gb_Extension_add_files,report-builder,registry/data/org/openoffice/Office,\
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/Accelerators.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/DataAccess.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/Embedding.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/ExtendedColorScheme.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/Paths.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/ReportDesign.xcu) \
))
$(eval $(call gb_Extension_add_files,report-builder,registry/data/org/openoffice/Office/UI,\
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/UI/DbReportWindowState.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/UI/ReportCommands.xcu) \
))
$(eval $(call gb_Extension_add_files,report-builder,registry/data/org/openoffice/TypeDetection,\
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/TypeDetection/Filter.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/TypeDetection/Types.xcu) \
))
$(eval $(call gb_Extension_add_files,report-builder,registry/schema/org/openoffice/Office,\
$(call gb_XcsTarget_get_target,reportbuilder/registry/schema/org/openoffice/Office/ReportDesign.xcs) \
))
$(eval $(call gb_Extension_add_files,report-builder,registry/schema/org/openoffice/Office/UI,\
$(call gb_XcsTarget_get_target,reportbuilder/registry/schema/org/openoffice/Office/UI/DbReportWindowState.xcs) \
$(call gb_XcsTarget_get_target,reportbuilder/registry/schema/org/openoffice/Office/UI/ReportCommands.xcs) \
))
$(eval $(call gb_Extension_add_files,report-builder,template/en-US/wizard/report,\
$(SRCDIR)/reportbuilder/template/en-US/wizard/report/default.otr \
))
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
This diff is collapsed.
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
include $(module_directory)/../solenv/gbuild/partial_build.mk
# vim: set noet sw=4 ts=4:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Module_Module,reportbuilder))
ifneq ($(SOLAR_JAVA),)
$(eval $(call gb_Module_add_targets,reportbuilder,\
Configuration_reportbuilder \
Extension_reportbuilder \
Jar_reportbuilder \
Package_readme \
))
endif
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Package_Package,reportbuilder_license,$(SRCDIR)/reportbuilder/license))
$(eval $(call gb_Package_add_file,reportbuilder,bin/reportbuilder/readme_en-US.html,readme_en-US.html))
$(eval $(call gb_Package_add_file,reportbuilder,bin/reportbuilder/readme_en-US.txt,readme_en-US.txt))
$(eval $(call gb_Package_add_file,reportbuilder,bin/reportbuilder/THIRDPARTYREADMELICENSE.html,THIRDPARTYREADMELICENSE.html))
# vim: set shiftwidth=4 tabstop=4 noexpandtab:
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ = ..$/..$/..$/..$/..$/..$/..
PRJNAME = reportbuilder
TARGET= rpt_java_css_metadata
PACKAGE = com$/sun$/star$/report$/function$/metadata
# --- Settings -----------------------------------------------------
.INCLUDE: settings.mk
#----- compile .java files -----------------------------------------
.IF "$(SYSTEM_JFREEREPORT)" == "YES"
EXTRAJARFILES = $(LIBBASE_JAR) $(LIBFORMULA_JAR)
.ELSE
.INCLUDE : $(OUTDIR)/bin/jfreereport_version.mk
JARFILES += \
libbase-$(LIBBASE_VERSION).jar \
libformula-$(LIBFORMULA_VERSION).jar
.ENDIF
JAVAFILES := AuthorFunction.java \
AuthorFunctionDescription.java \
TitleFunction.java \
TitleFunctionDescription.java \
MetaDataFunctionCategory.java
COPYFILES := $(CLASSDIR)$/$(PACKAGE)$/category.properties \
$(CLASSDIR)$/$(PACKAGE)$/Title-Function.properties\
$(CLASSDIR)$/$(PACKAGE)$/category_en_US.properties \
$(CLASSDIR)$/$(PACKAGE)$/Author-Function.properties \
$(CLASSDIR)$/$(PACKAGE)$/Author-Function_en_US.properties \
$(CLASSDIR)$/$(PACKAGE)$/Title-Function_en_US.properties
ALLTAR : $(COPYFILES)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
$(COPYFILES): $$(@:f)
+$(MKDIRHIER) $(CLASSDIR)$/$(PACKAGE)
+$(COPY) $< $@
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ = ..$/..$/..$/..$/..
PRJNAME = reportbuilder
TARGET=rpt_java_css
PACKAGE = com$/sun$/star$/report
# --- Settings -----------------------------------------------------
.INCLUDE: settings.mk
#----- compile .java files -----------------------------------------
JARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar
.IF "$(SYSTEM_APACHE_COMMONS)" == "YES"
EXTRAJARFILES = $(COMMONS_LOGGING_JAR)
.ELSE
JARFILES += commons-logging-1.1.1.jar
.ENDIF
JAVAFILES := DataRow.java\
DataSource.java\
DataSourceException.java\
DataSourceFactory.java\
InputRepository.java\
JobDefinitionException.java\
JobProgressIndicator.java\
JobProperties.java\
OutputRepository.java\
ParameterMap.java\
ReportAddIn.java\
ReportEngine.java\
ReportEngineMetaData.java\
ReportEngineParameterNames.java\
ReportExecutionException.java\
ReportExpression.java\
ReportExpressionMetaData.java\
ReportFunction.java\
ReportJob.java\
ReportJobFactory.java\
ReportJobDefinition.java\
ImageService.java\
SOImageService.java\
StorageRepository.java\
SDBCReportData.java\
SDBCReportDataFactory.java \
OfficeToken.java
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ = ..$/..$/..$/..$/..$/..
PRJNAME = reportbuilder
TARGET=sun-report-builder
PACKAGE = com$/sun$/star$/report$/pentaho
# we have circular dependencies
nodep=true
# --- Settings -----------------------------------------------------
.INCLUDE: settings.mk
#----- compile .java files -----------------------------------------
JARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar
.IF "$(SYSTEM_JFREEREPORT)" == "YES"
EXTRAJARFILES += $(FLUTE_JAR) $(LIBBASE_JAR) $(LIBXML_JAR) $(JFREEREPORT_JAR) $(LIBLOADER_JAR) $(SAC_JAR) $(LIBLAYOUT_JAR) $(LIBSERIALIZER_JAR) $(LIBFONTS_JAR) $(LIBFORMULA_JAR) $(LIBREPOSITORY_JAR)
.ELSE
.INCLUDE : $(OUTDIR)/bin/jfreereport_version.mk
JARFILES += \
flute-$(FLUTE_VERSION).jar \
libserializer-$(LIBSERIALIZER_VERSION).jar \
libbase-$(LIBBASE_VERSION).jar \
libfonts-$(LIBFONTS_VERSION).jar \
libformula-$(LIBFORMULA_VERSION).jar \
liblayout-$(LIBLAYOUT_VERSION).jar \
libloader-$(LIBLOADER_VERSION).jar \
librepository-$(LIBREPOSITORY_VERSION).jar \
libxml-$(LIBXML_VERSION).jar \
flow-engine-$(FLOW_ENGINE_VERSION).jar \
sac.jar
.ENDIF
.IF "$(SYSTEM_APACHE_COMMONS)" == "YES"
EXTRAJARFILES += $(COMMONS_LOGGING_JAR)
.ELSE
JARFILES += commons-logging-1.1.1.jar
.ENDIF
.IF "$(SYSTEM_JFREEREPORT)" == "YES" || "$(SYSTEM_APACHE_COMMONS)" == "YES"
COMP=fix_system_libs
.ENDIF
JAVAFILES := $(shell @$(FIND) . -name "*.java")
# JAVACLASSFILES = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:s/.java/.class/))
#----- copy .properties and .css files -----------------------------------------
# external find gives / for 4nt too...
# PROPERTYFILES := $(subst,/,$/ $(subst,./,$(CLASSDIR)$/$(PACKAGE)$/ $(shell @$(FIND) . -name "*.properties")))
PROPERTYFILES := $(CLASSDIR)$/$(PACKAGE)$/configuration.properties \
$(CLASSDIR)$/$(PACKAGE)$/module.properties \
$(CLASSDIR)$/$(PACKAGE)$/parser$/selectors.properties
# CSSFILES := $(subst,./,$(CLASSDIR)$/$(PACKAGE)$/ $(shell @$(FIND) . -name "*.css"))
CSSFILES := $(CLASSDIR)$/$(PACKAGE)$/oasis-datastyle.css\
$(CLASSDIR)$/$(PACKAGE)$/oasis-draw.css\
$(CLASSDIR)$/$(PACKAGE)$/oasis-form.css\
$(CLASSDIR)$/$(PACKAGE)$/oasis-style.css\
$(CLASSDIR)$/$(PACKAGE)$/oasis-table.css\
$(CLASSDIR)$/$(PACKAGE)$/oasis-text.css\
$(CLASSDIR)$/$(PACKAGE)$/smil.css\
$(CLASSDIR)$/$(PACKAGE)$/star-office.css\
$(CLASSDIR)$/$(PACKAGE)$/star-report.css\
$(CLASSDIR)$/$(PACKAGE)$/star-rpt.css\
$(CLASSDIR)$/$(PACKAGE)$/svg.css\
$(CLASSDIR)$/$(PACKAGE)$/xsl-fo.css
XSDFILES := $(CLASSDIR)$/$(PACKAGE)$/parser$/rpt-schema-v1.0-os.xsd \
$(CLASSDIR)$/$(PACKAGE)$/styles$/stylemapper.xsd
XMLFILES := $(CLASSDIR)$/$(PACKAGE)$/styles$/stylemapper.xml
TXTFILES := $(CLASSDIR)$/$(PACKAGE)$/parser$/style-mapping.txt
#----- make a jar from compiled files ------------------------------
JARCLASSDIRS = .
JARTARGET = $(TARGET).jar
JARCOMPRESS = TRUE
CUSTOMMANIFESTFILE = Manifest.mf
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
.IF "$(JARTARGETN)"!=""
$(JARTARGETN) : $(COMP) $(PROPERTYFILES) $(CSSFILES) $(XSDFILES) $(TXTFILES) $(XMLFILES)
.ENDIF # "$(JARTARGETN)"!=""
fix_system_libs: $(JARMANIFEST)
@echo "Fix Java Class-Path entry for libraries from system."
.IF ("$(SYSTEM_JFREEREPORT)" != "YES" && "$(SYSTEM_APACHE_COMMONS)" == "YES")
@$(SED) -r -e "s#commons-logging-1.1.1.jar#file://$(COMMONS_LOGGING_JAR)#" \
-i $<
.ENDIF
.IF ("$(SYSTEM_JFREEREPORT)" == "YES" && "$(SYSTEM_APACHE_COMMONS)" == "YES")
@$(SED) '/flute/,/sac/d' -i ../../../../../../$(INPATH)/class/sun-report-builder/META-INF/MANIFEST.MF
@$(SED) -r -e "s#^Class-Path.*#\0\n file://$(LIBBASE_JAR)\n file://$(SAC_JAR)\n file://$(LIBXML_JAR)\n\
file://$(FLUTE_JAR)\n file://$(JFREEREPORT_JAR)\n file://$(LIBLAYOUT_JAR)\n file://$(LIBLOADER_JAR)\n file://$(LIBFORMULA_JAR)\n\
file://$(LIBREPOSITORY_JAR)\n file://$(LIBFONTS_JAR)\n file://$(LIBSERIALIZER_JAR)\n file://$(COMMONS_LOGGING_JAR)#" \
-i $<
.ENDIF
$(CLASSDIR)$/$(PACKAGE)$/%.properties : %.properties
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(CLASSDIR)$/$(PACKAGE)$/%.css : %.css
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(CLASSDIR)$/$(PACKAGE)$/%.xsd : %.xsd
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(CLASSDIR)$/$(PACKAGE)$/%.xml : %.xml
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(CLASSDIR)$/$(PACKAGE)$/%.txt : %.txt
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ = ..$/..$/..$/..$/..$/..
PRJNAME = reportbuilder
TARGET= rpt_java_css_util
PACKAGE = com$/sun$/star$/report$/util
# --- Settings -----------------------------------------------------
.INCLUDE: settings.mk
#----- compile .java files -----------------------------------------
.IF "$(SYSTEM_JFREEREPORT)" == "YES"
EXTRAJARFILES = $(LIBBASE_JAR) $(LIBXML_JAR) $(JFREEREPORT_JAR)
.ELSE
.INCLUDE : $(OUTDIR)/bin/jfreereport_version.mk
JARFILES += \
libbase-$(LIBBASE_VERSION).jar \
libxml-$(LIBXML_VERSION).jar \
flow-engine-$(FLOW_ENGINE_VERSION).jar
.ENDIF
JAVAFILES = DefaultJobProperties.java DefaultParameterMap.java DefaultReportJobDefinition.java ManifestWriter.java
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ=..
PRJNAME=reportbuilder
TARGET=rpt_java
# --- Settings ----------------------------------
.INCLUDE : settings.mk
# ------------------------------------------------------------------
COPYFILES = \
$(CLASSDIR)$/jfreereport.properties \
$(CLASSDIR)$/libformula.properties \
$(CLASSDIR)$/loader.properties
.INCLUDE : target.mk
# --- Targets ----------------------------------
ALLTAR : $(COPYFILES)
$(COPYFILES): $$(@:f)
+$(COPY) $< $@
rpb reportbuilder : BOOST:boost JFREEREPORT:jfreereport wizards readlicense_oo APACHE_COMMONS:apache-commons officecfg NULL
rpb reportbuilder usr1 - all rpb_mkout NULL
rpb reportbuilder\java nmake - all rpb_java NULL
rpb reportbuilder\java\com\sun\star\report nmake - all rpb_jreport rpb_java NULL
rpb reportbuilder\java\com\sun\star\report\util nmake - all rpb_jreport_util rpb_jreport NULL
rpb reportbuilder\java\com\sun\star\report\pentaho nmake - all rpb_jreport_pe rpb_jreport_util rpb_jreport_f_m NULL
rpb reportbuilder\java\com\sun\star\report\function\metadata nmake - all rpb_jreport_f_m rpb_jreport NULL
rpb reportbuilder\registry\schema\org\openoffice\Office nmake - all rpb_reg_schema_ooo NULL
rpb reportbuilder\registry\schema\org\openoffice\Office\UI nmake - all rpb_reg_schema_ooo_ui NULL
rpb reportbuilder\registry\data\org\openoffice nmake - all rpb_data_ooOffice NULL
rpb reportbuilder\registry\data\org\openoffice\Office nmake - all rpb_reg_data_ooo rpb_reg_schema_ooo NULL
rpb reportbuilder\registry\data\org\openoffice\Office\UI nmake - all rpb_reg_data_ooo_ui rpb_reg_schema_ooo_ui NULL
rpb reportbuilder\registry\data\org\openoffice\TypeDetection nmake - all rpb_reg_data_oot NULL
rpb reportbuilder\template\en-US\wizard\report nmake - all rpb_template_en_us_wiz_rep NULL
rpb reportbuilder\util nmake - all rpb_util rpb_jreport_pe rpb_reg_data_ooo rpb_data_ooOffice rpb_reg_data_oot rpb_template_en_us_wiz_rep rpb_reg_data_ooo_ui NULL
rpb reportbuilder\prj nmake - all rpb_prj NULL
# Extensions
..\%__SRC%\bin\*.oxt %_DEST%\bin\*.oxt
# License
mkdir: %_DEST%\bin\reportbuilder
..\license\license_en-US.txt %_DEST%\bin\reportbuilder\license_en-US.txt
..\license\license_en-US.html %_DEST%\bin\reportbuilder\license_en-US.html
..\license\readme_en-US.html %_DEST%\bin\reportbuilder\readme_en-US.html
..\license\readme_en-US.txt %_DEST%\bin\reportbuilder\readme_en-US.txt
..\license\THIRDPARTYREADMELICENSE.html %_DEST%\bin\reportbuilder\THIRDPARTYREADMELICENSE.html
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ=..$/..$/..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=data_ooOUI
PACKAGE=org.openoffice.Office.UI
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
LOCALIZEDFILES= \
ReportCommands.xcu \
DbReportWindowState.xcu
XCUFILES= \
$(LOCALIZEDFILES) \
Controller.xcu
MODULEFILES=
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ=..$/..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=data_ooOOffice
PACKAGE=org.openoffice.Office
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
LOCALIZEDFILES= \
Embedding.xcu \
Accelerators.xcu \
ExtendedColorScheme.xcu \
DataAccess.xcu
XCUFILES= \
$(LOCALIZEDFILES) \
ReportDesign.xcu \
Paths.xcu
.INCLUDE : target.mk
.IF "$(depend)" == ""
ALLTAR: "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Embedding.xcs" "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/ExtendedColorScheme.xcs" "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Paths.xcs"
.END
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Embedding.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Embedding.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/ExtendedColorScheme.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/ExtendedColorScheme.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Paths.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Paths.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Accelerators.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Accelerators.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ=..$/..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=data_ooType
PACKAGE=org.openoffice.TypeDetection
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
LOCALIZEDFILES= \
Filter.xcu \
Types.xcu
XCUFILES= \
$(LOCALIZEDFILES)
.INCLUDE : target.mk
.IF "$(depend)" == ""
ALLTAR: "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Filter.xcs" "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Types.xcs"
.END
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Filter.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Filter.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Types.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Types.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ=..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=data_ooOffice
PACKAGE=org.openoffice
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
LOCALIZEDFILES= \
Setup.xcu
XCUFILES= \
$(LOCALIZEDFILES)
.INCLUDE : target.mk
.IF "$(depend)" == ""
ALLTAR: "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Setup.xcs"
.END
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Setup.xcs": $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Setup.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ=..$/..$/..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=schema_ooOfficeUI
PACKAGE=org.openoffice.Office.UI
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
XCSFILES= \
ReportCommands.xcs \
DbReportWindowState.xcs
MODULEFILES=
.INCLUDE : target.mk
.IF "$(depend)" == ""
ALLTAR: "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Commands.xcs" "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/WindowState.xcs" "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Controller.xcs"
.END
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Commands.xcs": $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Commands.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/WindowState.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/WindowState.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Controller.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Controller.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ=..$/..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=schema_ooOffice
PACKAGE=org.openoffice.Office
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
XCSFILES= \
ReportDesign.xcs
.INCLUDE : target.mk
.IF "$(depend)" == ""
ALLTAR: "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/DataAccess.xcs"
.END
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/DataAccess.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/DataAccess.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ=..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=template_en_us
PACKAGE=
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
XCUFILES=
MODULEFILES=
OTR_FILES_IN_REPORT_BUILDER_EXT=\
default.otr
# OTR_FILES_IN_TEMPLATE_EXT=\
# finance.odr \
# finance_2.odr \
# yellow.odr
ALLTAR: COPYFILES # COPYFILES2
.INCLUDE : target.mk
#-------------------------------------------------------------------------------
TARGETDIR=$(MISC)$/sun-report-builder$/template$/en-US$/wizard$/report
COPYFILES: $(OTR_FILES_IN_REPORT_BUILDER_EXT) $(XCU_FILES)
@@-$(MKDIRHIER) $(TARGETDIR)
$(COPY) $(OTR_FILES_IN_REPORT_BUILDER_EXT) $(TARGETDIR)
#-------------------------------------------------------------------------------
# TARGETDIR2=$(MISC)$/templates$/template$/wizard$/report
#
# COPYFILES2: $(OTR_FILES_IN_TEMPLATE_EXT) $(XCU_FILES)
# @@-$(MKDIRHIER) $(TARGETDIR2)
# $(COPY) $(OTR_FILES_IN_TEMPLATE_EXT) $(TARGETDIR2)
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ=..
PRJNAME=reportbuilder
TARGET=rpt_templates
# ???
EXTENSION_VERSION_BASE=1.0.0
.IF "$(DBG_LEVEL)" == "0"
EXTENSION_VERSION=$(EXTENSION_VERSION_BASE)
.ELSE
EXTENSION_VERSION=$(EXTENSION_VERSION_BASE).$(BUILD)
.ENDIF
# --- Settings ----------------------------------
.INCLUDE : settings.mk
# ------------------------------------------------------------------
# create Extension -----------------------------
.IF "$(SOLAR_JAVA)"!=""
ZIP1TARGET=sun-report-builder-templates
ZIP1FLAGS=-r
ZIP1DIR=$(MISC)$/templates
ZIP1LIST=*
ZIP1EXT=.oxt
XMLFILES := $(ZIP1DIR)$/description.xml \
$(ZIP1DIR)$/META-INF$/manifest.xml
XCU_FILES := $(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/Paths.xcu
ODR_FILES := \
$(ZIP1DIR)$/template$/wizard$/report$/finance.odr \
$(ZIP1DIR)$/template$/wizard$/report$/finance_2.odr \
$(ZIP1DIR)$/template$/wizard$/report$/yellow.odr
HTMLFILES := $(ZIP1DIR)$/THIRDPARTYREADMELICENSE.html \
$(ZIP1DIR)$/readme_en-US.html \
$(ZIP1DIR)$/readme_en-US.txt
.IF "$(GUI)"!="WNT"
TXTFILES:=$(foreach,i,$(alllangiso) $(ZIP1DIR)$/registration$/LICENSE_$i)
LICLINES:=$(foreach,i,$(TXTFILES) <license-text xlink:href="registration/$(i:f)" lang="$(subst,LICENSE_, $(i:f))" license-id="$(subst,LICENSE_, $(i:f))" />)
.ELSE # "$(GUI)"!="WNT"
TXTFILES:=$(foreach,i,$(alllangiso) $(ZIP1DIR)$/registration$/license_$i.txt)
LICLINES:=$(foreach,i,$(TXTFILES) <license-text xlink:href="registration/$(i:f)" lang="$(subst,.txt, $(subst,license_, $(i:f)))" license-id="$(subst,.txt, $(subst,license_, $(i:f)))" />)
.ENDIF # "$(GUI)"!="WNT"
# --- Targets ----------------------------------
.INCLUDE : target.mk
.IF "$(ZIP1TARGETN)"!=""
$(ZIP1TARGETN) : $(TXTFILES) $(XMLFILES) $(HTMLFILES) $(ODR_FILES)
.ENDIF # "$(ZIP1TARGETN)"!="
$(MISC)$/template_update_report.flag : $(XCU_FILES)
$(TOUCH) $@
$(ZIP1DIR)$/description.xml : pre.xml post.xml
@@-$(MKDIRHIER) $(@:d)
@@-$(RM) $(ZIP1DIR)$/description.xml
$(TYPE) pre.xml > $@
$(TYPE) $(mktmp $(LICLINES)) >> $@
$(TYPE) post.xml | $(SED) s/#VERSION#/$(EXTENSION_VERSION)/ >> $@
$(ZIP1DIR)$/registration$/license_%.txt : $(SOLARBINDIR)$/osl$/license_%.txt
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(ZIP1DIR)$/registration$/LICENSE_% : $(SOLARBINDIR)$/osl$/LICENSE_%
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/%.xcu : $(MISC)$/template$/registry$/data$/org$/openoffice$/Office$/%.xcu
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(ZIP1DIR)$/META-INF$/manifest.xml : manifest.xml $(MISC)$/template_update_report.flag
@@-$(MKDIRHIER) $(@:d)
$(PERL) $(SOLARENV)$/bin$/makemani.pl $(PRJ)$/template$/manifest.xml $(ZIP1DIR) registry $(@:d:d)
$(ZIP1DIR)$/readme_en-US.% : $(PRJ)$/license$/readme_en-US.%
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(ZIP1DIR)$/THIRDPARTYREADMELICENSE.html : $(PRJ)$/license$/THIRDPARTYREADMELICENSE.html
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
.ELSE # "$(SOLAR_JAVA)"!=""
.INCLUDE : target.mk
.ENDIF # "$(SOLAR_JAVA)"!=""
#
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ=..$/..$/..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=template_data_ooOffice
PACKAGE=org.openoffice.Office
.INCLUDE : $(PRJ)$/util$/makefile.pmk
#
# we overwrite the PROCESSOUT directory, which comes from util/makefile.pmk
# and set it to the templates directory
#
PROCESSOUT=$(MISC)$/templates
# --- Targets ------------------------------------------------------
XCUFILES= \
Paths.xcu
MODULEFILES=
.INCLUDE : target.mk
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ=..$/..$/..
PRJNAME=reportbuilder
TARGET=template
PACKAGE=
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
XCUFILES=
MODULEFILES=
ODR_FILES_IN_REPORT_BUILDER_EXT=\
default.odr
ODR_FILES_IN_TEMPLATE_EXT=\
finance.odr \
finance_2.odr \
yellow.odr
ALLTAR: COPYFILES COPYFILES2
.INCLUDE : target.mk
#-------------------------------------------------------------------------------
TARGETDIR=$(MISC)$/template$/wizard$/report
COPYFILES: $(ODR_FILES_IN_REPORT_BUILDER_EXT) $(XCU_FILES)
@@-$(MKDIRHIER) $(TARGETDIR)
$(COPY) $(ODR_FILES_IN_REPORT_BUILDER_EXT) $(TARGETDIR)
#-------------------------------------------------------------------------------
TARGETDIR2=$(MISC)$/templates$/template$/wizard$/report
COPYFILES2: $(ODR_FILES_IN_TEMPLATE_EXT) $(XCU_FILES)
@@-$(MKDIRHIER) $(TARGETDIR2)
$(COPY) $(ODR_FILES_IN_TEMPLATE_EXT) $(TARGETDIR2)
......@@ -5,7 +5,7 @@
<display-name>
<name lang="en-US">Report Builder</name>
</display-name>
<version value="#VERSION#"/>
<version value="1.2.2"/>
<identifier value="com.sun.reportdesigner"/>
<dependencies>
<OpenOffice.org-minimal-version value="3.2" d:name="OpenOffice.org 3.2"/>
......
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
PRJ=..
PRJNAME=reportbuilder
TARGET=rpt
EXTENSION_VERSION_BASE=1.2.2
EXTENSION_VERSION=$(EXTENSION_VERSION_BASE)
# --- Settings ----------------------------------
.INCLUDE : makefile.pmk
.IF "$(L10N_framework)"==""
# ------------------------------------------------------------------
# calready set in util$/makefile.pmk
EXTENSION_ZIPNAME:=report-builder
# create Extension -----------------------------
.IF "$(SOLAR_JAVA)"!=""
XMLFILES = $(EXTENSIONDIR)$/META-INF$/manifest.xml
# DESCRIPTION_SRC is the source file which is copied into the extension
# It is defaulted to "description.xml", but we want to pre-process it, so we use an intermediate
# file
DESCRIPTION_SRC = $(MISC)$/description.xml
COMPONENT_MERGED_XCU= \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Setup.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/DataAccess.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/ReportDesign.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/ExtendedColorScheme.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/Embedding.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/Paths.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/Accelerators.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/TypeDetection$/Filter.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/TypeDetection$/Types.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/UI$/ReportCommands.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/UI$/Controller.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/UI$/DbReportWindowState.xcu \
$(EXTENSIONDIR)$/registry$/schema$/org$/openoffice$/Office$/UI$/DbReportWindowState.xcs \
$(EXTENSIONDIR)$/registry$/schema$/org$/openoffice$/Office$/UI$/ReportCommands.xcs \
$(EXTENSIONDIR)$/registry$/schema$/org$/openoffice$/Office$/ReportDesign.xcs
COMPONENT_OTR_FILES= \
$(EXTENSIONDIR)$/template$/en-US$/wizard$/report$/default.otr
COMPONENT_IMAGES= \
$(EXTENSIONDIR)$/images$/extension_32.png
COMPONENT_HTMLFILES = $(EXTENSIONDIR)$/THIRDPARTYREADMELICENSE.html \
$(EXTENSIONDIR)$/readme_en-US.html \
$(EXTENSIONDIR)$/readme_en-US.txt
COMPONENT_JARFILES = \
$(EXTENSIONDIR)$/sun-report-builder.jar
COMPONENT_DESCRIPTION= \
$(foreach,lang,$(alllangiso) $(EXTENSIONDIR)$/description-$(lang).txt)
# .jar files from solver
COMPONENT_EXTJARFILES = \
$(EXTENSIONDIR)$/sun-report-builder.jar
COMPONENT_EXTJARFILES_COPY = \
$(OUTDIR)$/bin$/reportbuilderwizard.jar
.IF "$(SYSTEM_JFREEREPORT)" != "YES"
.INCLUDE : $(OUTDIR)/bin/jfreereport_version.mk
COMPONENT_EXTJARFILES_COPY += \
$(OUTDIR)$/bin$/flute-$(FLUTE_VERSION).jar \
$(OUTDIR)$/bin$/libserializer-$(LIBSERIALIZER_VERSION).jar \
$(OUTDIR)$/bin$/libbase-$(LIBBASE_VERSION).jar \
$(OUTDIR)$/bin$/libfonts-$(LIBFONTS_VERSION).jar \
$(OUTDIR)$/bin$/libformula-$(LIBFORMULA_VERSION).jar \
$(OUTDIR)$/bin$/liblayout-$(LIBLAYOUT_VERSION).jar \
$(OUTDIR)$/bin$/libloader-$(LIBLOADER_VERSION).jar \
$(OUTDIR)$/bin$/librepository-$(LIBREPOSITORY_VERSION).jar \
$(OUTDIR)$/bin$/libxml-$(LIBXML_VERSION).jar \
$(OUTDIR)$/bin$/flow-engine-$(FLOW_ENGINE_VERSION).jar \
$(OUTDIR)$/bin$/sac.jar
.ENDIF
.IF "$(SYSTEM_APACHE_COMMONS)" != "YES"
COMPONENT_EXTJARFILES_COPY += \
$(OUTDIR)$/bin$/commons-logging-1.1.1.jar
.ENDIF
COMPONENT_MANIFEST_GENERIC:=TRUE
COMPONENT_MANIFEST_SEARCHDIR:=registry
# make sure to add your custom files here
EXTENSION_PACKDEPS=$(COMPONENT_EXTJARFILES) $(MISC)/$(TARGET).copied $(COMPONENT_HTMLFILES) $(COMPONENT_OTR_FILES) $(COMPONENT_DESCRIPTION) $(COMPONENT_IMAGES) $(EXTENSIONDIR)/components.rdb
.ENDIF
# --- Targets ----------------------------------
.INCLUDE : extension_pre.mk
.INCLUDE : target.mk
.INCLUDE : extension_post.mk
.IF "$(L10N_framework)"==""
$(EXTENSIONDIR)$/%.jar : $(SOLARBINDIR)$/%.jar
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(EXTENSIONDIR)/components.rdb : components.rdb
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(EXTENSIONDIR)$/readme_en-US.% : $(PRJ)$/license$/readme_en-US.%
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(COMPONENT_IMAGES) : $(SRC_ROOT)/$(RSCDEFIMG)$/desktop$/res$/$$(@:f)
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(EXTENSIONDIR)$/THIRDPARTYREADMELICENSE.html : $(PRJ)$/license$/THIRDPARTYREADMELICENSE.html
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(COMPONENT_DESCRIPTION) : $(DESCRIPTION)
$(DESCRIPTION_SRC): description.xml
+-$(RM) $@
$(COPY) description-en-US.txt $(EXTENSIONDIR)/description-en-US.txt
.IF "$(WITH_LANG)" != ""
$(XRMEX) -p $(PRJNAME) -i description.xml -o $@ -m $(LOCALIZESDF) -l all
$(SED) "s/#VERSION#/$(EXTENSION_VERSION)/" < $@ > $@.new
mv $@.new $@
@@-$(COPY) $(@:d)/description-*.txt $(EXTENSIONDIR)
.ELSE
$(SED) "s/#VERSION#/$(EXTENSION_VERSION)/" < $< > $@
.ENDIF
$(MISC)/$(TARGET).copied: $(COMPONENT_EXTJARFILES_COPY)
@@-$(MKDIRHIER) $(EXTENSIONDIR)
: $(foreach,i,$(COMPONENT_EXTJARFILES_COPY) && $(COPY) $i $(EXTENSIONDIR)/)
$(TOUCH) $@
.ENDIF
.ELSE # "$(SOLAR_JAVA)"!=""
.INCLUDE : target.mk
.ENDIF # "$(SOLAR_JAVA)"!=""
#
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
XSLDIR=$(SOLARXMLDIR)$/processing
ABSXCSROOT=$(PWD)$/$(MISC)$/$(EXTNAME)
# ABSXCSROOT=$(MISC)$/$(EXTNAME)
XCSROOT=..
# XCSROOT=$(SOLARXMLDIR)
# ABSXCSROOT=$(SOLARXMLDIR)
DTDDIR=$(SOLARXMLDIR)
PROCESSOUT=$(MISC)$/$(EXTNAME)
PROCESSORDIR=$(SOLARBINDIR)
# no validation by inspector class
NO_INSPECTION=TRUE
JAVAPREPRO=
.IF "$(JDK_VERSION)" == "110"
JAVAPREPRO=-jdk11
.ENDIF
.IF "$(PRODUCT)" != ""
JAVAPREPRO=$(JAVAPREPRO) + " -product"
.ENDIF
# --- Settings -----------------------------------------------------
EXTENSIONNAME:=sun-report-builder
.INCLUDE : settings.mk
NOUNODOC=
BUILD_URD_ONLY=TRUE
LOCALIDLFILES=TRUE
URDDOC=TRUE
.IF "$(OS)"=="SOLARIS" || "$(OS)"=="FREEBSD"
.IF "$(CPUNAME)"=="INTEL"
UNOIDL=unoidl
.ENDIF
.ENDIF
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2000, 2010 Oracle and/or its affiliates.
#
# OpenOffice.org - a multi-platform office productivity suite
#
# This file is part of OpenOffice.org.
#
# 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.
#
# 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).
#
# 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.
#
#*************************************************************************
REGISTRYCHECKFLAG=$(MISC)$/registrycheck.flag
$(OUT)$/misc$/$(TARGET).idls: makefile.mk
+-$(RM) $@
+-$(RM) $(REGISTRYCHECKFLAG)
+$(TYPE) $(mktmp $(foreach,i,$(IDLFILES) $(PACKAGE)$/$i)) >>$@
ALLTAR: $(OUT)$/misc$/$(TARGET).idls
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment