Added: incubator/ooo/branches/buildsys/main/sd/xml/sd.xml URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/sd/xml/sd.xml?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/sd/xml/sd.xml (added) +++ incubator/ooo/branches/buildsys/main/sd/xml/sd.xml Wed Oct 10 21:12:40 2012 @@ -0,0 +1,513 @@ + + + + sd + + + Andre Fischer + AccessibleDrawDocumentView + + + This component represents the accessbility object for Draw + document views and Impress document views with the view modes edit view, + notes view, or handout view. For more detailed information see the + documentation of the supported services and the link to the general + accessibility documentation. + + + + + com.sun.star.loader.SharedLibrary + c++ + + + com.sun.star.drawing.AccessibleDrawDocumentView + com.sun.star.accessibility.Accessible + com.sun.star.accessibility.AccessibleContext + + com.sun.star.drawing.XAccessible + com.sun.star.drawing.XAccessibleContext + com.sun.star.drawing.XAccessibleEventBroadcaster + com.sun.star.drawing.XAccessibleComponent + com.sun.star.drawing.XAccessibleExtendedComponent + com.sun.star.drawing.XAccessibleSelection + com.sun.star.lang.XTypeProvider + com.sun.star.lang.XServiceInfo + com.sun.star.lang.XComponent + com.sun.star.beans.XPropertyChangeListener + com.sun.star.awt.XWindowListener + com.sun.star.awt.XTopWindowListener + + + + + Andre Fischer + AccessibleOutlineView + + + This component represents the accessbility object for Impress + document views in outline view mode. For more detailed information see the + documentation of the supported services and the link to the general + accessibility documentation. + + + + + com.sun.star.loader.SharedLibrary + c++ + + + com.sun.star.accessibility.Accessible + com.sun.star.accessibility.AccessibleContext + + com.sun.star.drawing.XAccessible + com.sun.star.drawing.XAccessibleContext + com.sun.star.drawing.XAccessibleEventBroadcaster + com.sun.star.drawing.XAccessibleComponent + com.sun.star.drawing.XAccessibleExtendedComponent + com.sun.star.drawing.XAccessibleSelection + com.sun.star.lang.XTypeProvider + com.sun.star.lang.XServiceInfo + com.sun.star.lang.XComponent + com.sun.star.beans.XPropertyChangeListener + com.sun.star.awt.XWindowListener + com.sun.star.awt.XTopWindowListener + + + + + Andre Fischer + AccessiblePageShape + + + This component is derived from AccessibleShape and makes the + graphical representation of the currently visible draw page accessible. For + more detailed information see the documentation of the base component + AccessibleShape, the supported services, and the link to the general + accessibility documentation. + + + + + com.sun.star.loader.SharedLibrary + c++ + + + com.sun.star.drawing.AccessibleShape + com.sun.star.accessibility.Accessible + com.sun.star.accessibility.AccessibleContext + + com.sun.star.accessibility.XAccessible + com.sun.star.accessibility.XAccessibleContext + com.sun.star.accessibility.XAccessibleEventBroadcaster + com.sun.star.accessibility.XAccessibleComponent + com.sun.star.accessibility.XAccessibleExtendedComponent + com.sun.star.lang.XTypeProvider + com.sun.star.lang.XServiceInfo + com.sun.star.lang.XComponent + com.sun.star.document.XEventListener + com.sun.star.lang.XUnoTunnel + + + + + Andre Fischer + AccessiblePresentationGraphicShape + + + This component is derived from AccessibleGraphicShape and + implements Impress specific behaviour. For more detailed information see + the documentation of the base component AccessibleGraphicShape, the + supported services, and the link to the general accessibility + documentation. + + + + + com.sun.star.loader.SharedLibrary + c++ + + + com.sun.star.drawing.AccessibleShape + com.sun.star.accessibility.Accessible + com.sun.star.accessibility.AccessibleContext + + com.sun.star.accessibility.XAccessible + com.sun.star.accessibility.XAccessibleContext + com.sun.star.accessibility.XAccessibleEventBroadcaster + com.sun.star.accessibility.XAccessibleComponent + com.sun.star.accessibility.XAccessibleExtendedComponent + com.sun.star.accessibility.XAccessibleImage + com.sun.star.lang.XTypeProvider + com.sun.star.lang.XServiceInfo + com.sun.star.lang.XComponent + com.sun.star.document.XEventListener + com.sun.star.lang.XUnoTunnel + + + + + Andre Fischer + AccessiblePresentationOLEShape + + + This component is derived from AccessibleOLEShape and + implements Impress specific behaviour. For more detailed information see + the documentation of the base component AccessibleOLEShape, the supported + services, and the link to the general accessibility + documentation. + + + + + com.sun.star.loader.SharedLibrary + c++ + + + com.sun.star.drawing.AccessibleShape + com.sun.star.accessibility.Accessible + com.sun.star.accessibility.AccessibleContext + + com.sun.star.accessibility.XAccessible + com.sun.star.accessibility.XAccessibleContext + com.sun.star.accessibility.XAccessibleEventBroadcaster + com.sun.star.accessibility.XAccessibleComponent + com.sun.star.accessibility.XAccessibleExtendedComponent + com.sun.star.accessibility.XAccessibleAction + com.sun.star.lang.XTypeProvider + com.sun.star.lang.XServiceInfo + com.sun.star.lang.XComponent + com.sun.star.document.XEventListener + com.sun.star.lang.XUnoTunnel + + + + + Andre Fischer + AccessiblePresentationShape + + + This component represents the accessbility object of generic + presentation shapes. For more detailed information see the documentation of + the base component AccessibleShape, the supported services, and the link to + the general accessibility documentation. + + + + + com.sun.star.loader.SharedLibrary + c++ + + + com.sun.star.drawing.AccessibleShape + com.sun.star.accessibility.Accessible + com.sun.star.accessibility.AccessibleContext + + com.sun.star.accessibility.XAccessible + com.sun.star.accessibility.XAccessibleContext + com.sun.star.accessibility.XAccessibleEventBroadcaster + com.sun.star.accessibility.XAccessibleComponent + com.sun.star.accessibility.XAccessibleExtendedComponent + com.sun.star.lang.XTypeProvider + com.sun.star.lang.XServiceInfo + com.sun.star.lang.XComponent + com.sun.star.document.XEventListener + com.sun.star.lang.XUnoTunnel + + + + + Andre Fischer + AccessibleSlideView + + + This component represents the accessbility object for Impress + document views in slide view mode. For more detailed information see the + documentation of the supported services and the link to the general + accessibility documentation. + + + + + com.sun.star.loader.SharedLibrary + c++ + + + com.sun.star.accessibility.Accessible + com.sun.star.accessibility.AccessibleContext + com.sun.star.drawing.AccessibleSlideView + + com.sun.star.drawing.XAccessible + com.sun.star.drawing.XAccessibleContext + com.sun.star.drawing.XAccessibleEventBroadcaster + com.sun.star.drawing.XAccessibleComponent + com.sun.star.drawing.XAccessibleSelection + com.sun.star.lang.XTypeProvider + com.sun.star.lang.XUnoTunnel + + + + + Andre Fischer + AccessibleSlideView + + + This component represents the accessbility object for the + slides managed by Impress slide view. For more detailed information see the + documentation of the supported services and the link to the general + accessibility documentation. + + + + + com.sun.star.loader.SharedLibrary + c++ + + + com.sun.star.accessibility.Accessible + com.sun.star.accessibility.AccessibleContext + com.sun.star.drawing.AccessibleSlideViewObject + + com.sun.star.drawing.XAccessible + com.sun.star.drawing.XAccessibleContext + com.sun.star.drawing.XAccessibleEventBroadcaster + com.sun.star.drawing.XAccessibleComponent + com.sun.star.lang.XTypeProvider + com.sun.star.lang.XUnoTunnel + + + + Christian Lippka + DrawController_DrawView + + specifies a document which consists of multiple pages + with drawings. + + com.sun.star.loader.SharedLibrary + c++ + + com::sun::star::drawing::DrawingDocumentDrawView + + + Christian Lippka + DrawController_HandoutView + + This componend integrates a view to a handout page inside a presentation + document into the desktop + + com.sun.star.loader.SharedLibrary + c++ + + com::sun::star::drawing::DrawingDocumentDrawView + + + Christian Lippka + DrawController_NotesView + + This componend integrates a view to a handout page inside a presentation + document into the desktop. + + com.sun.star.loader.SharedLibrary + c++ + + com::sun::star::drawing::DrawingDocumentDrawView + + + Christian Lippka + DrawController_OutlineView + + This componend integrates an outline view to a presentation + document into the desktop. + + com.sun.star.loader.SharedLibrary + c++ + + com::sun::star::drawing::DrawingDocumentDrawView + + + Christian Lippka + DrawController_PresentationView + + This componend integrates a view to a slide show of a presentation + document into the desktop. + + com.sun.star.loader.SharedLibrary + c++ + + com::sun::star::drawing::DrawingDocumentDrawView + + + Christian Lippka + com.sun.star.comp.office.SdDocLinkTargets + + This component provides access to possible link targets inside a context + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.document.LinkTargets + + + Christian Lippka + com.sun.star.comp.office.SdDrawPage + + This component provides access to a single drawing page of a document. + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.drawing.DrawPage + + + Christian Lippka + com.sun.star.comp.office.SdDrawPagesAccess + + This component provides access to the drawing pages of a document. + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.drawing.DrawPages + + + Christian Lippka + com.sun.star.comp.office.SdGenericDrawPage + + This component provides a basic implementation for both master and drawing pages. + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.drawing.GenericDrawPage + + + Christian Lippka + com.sun.star.comp.office.SdLayer + + This component provides access to a single layer inside a document. + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.drawing.Layer + + + Christian Lippka + com.sun.star.comp.office.SdLayerManager + + This component provides access to the layers of a document + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.drawing.LayerManager + + + Christian Lippka + com.sun.star.comp.office.SdMasterPage + + This component provides access to a single master page inside a document + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.drawing.MasterPage + + + Christian Lippka + com.sun.star.comp.office.SdMasterPagesAccess + + This component provides access to the master drawing pages inside a document + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.drawing.MasterPages + + + Christian Lippka + com.sun.star.comp.office.SdPageLinkTargets + + This component provides the container for the link targets of a drawing page + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.document.LinkTargets + + + Christian Lippka + com.sun.star.comp.office.SdXCustomPresentation + + This component provides access to the draw pages in a custom presentation + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.presentation.CustomPresentation + + + Christian Lippka + com.sun.star.comp.office.SdXCustomPresentationAccess + + This component provides access to custom presentations of a document + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.presentation.CustomPresentationAccess + + + Christian Lippka + com.sun.star.comp.office.SdXImpressDocument + + This component provides access to an presentation document. + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.presentation.PresentationDocument + + + Christian Lippka + com.sun.star.comp.office.SdXPresentation + + This component provides access to the presentation of a impress document + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.presentation.Presentation + + + Christian Lippka + com.sun.star.comp.office.SdXShape + + This component provides access to a single shape. + + com.sun.star.loader.SharedLibrary + c++ + + com.sun.star.drawing.Shape + + + Christian Lippka + SdUnoSlideView + + This componend integrates a slides view to a presentation + document into the desktop. + + com.sun.star.loader.SharedLibrary + c++ + + com::sun::star::drawing::DrawingDocumentDrawView + + Added: incubator/ooo/branches/buildsys/main/solenv/gbuild/Jar.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/solenv/gbuild/Jar.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/solenv/gbuild/Jar.mk (added) +++ incubator/ooo/branches/buildsys/main/solenv/gbuild/Jar.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,165 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +# if a jar prerequisite has changed, the ClassSet must be recompiled. How? + +# Jar class + +gb_Jar_JAVACOMMAND := $(JAVAINTERPRETER) +gb_Jar_JARCOMMAND := jar + +# location of manifest file in workdir +define gb_Jar_get_manifest_target +$(call gb_JavaClassSet_get_classdir,$(call gb_Jar_get_classsetname,$(1)))/META-INF/MANIFEST.MF +endef + +# creates classset and META-INF folders if they don't exist +# adds manifest version, class path, solarversion and content from sources to manifest file +# creates the target folder of the jar file if it doesn't exist +# creates the jar file +define gb_Jar__command + $(call gb_Helper_abbreviate_dirs_native,\ + mkdir -p $(call gb_JavaClassSet_get_classdir,$(call gb_Jar_get_classsetname,$(1)))/META-INF && \ + echo Manifest-Version: 1.0 > $(call gb_Jar_get_manifest_target,$(1)) && \ + echo "Class-Path: $(JARCLASSPATH)" >> $(call gb_Jar_get_manifest_target,$(1)) && \ + echo "Solar-Version: $(RSCREVISION)" >> $(call gb_Jar_get_manifest_target,$(1)) && \ + cat $(MANIFEST) >> $(call gb_Jar_get_manifest_target,$(1)) && \ + mkdir -p $(dir $(2)) && \ + cd $(call gb_JavaClassSet_get_classdir,$(call gb_Jar_get_classsetname,$(1))) && $(gb_Jar_JARCOMMAND) cfm $(2) $(call gb_Jar_get_manifest_target,$(1)) META-INF $(PACKAGEROOTS) ) +endef + +# clean target reuses clean target of ClassSet +$(call gb_Jar_get_clean_target,%) : $(call gb_JavaClassSet_get_clean_target,$(call gb_Jar_get_classsetname,%)) + $(call gb_Output_announce,$*,$(false),JAR,3) + $(call gb_Helper_abbreviate_dirs,\ + rm -f $(call gb_Jar_get_target,$*) $(call gb_Jar_get_outdir_target,$*)) + +# the outdir target depends on the workdir target and is built by delivering the latter +# the workdir target is created by cd'ing to the target directory and adding/updating the files + +# rule for creating the jar file using the command defined above +$(call gb_Jar_get_target,%) : $(call gb_JavaClassSet_get_target,$(call gb_Jar_get_classsetname,%)) + $(call gb_Jar__command,$*,$@,$*,$?) + +# resets scoped variables (see explanations where they are set) +# creates a class set and a dependency to it +# registers target and clean target +# adds jar files to DeliverLogTarget +# adds dependency for outdir target to workdir target (pattern rule for delivery is in Package.mk) +define gb_Jar_Jar +$(call gb_Jar_get_target,$(1)) : MANIFEST := +$(call gb_Jar_get_target,$(1)) : JARCLASSPATH := +$(call gb_Jar_get_target,$(1)) : PACKAGEROOTS := +$(call gb_JavaClassSet_JavaClassSet,$(call gb_Jar_get_classsetname,$(1)),$(2)) +$(call gb_JavaClassSet_set_classpath,$(call gb_Jar_get_classsetname,$(1)),$(value XCLASSPATH)) +$(eval $(call gb_Module_register_target,$(call gb_Jar_get_outdir_target,$(1)),$(call gb_Jar_get_clean_target,$(1)))) +$(call gb_Deliver_add_deliverable,$(call gb_Jar_get_outdir_target,$(1)),$(call gb_Jar_get_target,$(1)),$(1)) +$(call gb_Jar_get_outdir_target,$(1)) : $(call gb_Jar_get_target,$(1)) + +endef + +# source files are forwarded to the ClassSet +define gb_Jar_add_sourcefile +$(call gb_JavaClassSet_add_sourcefile,$(call gb_Jar_get_classsetname,$(1)),$(2)) +endef + +# PACKAGEROOTS is the list of all root folders to pack into the jar (without META-INF as this is added automatically) +define gb_Jar_set_packageroot +$(call gb_Jar_get_target,$(1)) : PACKAGEROOTS := $(2) +endef + +define gb_Jar_add_sourcefiles +$(foreach sourcefile,$(2),$(call gb_Jar_add_sourcefile,$(1),$(sourcefile))) +endef + +define gb_JarTest_set_classpath +$(call gb_JavaClassSet_set_classpath,$(call gb_Jar_get_classsetname,$(1)),$(2)) +endef + +# JARCLASSPATH is the class path that is written to the manifest of the jar +define gb_Jar_set_jarclasspath + +$(call gb_Jar_get_target,$(1)) : JARCLASSPATH := $(2) +endef + +# provide a manifest template containing jar specific information to be written into the manifest +# it will be appended to the standard content that is written in the build command explicitly +# the jar file gets a dependency to the manifest template +define gb_Jar_set_manifest +$(call gb_Jar_get_target,$(1)) : MANIFEST := $(2) +$(call gb_Jar_get_target,$(1)) : $(2) + +endef + +# remember: classpath is "inherited" to ClassSet +define gb_Jar_add_jar +$(call gb_JavaClassSet_add_jar,$(call gb_Jar_get_classsetname,$(1)),$(2)) +endef + +define gb_Jar_add_system_jar +$(call gb_JavaClassSet_add_system_jar,$(call gb_Jar_get_classsetname,$(1)),$(2)) +endef + +# specify jars with imported modules +define gb_Jar_add_jars +$(call gb_JavaClassSet_add_jars,$(call gb_Jar_get_classsetname,$(1)),$(2)) +endef + +define gb_Jar_add_system_jars +$(call gb_JavaClassSet_add_system_jars,$(call gb_Jar_get_classsetname,$(1)),$(2)) +endef + +define gb_Jar_use_external +$(call gb_JavaClassSet_use_external,$(call gb_Jar_get_classsetname,$(1)),$(2)) +endef + +define gb_Jar_use_externals +$(call gb_JavaClassSet_use_externals,$(call gb_Jar_get_classsetname,$(1)),$(2)) +endef + +# possible directories for jar files containing UNO services +gb_Jar_COMPONENTPREFIXES := \ + OOO:vnd.sun.star.expand:\dOOO_BASE_DIR/program/classes/ \ + URE:vnd.sun.star.expand:\dURE_INTERNAL_JAVA_DIR/ \ + INTERN:vnd.sun.star.expand:\dOOO_INBUILD_JAVA_DIR/ + +# get component prefix from layer name ("OOO", "URE", "INTERN") +gb_Jar__get_componentprefix = \ + $(patsubst $(1):%,%,$(or \ + $(filter $(1):%,$(gb_Jar_COMPONENTPREFIXES)), \ + $(call gb_Output_error,no ComponentTarget native prefix for layer '$(1)'))) + +# layer must be specified explicitly in this macro (different to libraries) +define gb_Jar_set_componentfile +$(call gb_ComponentTarget_ComponentTarget,$(2),$(call gb_Jar__get_componentprefix,$(3)),$(notdir $(call gb_Jar_get_target,$(1)))) +$(call gb_Jar_get_target,$(1)) : $(call gb_ComponentTarget_get_outdir_target,$(2)) +$(call gb_Jar_get_clean_target,$(1)) : $(call gb_ComponentTarget_get_clean_target,$(2)) + +endef + + +# vim: set noet sw=4 ts=4: Added: incubator/ooo/branches/buildsys/main/solenv/gbuild/UnoApiTarget.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/solenv/gbuild/UnoApiTarget.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/solenv/gbuild/UnoApiTarget.mk (added) +++ incubator/ooo/branches/buildsys/main/solenv/gbuild/UnoApiTarget.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,209 @@ +#************************************************************************* +# +# 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +define gb_UnoApiTarget_autopackage_inc +$$(eval $$(call gb_Package_Package,$(1)_inc,$$(patsubst %/empty,%,$$(call gb_UnoApiTarget_get_header_target,empty)))) +$(foreach onefile,$(gb_UnoApiTarget_HPPFILES_$(1)), \ + $$(eval $$(call gb_Package_add_file,$(1)_inc,$(patsubst $(1)/%,inc/$(1)/%,$(onefile)),$(onefile)))) + +$(call gb_Package_get_target,$(1)_inc) : $(call gb_UnoApiTarget_get_target,$(1)) + +endef + +# TODO: make multi repo safe +define gb_UnoApiTarget_autopackage_idl +$$(eval $$(call gb_Package_Package,$(1)_idl,$(SRCDIR))) +$(foreach onefile,$(gb_UnoApiTarget_IDLFILES_$(1)), \ + $$(eval $$(call gb_Package_add_file,$(1)_idl,$(patsubst $(1)/%,idl/%,$(onefile)),$(onefile)))) + +endef + +$(call gb_UnoApiTarget_get_header_target,$(1))/% : $(call gb_UnoApiTarget_get_target,$(1)) + mkdir -p $$(dir $$@) + +define gb_UnoApiTarget_UnoApiTarget +$$(eval $$(call gb_Module_register_target,$(call gb_UnoApiOutTarget_get_target,$(1)),$(call gb_UnoApiOutTarget_get_clean_target,$(1)))) +$(call gb_UnoApiOutTarget_get_target,$(1)) : $(call gb_UnoApiTarget_get_target,$(1)) +$(call gb_UnoApiOutTarget_get_clean_target,$(1)) : $(call gb_UnoApiTarget_get_clean_target,$(1)) +gb_UnoApiTarget_HPPFILES_$(1) := +gb_UnoApiTarget_IDLFILES_$(1) := + +.DELETE_ON_ERROR : \ + $(call gb_UnoApiTarget_get_clean_target,$(1)) \ + $(call gb_UnoApiTarget_get_target,$(1)) + +endef + +define gb_UnoApiTarget_add_idlfiles +$(foreach idl,$(2),$(call gb_UnoApiTarget_add_idlfile,$(1),$(idl))) + +endef + +define gb_UnoApiTarget_add_idlfile +$(call gb_UnoApiTarget_get_target,$(1)) : $(call gb_UnoApiPartTarget_get_target,$(2).urd) +$(call gb_UnoApiPartTarget_get_target,$(2).urd) : $(foreach repo,$(gb_REPOS),$(realpath $(repo)/$(2).idl)) +gb_UnoApiTarget_HPPFILES_$(1) += $(2).hdl +gb_UnoApiTarget_HPPFILES_$(1) += $(2).hpp +gb_UnoApiTarget_IDLFILES_$(1) += $(2).idl + +$(call gb_UnoApiTarget_get_header_target,)$(2).hpp :| $(call gb_UnoApiTarget_get_target,$(1)) +$(call gb_UnoApiTarget_get_header_target,)$(2).hdl :| $(call gb_UnoApiTarget_get_target,$(1)) + +endef + +define gb_UnoApiTarget_add_idlfiles_noheader +$(foreach idl,$(2),$(call gb_UnoApiTarget_add_idlfile_noheader,$(1),$(idl))) + +endef + +define gb_UnoApiTarget_add_idlfile_noheader +$(call gb_UnoApiTarget_get_target,$(1)) : $(call gb_UnoApiPartTarget_get_target,$(2).urd) +$(call gb_UnoApiPartTarget_get_target,$(2).urd) : $(foreach repo,$(gb_REPOS),$(realpath $(repo)/$(2).idl)) +gb_UnoApiTarget_IDLFILES_$(1) += $(2).idl + +endef + +define gb_UnoApiTarget_add_idlfiles_nohdl +$(foreach idl,$(2),$(call gb_UnoApiTarget_add_idlfile_nohdl,$(1),$(idl))) + +endef + +define gb_UnoApiTarget_add_idlfile_nohdl +$(call gb_UnoApiTarget_get_target,$(1)) : $(call gb_UnoApiPartTarget_get_target,$(2).urd) +$(call gb_UnoApiPartTarget_get_target,$(2).urd) : $(foreach repo,$(gb_REPOS),$(realpath $(repo)/$(2).idl)) +gb_UnoApiTarget_HPPFILES_$(1) += $(2).hpp +gb_UnoApiTarget_IDLFILES_$(1) += $(2).idl + +$(call gb_UnoApiTarget_get_header_target,)$(2).hpp :| $(call gb_UnoApiTarget_get_target,$(1)) + +endef + +define gb_UnoApiTarget_add_rdbfiles +$(foreach rdb,$(2),$(call gb_UnoApiTarget_add_rdbfile,$(1),$(rdb))) + +endef + +define gb_UnoApiTarget_add_rdbfile +$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_DEPS += -X$(call gb_UnoApiOutTarget_get_target,$(2)) +$(call gb_UnoApiTarget_get_target,$(1)) : \ + $(call gb_UnoApiOutTarget_get_target,$(2)) \ + $(call gb_Package_get_target,$(2)_idl) + +endef + +define gb_UnoApiTarget_add_merge_rdbfiles +$(foreach rdb,$(2),$(call gb_UnoApiTarget_add_merge_rdbfile,$(1),$(rdb))) + +endef + +define gb_UnoApiTarget_add_merge_rdbfile +$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_MERGE += $(call gb_UnoApiOutTarget_get_target,$(2)) +$(call gb_UnoApiTarget_get_target,$(1)) : $(call gb_UnoApiOutTarget_get_target,$(2)) + +endef + +#UNOAPI_REFERENCE_$(1) := $(foreach repo,$(gb_REPOS),$(realpath $(repo)/$(strip $(2)).rdb)) +define gb_UnoApiTarget_add_reference_rdbfile +$(call gb_UnoApiTarget_get_target,$(1)) : UNOAPI_REFERENCE := $(foreach repo,$(gb_REPOS),$(realpath $(repo)/$(strip $(2)).rdb)) + +endef + +define gb_UnoApiTarget_set_include +$(call gb_UnoApiTarget_get_target,$(1)) : INCLUDE := $(2) + +endef + +.PHONY : $(call gb_UnoApiOutTarget_get_clean_target,%) +$(call gb_UnoApiOutTarget_get_clean_target,%) : + $(call gb_Output_announce,$*,$(false),UNOAPI,1) + -$(call gb_Helper_abbreviate_dirs,\ + rm -f $(call gb_UnoApiOutTarget_get_target,$*)) + +.PHONY : $(call gb_UnoApiTarget_get_clean_target,%) +$(call gb_UnoApiTarget_get_clean_target,%) : + $(call gb_Output_announce,$*,$(false),UNOAPI,1) + -$(call gb_Helper_abbreviate_dirs,\ + rm -f $(call gb_UnoApiTarget_get_target,$*)) + -rm -rf $(call gb_UnoApiTarget_get_header_target,$*)\ + $(call gb_UnoApiPartTarget_get_target,$*) + +# idlc doesn't return error codes != 0 in case of an error, so +# check self +define gb_UnoApiPartTarget__command +mkdir -p $(dir $(1)) && \ + mkdir -p $(gb_Helper_MISC) && \ + RESPONSEFILE=`$(gb_MKTEMP)` && \ + echo "$(call gb_Helper_convert_native,$(5) $(6) -O $(call gb_UnoApiPartTarget_get_target,$(2)) -verbose -C $(4))" > $${RESPONSEFILE} && \ + $(gb_UnoApiTarget_IDLCCOMMAND) @$${RESPONSEFILE} > /dev/null && \ + rm -f $${RESPONSEFILE} && \ + test -f $(@) + +endef + +$(call gb_UnoApiPartTarget_get_target,%) : + $(call gb_Output_announce,$*,$(true),IDL,2) + $(call gb_UnoApiPartTarget__command,$@,$(dir $*),$<,$?,$(INCLUDE),$(DEFS)) + + +define gb_UnoApiTarget__command + mkdir -p $(dir $(1)) && \ + RESPONSEFILE=$(call var2file,$(shell $(gb_MKTEMP)),500,$(call gb_Helper_convert_native,$(1) $(4) $(5))) && \ + $(gb_UnoApiTarget_REGMERGECOMMAND) @$${RESPONSEFILE} && \ + rm -f $${RESPONSEFILE} + +endef + +define gb_UnoApiHeaderTarget__command +$(call gb_Helper_abbreviate_dirs_native,\ + mkdir -p $(dir $(1)) && \ + mkdir -p $(gb_Helper_MISC) && \ + RESPONSEFILE=`$(gb_MKTEMP)` && \ + echo " -Gc -L -BUCR -O$(call gb_UnoApiTarget_get_header_target,$*) $(7) \ + $(1) \ + " > $${RESPONSEFILE} && \ + $(gb_UnoApiTarget_CPPUMAKERCOMMAND) @$${RESPONSEFILE} && \ + rm -f $${RESPONSEFILE}) + +endef + +# TODO: +# - get idlc switch "-P" (generate .urd into package dir) +# - generate dependencies for included idls +# - empty $? in headertarget? + +$(call gb_UnoApiTarget_get_target,%): + $(call gb_Output_announce,$*,$(true),RDB,3) + $(if $(gb_UnoApiTarget_IDLFILES_$*),$(call gb_UnoApiTarget__command,$@,$*,$<,UCR,$(addprefix $(call gb_UnoApiPartTarget_get_target,),$(patsubst %.idl,%.urd,$(gb_UnoApiTarget_IDLFILES_$*))))) + $(if $(UNOAPI_MERGE),$(call gb_UnoApiTarget__command,$@,$*,$<,/,$(UNOAPI_MERGE))) + $(if $(UNOAPI_REFERENCE), \ + $(call gb_Output_announce,$*,$(true),RDBCHEK,4) \ + $(gb_UnoApiTarget_REGCOMPARECOMMAND) -f -t -r1 $(call gb_Helper_convert_native,$(UNOAPI_REFERENCE)) -r2 $(call gb_Helper_convert_native,$@)) + $(if $(gb_UnoApiTarget_IDLFILES_$*), \ + $(call gb_Output_announce,$*,$(true),HPP,4) \ + $(call gb_UnoApiHeaderTarget__command,$@,$*,$<,$?,$(INCLUDE),$(DEFS),$(UNOAPI_DEPS))) + +# vim: set noet sw=4 ts=4: Added: incubator/ooo/branches/buildsys/main/solenv/gbuild/Zip.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/solenv/gbuild/Zip.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/solenv/gbuild/Zip.mk (added) +++ incubator/ooo/branches/buildsys/main/solenv/gbuild/Zip.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,83 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +# Zip class + +gb_Zip_ZIPCOMMAND := zip + +# remove zip file in workdir and outdir +$(call gb_Zip_get_clean_target,%) : + $(call gb_Output_announce,$*,$(false),ZIP,3) + $(call gb_Helper_abbreviate_dirs,\ + rm -f $(call gb_Zip_get_target,$*) && \ + rm -f $(call gb_Zip_get_final_target,$*) && \ + rm -f $(call gb_Zip_get_outdir_target,$*)) + +# rule to create zip package in workdir +# -FS makes sure that all files in the zip package will be removed that no longer are in $(FILES) +$(call gb_Zip_get_target,%) : + $(call gb_Helper_abbreviate_dirs_native,\ + mkdir -p $(dir $(call gb_Zip_get_target,$*)) && \ + cd $(LOCATION) && $(gb_Zip_ZIPCOMMAND) -rX -FS $(call gb_Zip_get_target,$*) $(FILES) ) + +# the final target is a touch target; we use it as registered targets should be in workdir, not in outdir +# the outdir target depends on the workdir target and is built by delivering the latter +# the workdir target is created by cd'ing to the target directory and adding/updating the files +$(call gb_Zip_get_final_target,%) : $(call gb_Zip_get_outdir_target,%) + touch $@ + +# clear file list, set location (zipping uses relative paths) +# register target and clean target +# add deliverable +# add dependency for outdir target to workdir target (pattern rule for delivery is in Package.mk) +# the zip package target requires that all added files have a common root directory (package location) +# names of added files are relative to it; the zip will store them with their complete relative path name +# the location can't be stored in a scoped variable as it is needed in the add_file macro (see rule above) +define gb_Zip_Zip +$(call gb_Zip_get_target,$(1)) : FILES := +$(call gb_Zip_get_target,$(1)) : LOCATION := $(2) +gb_Package_Location_$(1) := $(2) +$(eval $(call gb_Module_register_target,$(call gb_Zip_get_final_target,$(1)),$(call gb_Zip_get_clean_target,$(1)))) +$(call gb_Deliver_add_deliverable,$(call gb_Zip_get_outdir_target,$(1)),$(call gb_Zip_get_target,$(1)),$(1)) +$(call gb_Zip_get_outdir_target,$(1)) : $(call gb_Zip_get_target,$(1)) + +endef + +# adding a file creates a dependency to it +# the full path name of the file needs access to the package location +# as scoped variables only exist in rules, we use a postfixed name to refer to the location +define gb_Zip_add_file +$(call gb_Zip_get_target,$(1)) : FILES += $(2) +$(call gb_Zip_get_target,$(1)) : $(gb_Package_Location_$(1))/$(2) + +endef + +define gb_Zip_add_files +$(foreach file,$(2),$(call gb_Zip_add_file,$(1),$(file))) +endef + +# vim: set noet sw=4 ts=4: Propchange: incubator/ooo/branches/buildsys/main/solenv/gbuild/Zip.mk ------------------------------------------------------------------------------ svn:executable = * Added: incubator/ooo/branches/buildsys/main/solenv/gbuild/gbuild_simple.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/solenv/gbuild/gbuild_simple.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/solenv/gbuild/gbuild_simple.mk (added) +++ incubator/ooo/branches/buildsys/main/solenv/gbuild/gbuild_simple.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,58 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +# this is a subset of gbuild functionality, for use in custom makefiles + +include $(GBUILDDIR)/Output.mk + +# BuildDirs uses the Output functions already +include $(GBUILDDIR)/BuildDirs.mk + +include $(GBUILDDIR)/Helper.mk + +ifeq ($(OS),LINUX) +include $(GBUILDDIR)/platform/linux.mk +else +ifeq ($(OS),WNT) +ifneq ($(USE_MINGW),) +include $(GBUILDDIR)/platform/winmingw.mk +else +include $(GBUILDDIR)/platform/windows.mk +endif +else +ifeq ($(OS),SOLARIS) +include $(GBUILDDIR)/platform/solaris.mk +else +ifeq ($(OS),MACOSX) +include $(GBUILDDIR)/platform/macosx.mk +else +$(eval $(call gb_Output_error,Unsupported OS: $(OS))) +endif +endif +endif +endif + Added: incubator/ooo/branches/buildsys/main/source_soenv.sh URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/source_soenv.sh?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/source_soenv.sh (added) +++ incubator/ooo/branches/buildsys/main/source_soenv.sh Wed Oct 10 21:12:40 2012 @@ -0,0 +1,124 @@ +#!/bin/sh +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2009 by Sun Microsystems, Inc. +# +# 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +# if no environment is set, try to find one, and source it +# user can override auto-detection via SOLAR_SHELL_ENVIRONMENT +# it is not currently possible to handle corner cases like you have an +# AMD64 linux box, create configure environments for both x86 and x86_64, +# and then expect to auto-detect both. +# use SOLAR_SHELL_ENVIRONMENT in such cases. + +me=source_soenv.sh + +if test -n "${SOLARENV}"; then + echo "$me: error: only call this if you do not have an environment set!" + exit 1 +fi + +if test -n "${SOLAR_SHELL_ENVIRONMENT}"; then + if test -f "${SOLAR_SHELL_ENVIRONMENT}"; then + . "${SOLAR_SHELL_ENVIRONMENT}" + else + echo "$me: error: \$SOLAR_SHELL_ENVIRONMENT set, but the file does not exist" + exit 1 + fi +else + config_guess_result=`./config.guess` + case "${config_guess_result}" in + i[3456]86-*-solaris*) + . ./SolarisX86Env.Set.sh + ;; + sparc-*-solaris*) + . ./SolarisSparcEnv.Set.sh + ;; + i[3456]86-*-linux*) + . ./LinuxX86Env.Set.sh + ;; + x86_64-*-linux*) + . ./LinuxX86-64Env.Set.sh + ;; + ia64-*-linux*) + . ./LinuxIA64Env.Set.sh + ;; + sparc-*-linux*) + . ./LinuxSparcEnv.Set.sh + ;; + powerpc-*-linux*) + . ./LinuxPPCEnv.Set.sh + ;; + powerpc64-*-linux*) + . ./LinuxPPC64Env.Set.sh + ;; + s390-*-linux*) + . ./LinuxS390Env.Set.sh + ;; + s390x-*-linux*) + . ./LinuxS390XEnv.Set.sh + ;; + m68k-*-linux*) + . ./LinuxM68KEnv.Set.sh + ;; + hppa-*-linux*) + . ./LinuxHPPAEnv.Set.sh + ;; + alpha-*-linux*) + . ./LinuxAlphaEnv.Set.sh + ;; + arm*-*-linux*) + . ./LinuxARMEnv.Set.sh + ;; + mips-*-linux*) + . ./LinuxMIPSEnv.Set.sh + ;; + i386-*-freebsd*) + . ./FreeBSDX86Env.Set.sh + ;; + amd64-*-freebsd*) + . ./FreeBSDAMDEnv.Set.sh + ;; + # the result here (whether you get x86_64) seems to depend on $CC... + i[3456]86-*-darwin*|x86_64-*-darwin*) + . ./MacOSXX86Env.Set.sh + ;; + powerpc-*-darwin*) + . ./MacOSXPPCEnv.Set.sh + ;; + *-cygwin*) + . ./winenv.set.sh || . ./winmingw.set.sh + ;; + *) + echo "$me: error: unknown *Env.Set.sh for: ${config_guess_result}" + exit 1 + ;; + esac +fi +if test -z "${SOLARENV}"; then + echo "$me: error: No environment set!" + exit 1 +fi + Added: incubator/ooo/branches/buildsys/main/starmath/AllLangResTarget_sm.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/starmath/AllLangResTarget_sm.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/starmath/AllLangResTarget_sm.mk (added) +++ incubator/ooo/branches/buildsys/main/starmath/AllLangResTarget_sm.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,48 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_AllLangResTarget_AllLangResTarget,sm)) + +$(eval $(call gb_AllLangResTarget_add_srs,sm,\ + sm/res \ +)) + +$(eval $(call gb_AllLangResTarget_set_reslocation,sm,starmath)) + +$(eval $(call gb_SrsTarget_SrsTarget,sm/res)) + +$(eval $(call gb_SrsTarget_set_include,sm/res,\ + $$(INCLUDE) \ + -I$(SRCDIR)/starmath/inc \ +)) + +$(eval $(call gb_SrsTarget_add_files,sm/res,\ + starmath/source/commands.src \ + starmath/source/smres.src \ + starmath/source/symbol.src \ + starmath/source/toolbox.src \ +)) Added: incubator/ooo/branches/buildsys/main/starmath/JunitTest_sm_unoapi.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/starmath/JunitTest_sm_unoapi.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/starmath/JunitTest_sm_unoapi.mk (added) +++ incubator/ooo/branches/buildsys/main/starmath/JunitTest_sm_unoapi.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,52 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_JunitTest_JunitTest,sm_unoapi,SRCDIR)) + +$(eval $(call gb_JunitTest_set_defs,sm_unoapi,\ + $$(DEFS) \ + -Dorg.openoffice.test.arg.sce=$(SRCDIR)/starmath/qa/unoapi/sm.sce \ + -Dorg.openoffice.test.arg.xcl=$(SRCDIR)/starmath/qa/unoapi/knownissues.xcl \ +)) + +$(eval $(call gb_JunitTest_add_jars,sm_unoapi,\ + $(OUTDIR)/bin/OOoRunner.jar \ + $(OUTDIR)/bin/ridl.jar \ + $(OUTDIR)/bin/test.jar \ + $(OUTDIR)/bin/unoil.jar \ + $(OUTDIR)/bin/jurt.jar \ +)) + +$(eval $(call gb_JunitTest_add_sourcefiles,sm_unoapi,\ + starmath/qa/unoapi/Test \ +)) + +$(eval $(call gb_JunitTest_add_classes,sm_unoapi,\ + org.openoffice.starmath.qa.unoapi.Test \ +)) + +# vim: set noet sw=4 ts=4: Added: incubator/ooo/branches/buildsys/main/starmath/Library_sm.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/starmath/Library_sm.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/starmath/Library_sm.mk (added) +++ incubator/ooo/branches/buildsys/main/starmath/Library_sm.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,108 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_Library_Library,sm)) + +$(eval $(call gb_Library_add_sdi_headers,sm,starmath/sdi/smslots)) + +$(eval $(call gb_Library_add_precompiled_header,sm,$(SRCDIR)/starmath/inc/pch/precompiled_starmath)) + +$(eval $(call gb_Library_set_componentfile,sm,starmath/util/sm)) + +$(eval $(call gb_Library_add_api,sm,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,sm,\ + -I$(SRCDIR)/starmath/inc/pch \ + -I$(SRCDIR)/starmath/inc \ + -I$(WORKDIR)/SdiTarget/starmath/sdi \ + $$(INCLUDE) \ + -I$(OUTDIR)/inc \ +)) + +$(eval $(call gb_Library_add_linked_libs,sm,\ + comphelper \ + cppu \ + cppuhelper \ + editeng \ + i18npaper \ + sal \ + sfx \ + sot \ + stl \ + svl \ + svt \ + svx \ + svxcore \ + tk \ + tl \ + utl \ + vcl \ + xo \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,sm,\ + starmath/source/accessibility \ + starmath/source/action \ + starmath/source/cfgitem \ + starmath/source/config \ + starmath/source/dialog \ + starmath/source/document \ + starmath/source/edit \ + starmath/source/eqnolefilehdr \ + starmath/source/format \ + starmath/source/mathmlexport \ + starmath/source/mathmlimport \ + starmath/source/mathtype \ + starmath/source/node \ + starmath/source/parse \ + starmath/source/rect \ + starmath/source/register \ + starmath/source/smdll \ + starmath/source/smmod \ + starmath/source/symbol \ + starmath/source/toolbox \ + starmath/source/typemap \ + starmath/source/types \ + starmath/source/unodoc \ + starmath/source/unomodel \ + starmath/source/utility \ + starmath/source/view \ +)) + +$(eval $(call gb_SdiTarget_SdiTarget,starmath/sdi/smslots,starmath/sdi/smath)) + +$(eval $(call gb_SdiTarget_set_include,starmath/sdi/smslots,\ + -I$(SRCDIR)/starmath/inc \ + -I$(SRCDIR)/starmath/sdi \ + $$(INCLUDE) \ +)) + +# vim: set noet sw=4 ts=4: Added: incubator/ooo/branches/buildsys/main/starmath/Library_smd.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/starmath/Library_smd.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/starmath/Library_smd.mk (added) +++ incubator/ooo/branches/buildsys/main/starmath/Library_smd.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,65 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_Library_Library,smd)) + +$(eval $(call gb_Library_add_precompiled_header,sm,$(SRCDIR)/starmath/inc/pch/precompiled_starmath)) + +$(eval $(call gb_Library_set_componentfile,smd,starmath/util/smd)) + +$(eval $(call gb_Library_add_api,smd,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,smd,\ + $$(INCLUDE) \ + -I$(SRCDIR)/starmath/inc \ + -I$(SRCDIR)/starmath/inc/pch \ +)) + +$(eval $(call gb_Library_add_linked_libs,smd,\ + cppu \ + cppuhelper \ + sal \ + sfx \ + sm \ + sot \ + svl \ + svt \ + tl \ + ucbhelper \ + vcl \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,smd,\ + starmath/source/detreg \ + starmath/source/smdetect \ +)) + +# vim: set noet sw=4 ts=4: Added: incubator/ooo/branches/buildsys/main/starmath/Makefile URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/starmath/Makefile?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/starmath/Makefile (added) +++ incubator/ooo/branches/buildsys/main/starmath/Makefile Wed Oct 10 21:12:40 2012 @@ -0,0 +1,38 @@ +#************************************************************************* +# +# 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +ifeq ($(strip $(SOLARENV)),) +$(error No environment set!) +endif + +gb_PARTIALBUILD := T +GBUILDDIR := $(SOLARENV)/gbuild +include $(GBUILDDIR)/gbuild.mk + +$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk))) + +# vim: set noet sw=4 ts=4: Added: incubator/ooo/branches/buildsys/main/starmath/Module_starmath.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/starmath/Module_starmath.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/starmath/Module_starmath.mk (added) +++ incubator/ooo/branches/buildsys/main/starmath/Module_starmath.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,41 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_Module_Module,starmath)) + +$(eval $(call gb_Module_add_targets,starmath,\ + AllLangResTarget_sm \ + Library_sm \ + Library_smd \ + Package_uiconfig \ +)) + +$(eval $(call gb_Module_add_subsequentcheck_targets,starmath,\ + JunitTest_sm_unoapi \ +)) + +# vim: set noet ts=4 sw=4: Added: incubator/ooo/branches/buildsys/main/starmath/Package_uiconfig.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/starmath/Package_uiconfig.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/starmath/Package_uiconfig.mk (added) +++ incubator/ooo/branches/buildsys/main/starmath/Package_uiconfig.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,33 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_Package_Package,sm_uiconfig,$(SRCDIR)/starmath/uiconfig)) +$(eval $(call gb_Package_add_file,sm_uiconfig,xml/uiconfig/modules/smath/menubar/menubar.xml,smath/menubar/menubar.xml)) +$(eval $(call gb_Package_add_file,sm_uiconfig,xml/uiconfig/modules/smath/statusbar/statusbar.xml,smath/statusbar/statusbar.xml)) +$(eval $(call gb_Package_add_file,sm_uiconfig,xml/uiconfig/modules/smath/toolbar/fullscreenbar.xml,smath/toolbar/fullscreenbar.xml)) +$(eval $(call gb_Package_add_file,sm_uiconfig,xml/uiconfig/modules/smath/toolbar/standardbar.xml,smath/toolbar/standardbar.xml)) +$(eval $(call gb_Package_add_file,sm_uiconfig,xml/uiconfig/modules/smath/toolbar/toolbar.xml,smath/toolbar/toolbar.xml)) Added: incubator/ooo/branches/buildsys/main/starmath/prj/makefile.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/starmath/prj/makefile.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/starmath/prj/makefile.mk (added) +++ incubator/ooo/branches/buildsys/main/starmath/prj/makefile.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,40 @@ +#************************************************************************* +# +# 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=.. +TARGET=prj + +.INCLUDE : settings.mk + +.IF "$(VERBOSE)"!="" +VERBOSEFLAG := +.ELSE +VERBOSEFLAG := -s +.ENDIF + +all: + cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog Added: incubator/ooo/branches/buildsys/main/sw/inc/swddllapi.h URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/sw/inc/swddllapi.h?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/sw/inc/swddllapi.h (added) +++ incubator/ooo/branches/buildsys/main/sw/inc/swddllapi.h Wed Oct 10 21:12:40 2012 @@ -0,0 +1,13 @@ +#ifndef INCLUDED_SWDDLLAPI_H +#define INCLUDED_SWDDLLAPI_H + +#include "sal/types.h" + +#if defined(SWD_DLLIMPLEMENTATION) +#define SWD_DLLPUBLIC SAL_DLLPUBLIC_EXPORT +#else +#define SWD_DLLPUBLIC SAL_DLLPUBLIC_IMPORT +#endif +#define SWD_DLLPRIVATE SAL_DLLPRIVATE + +#endif /* INCLUDED_SWDDLLAPI_H */ Added: incubator/ooo/branches/buildsys/main/ucbhelper/Library_ucbhelper.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/ucbhelper/Library_ucbhelper.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/ucbhelper/Library_ucbhelper.mk (added) +++ incubator/ooo/branches/buildsys/main/ucbhelper/Library_ucbhelper.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,87 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_Library_Library,ucbhelper)) + +$(eval $(call gb_Library_add_package_headers,ucbhelper,ucbhelper_inc)) + +$(eval $(call gb_Library_add_precompiled_header,ucbhelper,$(SRCDIR)/ucbhelper/inc/pch/precompiled_ucbhelper)) + +$(eval $(call gb_Library_add_api,ucbhelper,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Library_set_include,ucbhelper,\ + $$(INCLUDE) \ + -I$(SRCDIR)/ucbhelper/inc \ + -I$(SRCDIR)/ucbhelper/inc/pch \ +)) + +$(eval $(call gb_Library_add_defs,ucbhelper,\ + -DUCBHELPER_DLLIMPLEMENTATION \ +)) + +$(eval $(call gb_Library_add_linked_libs,ucbhelper,\ + stl \ + sal \ + cppu \ + cppuhelper \ + salhelper \ + $(gb_STDLIBS) \ +)) + +$(eval $(call gb_Library_add_exception_objects,ucbhelper,\ + ucbhelper/source/provider/simpleauthenticationrequest \ + ucbhelper/source/provider/simpleioerrorrequest \ + ucbhelper/source/provider/cancelcommandexecution \ + ucbhelper/source/provider/contenthelper \ + ucbhelper/source/provider/propertyvalueset \ + ucbhelper/source/provider/resultset \ + ucbhelper/source/provider/resultsetmetadata \ + ucbhelper/source/provider/simplecertificatevalidationrequest \ + ucbhelper/source/provider/contentidentifier \ + ucbhelper/source/provider/resultsethelper \ + ucbhelper/source/provider/simplenameclashresolverequest \ + ucbhelper/source/provider/simpleinteractionrequest \ + ucbhelper/source/provider/handleinteractionrequest \ + ucbhelper/source/provider/registerucb \ + ucbhelper/source/provider/contentinfo \ + ucbhelper/source/provider/interactionrequest \ + ucbhelper/source/provider/commandenvironmentproxy \ + ucbhelper/source/provider/providerhelper \ + ucbhelper/source/client/proxydecider \ + ucbhelper/source/client/content \ + ucbhelper/source/client/contentbroker \ + ucbhelper/source/client/commandenvironment \ + ucbhelper/source/client/activedatastreamer \ + ucbhelper/source/client/fileidentifierconverter \ + ucbhelper/source/client/interceptedinteraction \ + ucbhelper/source/client/activedatasink \ +)) + +# vim: set noet sw=4 ts=4: Added: incubator/ooo/branches/buildsys/main/ucbhelper/Makefile URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/ucbhelper/Makefile?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/ucbhelper/Makefile (added) +++ incubator/ooo/branches/buildsys/main/ucbhelper/Makefile Wed Oct 10 21:12:40 2012 @@ -0,0 +1,38 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +ifeq ($(strip $(SOLARENV)),) +$(error No environment set!) +endif + +gb_PARTIALBUILD := T +GBUILDDIR := $(SOLARENV)/gbuild +include $(GBUILDDIR)/gbuild.mk + +$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk))) + +# vim: set noet sw=4 ts=4: Added: incubator/ooo/branches/buildsys/main/ucbhelper/Module_ucbhelper.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/ucbhelper/Module_ucbhelper.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/ucbhelper/Module_ucbhelper.mk (added) +++ incubator/ooo/branches/buildsys/main/ucbhelper/Module_ucbhelper.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,38 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +# replace ucbhelper by the name of the module you are creating + +$(eval $(call gb_Module_Module,ucbhelper)) + +# the targets to be inserted are their file names without .mk extension +$(eval $(call gb_Module_add_targets,ucbhelper,\ + Library_ucbhelper \ + Package_inc \ +)) + +# vim: set noet sw=4 ts=4: Added: incubator/ooo/branches/buildsys/main/ucbhelper/Package_inc.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/ucbhelper/Package_inc.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/ucbhelper/Package_inc.mk (added) +++ incubator/ooo/branches/buildsys/main/ucbhelper/Package_inc.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,59 @@ +#************************************************************************* +# +# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +# +# Copyright 2000, 2011 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_Package_Package,ucbhelper_inc,$(SRCDIR)/ucbhelper/inc)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/contentbroker.hxx,ucbhelper/contentbroker.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/simpleauthenticationrequest.hxx,ucbhelper/simpleauthenticationrequest.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/propertyvalueset.hxx,ucbhelper/propertyvalueset.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/contentinfo.hxx,ucbhelper/contentinfo.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/resultsetmetadata.hxx,ucbhelper/resultsetmetadata.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/contenthelper.hxx,ucbhelper/contenthelper.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/activedatasink.hxx,ucbhelper/activedatasink.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/commandenvironment.hxx,ucbhelper/commandenvironment.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/interceptedinteraction.hxx,ucbhelper/interceptedinteraction.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/resultset.hxx,ucbhelper/resultset.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/ucbhelperdllapi.h,ucbhelper/ucbhelperdllapi.h)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/simpleinteractionrequest.hxx,ucbhelper/simpleinteractionrequest.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/simpleioerrorrequest.hxx,ucbhelper/simpleioerrorrequest.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/interactionrequest.hxx,ucbhelper/interactionrequest.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/activedatastreamer.hxx,ucbhelper/activedatastreamer.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/content.hxx,ucbhelper/content.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/simplecertificatevalidationrequest.hxx,ucbhelper/simplecertificatevalidationrequest.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/proxydecider.hxx,ucbhelper/proxydecider.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/fileidentifierconverter.hxx,ucbhelper/fileidentifierconverter.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/cancelcommandexecution.hxx,ucbhelper/cancelcommandexecution.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/commandenvironmentproxy.hxx,ucbhelper/commandenvironmentproxy.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/registerucb.hxx,ucbhelper/registerucb.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/resultsethelper.hxx,ucbhelper/resultsethelper.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/configurationkeys.hxx,ucbhelper/configurationkeys.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/contentidentifier.hxx,ucbhelper/contentidentifier.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/handleinteractionrequest.hxx,ucbhelper/handleinteractionrequest.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/providerhelper.hxx,ucbhelper/providerhelper.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/simplenameclashresolverequest.hxx,ucbhelper/simplenameclashresolverequest.hxx)) +$(eval $(call gb_Package_add_file,ucbhelper_inc,inc/ucbhelper/macros.hxx,ucbhelper/macros.hxx)) + +# vim: set noet sw=4 ts=4: Added: incubator/ooo/branches/buildsys/main/ucbhelper/prj/makefile.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/ucbhelper/prj/makefile.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/ucbhelper/prj/makefile.mk (added) +++ incubator/ooo/branches/buildsys/main/ucbhelper/prj/makefile.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,40 @@ +#************************************************************************* +# +# 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +PRJ=.. +TARGET=prj + +.INCLUDE : settings.mk + +.IF "$(VERBOSE)"!="" +VERBOSEFLAG := +.ELSE +VERBOSEFLAG := -s +.ENDIF + +all: + cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog Added: incubator/ooo/branches/buildsys/main/udkapi/Makefile URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/udkapi/Makefile?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/udkapi/Makefile (added) +++ incubator/ooo/branches/buildsys/main/udkapi/Makefile Wed Oct 10 21:12:40 2012 @@ -0,0 +1,38 @@ +#************************************************************************* +# +# 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +ifeq ($(strip $(SOLARENV)),) +$(error No environment set!) +endif + +gb_PARTIALBUILD := T +GBUILDDIR := $(SOLARENV)/gbuild +include $(GBUILDDIR)/gbuild.mk + +$(eval $(call gb_Module_make_global_targets,$(shell ls $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/Module*.mk))) + +# vim: set noet sw=4 ts=4: Added: incubator/ooo/branches/buildsys/main/udkapi/Module_udkapi.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/udkapi/Module_udkapi.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/udkapi/Module_udkapi.mk (added) +++ incubator/ooo/branches/buildsys/main/udkapi/Module_udkapi.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,38 @@ +#************************************************************************* +# +# 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + + +$(eval $(call gb_Module_Module,udkapi)) + +$(eval $(call gb_Module_add_targets,udkapi,\ + UnoApi_udkapi \ + UnoApi_uretypes \ + Package_udkapi_inc \ + Package_udkapi_idl \ +)) + +# vim: set noet sw=4 ts=4: Added: incubator/ooo/branches/buildsys/main/udkapi/Package_udkapi_idl.mk URL: http://svn.apache.org/viewvc/incubator/ooo/branches/buildsys/main/udkapi/Package_udkapi_idl.mk?rev=1396797&view=auto ============================================================================== --- incubator/ooo/branches/buildsys/main/udkapi/Package_udkapi_idl.mk (added) +++ incubator/ooo/branches/buildsys/main/udkapi/Package_udkapi_idl.mk Wed Oct 10 21:12:40 2012 @@ -0,0 +1,29 @@ +#************************************************************************* +# +# 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 +# +# for a copy of the LGPLv3 License. +# +#************************************************************************* + +$(eval $(call gb_UnoApiTarget_autopackage_idl,udkapi)) +