You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2012/11/14 23:08:20 UTC

svn commit: r1409470 [12/13] - in /incubator/ooo/branches/gbuild/main: offapi/ offapi/com/sun/star/animations/ offapi/com/sun/star/chart2/data/ offapi/com/sun/star/drawing/ offapi/com/sun/star/drawing/framework/ offapi/com/sun/star/frame/ offapi/com/su...

Added: incubator/ooo/branches/gbuild/main/oox/source/token/Makefile
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/oox/source/token/Makefile?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/oox/source/token/Makefile (added)
+++ incubator/ooo/branches/gbuild/main/oox/source/token/Makefile Wed Nov 14 22:07:57 2012
@@ -0,0 +1,126 @@
+#*************************************************************************
+#
+# 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
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+# generate source and header files from text files ----------------------------
+
+SRCDIR_TOKEN := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))
+WORKDIR_TOKEN := .
+
+include $(GBUILDDIR)/Output.mk
+include $(GBUILDDIR)/BuildDirs.mk
+include $(GBUILDDIR)/Helper.mk
+
+# XML namespace identifiers and names
+
+$(WORKDIR_TOKEN)/namespaces.hxx : $(SRCDIR_TOKEN)/namespaces.hxx.head $(WORKDIR_TOKEN)/namespaceids.inc $(SRCDIR_TOKEN)/namespaces.hxx.tail
+	$(call gb_Output_announce,$@,build,CAT,1)
+	$(call gb_Helper_abbreviate_dirs,cat $^ > $@)
+
+$(WORKDIR_TOKEN)/namespaceids.inc : $(SRCDIR_TOKEN)/namespaces.txt $(SRCDIR_TOKEN)/namespaces.pl
+	$(call gb_Output_announce,$@,build,PRL,1)
+	$(call gb_Helper_abbreviate_dirs, \
+		mkdir -p $(dir $@) && $(PERL) $(SRCDIR_TOKEN)/namespaces.pl 1 < $< > $@ \
+	)
+
+$(WORKDIR_TOKEN)/namespacenames.inc : $(SRCDIR_TOKEN)/namespaces.txt $(SRCDIR_TOKEN)/namespaces.pl
+	$(call gb_Output_announce,$@,build,PRL,1)
+	$(call gb_Helper_abbreviate_dirs, \
+		mkdir -p $(dir $@) && $(PERL) $(SRCDIR_TOKEN)/namespaces.pl 2 < $< > $@ \
+	)
+
+$(WORKDIR_TOKEN)/namespaces.txt : $(SRCDIR_TOKEN)/namespaces.txt $(SRCDIR_TOKEN)/namespaces.pl
+	$(call gb_Output_announce,$@,build,PRL,1)
+	$(call gb_Helper_abbreviate_dirs, \
+		mkdir -p $(dir $@) && $(PERL) $(SRCDIR_TOKEN)/namespaces.pl 3 < $< > $@ \
+	)
+
+# XML token identifiers and names
+
+$(WORKDIR_TOKEN)/tokens.hxx : $(SRCDIR_TOKEN)/tokens.hxx.head $(WORKDIR_TOKEN)/tokenids.inc $(SRCDIR_TOKEN)/tokens.hxx.tail
+	$(call gb_Output_announce,$@,build,CAT,1)
+	$(call gb_Helper_abbreviate_dirs,cat $^ > $@)
+
+$(WORKDIR_TOKEN)/tokenids.inc : $(SRCDIR_TOKEN)/tokens.txt $(SRCDIR_TOKEN)/tokens.pl
+	$(call gb_Output_announce,$@,build,PRL,1)
+	$(call gb_Helper_abbreviate_dirs, \
+		mkdir -p $(dir $@) && $(PERL) $(SRCDIR_TOKEN)/tokens.pl 1 < $< > $@ \
+	)
+
+$(WORKDIR_TOKEN)/tokennames.inc : $(SRCDIR_TOKEN)/tokens.txt $(SRCDIR_TOKEN)/tokens.pl
+	$(call gb_Output_announce,$@,build,PRL,1)
+	$(call gb_Helper_abbreviate_dirs, \
+		mkdir -p $(dir $@) && $(PERL) $(SRCDIR_TOKEN)/tokens.pl 2 < $< > $@ \
+	)
+
+$(WORKDIR_TOKEN)/tokenhash.inc : $(WORKDIR_TOKEN)/tokenhash.gperf
+	$(call gb_Output_announce,$@,build,GPF,3)
+	$(call gb_Helper_abbreviate_dirs, \
+		gperf $< | $(gb_AWK) -- '{ if ($$0 !~ /^#line/){ gsub("\\(char\\*\\)0", "0", $$0); print; } }' > $@ \
+	)
+
+$(WORKDIR_TOKEN)/tokenhash.gperf : $(SRCDIR_TOKEN)/tokens.txt $(SRCDIR_TOKEN)/tokens.pl
+	$(call gb_Output_announce,$@,build,PRL,1)
+	$(call gb_Helper_abbreviate_dirs, \
+		mkdir -p $(dir $@) && $(PERL) $(SRCDIR_TOKEN)/tokens.pl 3 < $< > $@ \
+	)
+
+# UNO property identifiers and names
+
+$(WORKDIR_TOKEN)/properties.hxx : $(SRCDIR_TOKEN)/properties.hxx.head $(WORKDIR_TOKEN)/propertyids.inc $(SRCDIR_TOKEN)/properties.hxx.tail
+	$(call gb_Output_announce,$@,build,CAT,1)
+	$(call gb_Helper_abbreviate_dirs,cat $^ > $@)
+
+$(WORKDIR_TOKEN)/propertyids.inc : $(SRCDIR_TOKEN)/properties.txt $(SRCDIR_TOKEN)/properties.pl
+	$(call gb_Output_announce,$@,build,PRL,1)
+	$(call gb_Helper_abbreviate_dirs, \
+		mkdir -p $(dir $@) && $(PERL) $(SRCDIR_TOKEN)/properties.pl 1 < $< > $@ \
+	)
+
+$(WORKDIR_TOKEN)/propertynames.inc : $(SRCDIR_TOKEN)/properties.txt $(SRCDIR_TOKEN)/properties.pl
+	$(call gb_Output_announce,$@,build,PRL,1)
+	$(call gb_Helper_abbreviate_dirs, \
+		mkdir -p $(dir $@) && $(PERL) $(SRCDIR_TOKEN)/properties.pl 2 < $< > $@ \
+	)
+
+.DEFAULT_GOAL:=all
+.PHONY: all
+all : \
+		namespaces.hxx \
+		namespaceids.inc \
+		namespacenames.inc \
+		namespaces.txt \
+		tokens.hxx \
+		tokenids.inc \
+		tokennames.inc \
+		tokenhash.inc \
+		tokenhash.gperf \
+		properties.hxx \
+		propertyids.inc \
+		propertynames.inc \
+
+
+# vim: set noet sw=4 ts=4:

Added: incubator/ooo/branches/gbuild/main/solenv/gbuild/UnoApiTarget.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/solenv/gbuild/UnoApiTarget.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/solenv/gbuild/UnoApiTarget.mk (added)
+++ incubator/ooo/branches/gbuild/main/solenv/gbuild/UnoApiTarget.mk Wed Nov 14 22:07:57 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
+# <http://www.openoffice.org/license.html>
+# 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/gbuild/main/solenv/gbuild/gbuild_simple.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/solenv/gbuild/gbuild_simple.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/solenv/gbuild/gbuild_simple.mk (added)
+++ incubator/ooo/branches/gbuild/main/solenv/gbuild/gbuild_simple.mk Wed Nov 14 22:07:57 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
+# <http://www.openoffice.org/license.html>
+# 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/gbuild/main/udkapi/Makefile
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/udkapi/Makefile?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/udkapi/Makefile (added)
+++ incubator/ooo/branches/gbuild/main/udkapi/Makefile Wed Nov 14 22:07:57 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
+# <http://www.openoffice.org/license.html>
+# 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/gbuild/main/udkapi/Module_udkapi.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/udkapi/Module_udkapi.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/udkapi/Module_udkapi.mk (added)
+++ incubator/ooo/branches/gbuild/main/udkapi/Module_udkapi.mk Wed Nov 14 22:07:57 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
+# <http://www.openoffice.org/license.html>
+# 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/gbuild/main/udkapi/Package_udkapi_idl.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/udkapi/Package_udkapi_idl.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/udkapi/Package_udkapi_idl.mk (added)
+++ incubator/ooo/branches/gbuild/main/udkapi/Package_udkapi_idl.mk Wed Nov 14 22:07:57 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
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_UnoApiTarget_autopackage_idl,udkapi))
+

Added: incubator/ooo/branches/gbuild/main/udkapi/Package_udkapi_inc.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/udkapi/Package_udkapi_inc.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/udkapi/Package_udkapi_inc.mk (added)
+++ incubator/ooo/branches/gbuild/main/udkapi/Package_udkapi_inc.mk Wed Nov 14 22:07:57 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
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_UnoApiTarget_autopackage_inc,udkapi))
+

Added: incubator/ooo/branches/gbuild/main/udkapi/UnoApi_udkapi.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/udkapi/UnoApi_udkapi.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/udkapi/UnoApi_udkapi.mk (added)
+++ incubator/ooo/branches/gbuild/main/udkapi/UnoApi_udkapi.mk Wed Nov 14 22:07:57 2012
@@ -0,0 +1,466 @@
+#*************************************************************************
+#
+# 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.
+#
+#*************************************************************************
+
+$(eval $(call gb_UnoApiTarget_UnoApiTarget,udkapi))
+
+$(eval $(call gb_UnoApiTarget_set_include,udkapi,\
+	$$(INCLUDE) \
+	-I$(SRCDIR)/udkapi \
+	-I$(OUTDIR)/idl \
+))
+
+$(eval $(call gb_UnoApiTarget_add_idlfiles_noheader,udkapi,\
+	udkapi/com/sun/star/beans/Introspection \
+	udkapi/com/sun/star/beans/PropertyBag \
+	udkapi/com/sun/star/beans/PropertySet \
+	udkapi/com/sun/star/bridge/Bridge \
+	udkapi/com/sun/star/bridge/BridgeFactory \
+	udkapi/com/sun/star/bridge/IiopBridge \
+	udkapi/com/sun/star/bridge/OleApplicationRegistration \
+	udkapi/com/sun/star/bridge/OleBridgeSupplier \
+	udkapi/com/sun/star/bridge/OleBridgeSupplier2 \
+	udkapi/com/sun/star/bridge/OleBridgeSupplierVar1 \
+	udkapi/com/sun/star/bridge/OleObjectFactory \
+	udkapi/com/sun/star/bridge/UrpBridge \
+	udkapi/com/sun/star/bridge/oleautomation/ApplicationRegistration \
+	udkapi/com/sun/star/bridge/oleautomation/BridgeSupplier \
+	udkapi/com/sun/star/bridge/oleautomation/Factory \
+	udkapi/com/sun/star/corba/corba \
+	udkapi/com/sun/star/corba/giop/giop \
+	udkapi/com/sun/star/corba/iiop/iiop \
+	udkapi/com/sun/star/corba/iop/iop \
+	udkapi/com/sun/star/io/DataInputStream \
+	udkapi/com/sun/star/io/DataOutputStream \
+	udkapi/com/sun/star/io/MarkableInputStream \
+	udkapi/com/sun/star/io/MarkableOutputStream \
+	udkapi/com/sun/star/io/ObjectInputStream \
+	udkapi/com/sun/star/io/ObjectOutputStream \
+	udkapi/com/sun/star/io/Pipe \
+	udkapi/com/sun/star/io/Pump \
+	udkapi/com/sun/star/io/TextInputStream \
+	udkapi/com/sun/star/io/TextOutputStream \
+	udkapi/com/sun/star/java/JavaVirtualMachine \
+	udkapi/com/sun/star/lang/MultiServiceFactory \
+	udkapi/com/sun/star/lang/RegistryServiceManager \
+	udkapi/com/sun/star/lang/ServiceManager \
+	udkapi/com/sun/star/loader/Dynamic \
+	udkapi/com/sun/star/loader/Java \
+	udkapi/com/sun/star/loader/Java2 \
+	udkapi/com/sun/star/loader/SharedLibrary \
+	udkapi/com/sun/star/reflection/CoreReflection \
+	udkapi/com/sun/star/reflection/ProxyFactory \
+	udkapi/com/sun/star/reflection/TypeDescriptionManager \
+	udkapi/com/sun/star/reflection/TypeDescriptionProvider \
+	udkapi/com/sun/star/registry/DefaultRegistry \
+	udkapi/com/sun/star/registry/ImplementationRegistration \
+	udkapi/com/sun/star/registry/NestedRegistry \
+	udkapi/com/sun/star/registry/SimpleRegistry \
+	udkapi/com/sun/star/script/AllListenerAdapter \
+	udkapi/com/sun/star/script/Converter \
+	udkapi/com/sun/star/script/Engine \
+	udkapi/com/sun/star/script/Invocation \
+	udkapi/com/sun/star/script/InvocationAdapterFactory \
+	udkapi/com/sun/star/script/JavaScript \
+	udkapi/com/sun/star/security/AccessController \
+	udkapi/com/sun/star/security/Policy \
+	udkapi/com/sun/star/test/TestFactory \
+	udkapi/com/sun/star/udk-modules \
+	udkapi/com/sun/star/uno/NamingService \
+	udkapi/com/sun/star/util/BootstrapMacroExpander \
+	udkapi/com/sun/star/util/MacroExpander \
+	udkapi/com/sun/star/util/logging/Logger \
+	udkapi/com/sun/star/util/logging/LoggerRemote \
+	udkapi/com/sun/star/util/theMacroExpander \
+))
+
+$(eval $(call gb_UnoApiTarget_add_idlfiles_nohdl,udkapi,\
+	udkapi/com/sun/star/bridge/UnoUrlResolver \
+	udkapi/com/sun/star/connection/Acceptor \
+	udkapi/com/sun/star/connection/Connector \
+	udkapi/com/sun/star/container/EnumerableMap \
+	udkapi/com/sun/star/io/SequenceInputStream \
+	udkapi/com/sun/star/io/SequenceOutputStream \
+	udkapi/com/sun/star/io/TempFile \
+	udkapi/com/sun/star/uri/ExternalUriReferenceTranslator \
+	udkapi/com/sun/star/uri/UriReferenceFactory \
+	udkapi/com/sun/star/uri/UriSchemeParser_vndDOTsunDOTstarDOTexpand \
+	udkapi/com/sun/star/uri/UriSchemeParser_vndDOTsunDOTstarDOTscript \
+	udkapi/com/sun/star/uri/VndSunStarPkgUrlReferenceFactory \
+))
+
+$(eval $(call gb_UnoApiTarget_add_idlfiles,udkapi,\
+	udkapi/com/sun/star/beans/Ambiguous \
+	udkapi/com/sun/star/beans/Defaulted \
+	udkapi/com/sun/star/beans/GetDirectPropertyTolerantResult \
+	udkapi/com/sun/star/beans/GetPropertyTolerantResult \
+	udkapi/com/sun/star/beans/IllegalTypeException \
+	udkapi/com/sun/star/beans/IntrospectionException \
+	udkapi/com/sun/star/beans/MethodConcept \
+	udkapi/com/sun/star/beans/NamedValue \
+	udkapi/com/sun/star/beans/NotRemoveableException \
+	udkapi/com/sun/star/beans/Optional \
+	udkapi/com/sun/star/beans/Pair \
+	udkapi/com/sun/star/beans/Property \
+	udkapi/com/sun/star/beans/PropertyAttribute \
+	udkapi/com/sun/star/beans/PropertyChangeEvent \
+	udkapi/com/sun/star/beans/PropertyConcept \
+	udkapi/com/sun/star/beans/PropertyExistException \
+	udkapi/com/sun/star/beans/PropertySetInfoChange \
+	udkapi/com/sun/star/beans/PropertySetInfoChangeEvent \
+	udkapi/com/sun/star/beans/PropertyState \
+	udkapi/com/sun/star/beans/PropertyStateChangeEvent \
+	udkapi/com/sun/star/beans/PropertyValue \
+	udkapi/com/sun/star/beans/PropertyValues \
+	udkapi/com/sun/star/beans/PropertyVetoException \
+	udkapi/com/sun/star/beans/SetPropertyTolerantFailed \
+	udkapi/com/sun/star/beans/StringPair \
+	udkapi/com/sun/star/beans/TolerantPropertySetResultType \
+	udkapi/com/sun/star/beans/UnknownPropertyException \
+	udkapi/com/sun/star/beans/XExactName \
+	udkapi/com/sun/star/beans/XFastPropertySet \
+	udkapi/com/sun/star/beans/XHierarchicalPropertySet \
+	udkapi/com/sun/star/beans/XHierarchicalPropertySetInfo \
+	udkapi/com/sun/star/beans/XIntroTest \
+	udkapi/com/sun/star/beans/XIntrospection \
+	udkapi/com/sun/star/beans/XIntrospectionAccess \
+	udkapi/com/sun/star/beans/XMaterialHolder \
+	udkapi/com/sun/star/beans/XMultiHierarchicalPropertySet \
+	udkapi/com/sun/star/beans/XMultiPropertySet \
+	udkapi/com/sun/star/beans/XMultiPropertyStates \
+	udkapi/com/sun/star/beans/XPropertiesChangeListener \
+	udkapi/com/sun/star/beans/XPropertiesChangeNotifier \
+	udkapi/com/sun/star/beans/XProperty \
+	udkapi/com/sun/star/beans/XPropertyAccess \
+	udkapi/com/sun/star/beans/XPropertyChangeListener \
+	udkapi/com/sun/star/beans/XPropertyContainer \
+	udkapi/com/sun/star/beans/XPropertySet \
+	udkapi/com/sun/star/beans/XPropertySetInfo \
+	udkapi/com/sun/star/beans/XPropertySetInfoChangeListener \
+	udkapi/com/sun/star/beans/XPropertySetInfoChangeNotifier \
+	udkapi/com/sun/star/beans/XPropertyState \
+	udkapi/com/sun/star/beans/XPropertyStateChangeListener \
+	udkapi/com/sun/star/beans/XPropertyWithState \
+	udkapi/com/sun/star/beans/XTolerantMultiPropertySet \
+	udkapi/com/sun/star/beans/XVetoableChangeListener \
+	udkapi/com/sun/star/bridge/BridgeExistsException \
+	udkapi/com/sun/star/bridge/InvalidProtocolChangeException \
+	udkapi/com/sun/star/bridge/ModelDependent \
+	udkapi/com/sun/star/bridge/ProtocolProperty \
+	udkapi/com/sun/star/bridge/XBridge \
+	udkapi/com/sun/star/bridge/XBridgeFactory \
+	udkapi/com/sun/star/bridge/XBridgeSupplier \
+	udkapi/com/sun/star/bridge/XBridgeSupplier2 \
+	udkapi/com/sun/star/bridge/XInstanceProvider \
+	udkapi/com/sun/star/bridge/XProtocolProperties \
+	udkapi/com/sun/star/bridge/XUnoUrlResolver \
+	udkapi/com/sun/star/bridge/oleautomation/Currency \
+	udkapi/com/sun/star/bridge/oleautomation/Date \
+	udkapi/com/sun/star/bridge/oleautomation/Decimal \
+	udkapi/com/sun/star/bridge/oleautomation/NamedArgument \
+	udkapi/com/sun/star/bridge/oleautomation/PropertyPutArgument \
+	udkapi/com/sun/star/bridge/oleautomation/SCode \
+	udkapi/com/sun/star/bridge/oleautomation/XAutomationObject \
+	udkapi/com/sun/star/connection/AlreadyAcceptingException \
+	udkapi/com/sun/star/connection/ConnectionSetupException \
+	udkapi/com/sun/star/connection/NoConnectException \
+	udkapi/com/sun/star/connection/SocketPermission \
+	udkapi/com/sun/star/connection/XAcceptor \
+	udkapi/com/sun/star/connection/XConnection \
+	udkapi/com/sun/star/connection/XConnection2 \
+	udkapi/com/sun/star/connection/XConnectionBroadcaster \
+	udkapi/com/sun/star/connection/XConnector \
+	udkapi/com/sun/star/container/ContainerEvent \
+	udkapi/com/sun/star/container/ElementExistException \
+	udkapi/com/sun/star/container/NoSuchElementException \
+	udkapi/com/sun/star/container/XChild \
+	udkapi/com/sun/star/container/XComponentEnumeration \
+	udkapi/com/sun/star/container/XComponentEnumerationAccess \
+	udkapi/com/sun/star/container/XContainer \
+	udkapi/com/sun/star/container/XContainerApproveBroadcaster \
+	udkapi/com/sun/star/container/XContainerApproveListener \
+	udkapi/com/sun/star/container/XContainerListener \
+	udkapi/com/sun/star/container/XContainerQuery \
+	udkapi/com/sun/star/container/XContentEnumerationAccess \
+	udkapi/com/sun/star/container/XElementAccess \
+	udkapi/com/sun/star/container/XEnumerableMap \
+	udkapi/com/sun/star/container/XEnumeration \
+	udkapi/com/sun/star/container/XEnumerationAccess \
+	udkapi/com/sun/star/container/XHierarchicalName \
+	udkapi/com/sun/star/container/XHierarchicalNameAccess \
+	udkapi/com/sun/star/container/XHierarchicalNameContainer \
+	udkapi/com/sun/star/container/XHierarchicalNameReplace \
+	udkapi/com/sun/star/container/XIdentifierAccess \
+	udkapi/com/sun/star/container/XIdentifierContainer \
+	udkapi/com/sun/star/container/XIdentifierReplace \
+	udkapi/com/sun/star/container/XImplicitIDAccess \
+	udkapi/com/sun/star/container/XImplicitIDContainer \
+	udkapi/com/sun/star/container/XImplicitIDReplace \
+	udkapi/com/sun/star/container/XIndexAccess \
+	udkapi/com/sun/star/container/XIndexContainer \
+	udkapi/com/sun/star/container/XIndexReplace \
+	udkapi/com/sun/star/container/XMap \
+	udkapi/com/sun/star/container/XNameAccess \
+	udkapi/com/sun/star/container/XNameContainer \
+	udkapi/com/sun/star/container/XNameReplace \
+	udkapi/com/sun/star/container/XNamed \
+	udkapi/com/sun/star/container/XSet \
+	udkapi/com/sun/star/container/XStringKeyMap \
+	udkapi/com/sun/star/container/XUniqueIDAccess \
+	udkapi/com/sun/star/io/AlreadyConnectedException \
+	udkapi/com/sun/star/io/BufferSizeExceededException \
+	udkapi/com/sun/star/io/ConnectException \
+	udkapi/com/sun/star/io/DataTransferEvent \
+	udkapi/com/sun/star/io/FilePermission \
+	udkapi/com/sun/star/io/IOException \
+	udkapi/com/sun/star/io/NoRouteToHostException \
+	udkapi/com/sun/star/io/NotConnectedException \
+	udkapi/com/sun/star/io/SocketException \
+	udkapi/com/sun/star/io/UnexpectedEOFException \
+	udkapi/com/sun/star/io/UnknownHostException \
+	udkapi/com/sun/star/io/WrongFormatException \
+	udkapi/com/sun/star/io/XActiveDataControl \
+	udkapi/com/sun/star/io/XActiveDataSink \
+	udkapi/com/sun/star/io/XActiveDataSource \
+	udkapi/com/sun/star/io/XActiveDataStreamer \
+	udkapi/com/sun/star/io/XAsyncOutputMonitor \
+	udkapi/com/sun/star/io/XConnectable \
+	udkapi/com/sun/star/io/XDataExporter \
+	udkapi/com/sun/star/io/XDataImporter \
+	udkapi/com/sun/star/io/XDataInputStream \
+	udkapi/com/sun/star/io/XDataOutputStream \
+	udkapi/com/sun/star/io/XDataTransferEventListener \
+	udkapi/com/sun/star/io/XInputStream \
+	udkapi/com/sun/star/io/XInputStreamProvider \
+	udkapi/com/sun/star/io/XMarkableStream \
+	udkapi/com/sun/star/io/XObjectInputStream \
+	udkapi/com/sun/star/io/XObjectOutputStream \
+	udkapi/com/sun/star/io/XOutputStream \
+	udkapi/com/sun/star/io/XPersist \
+	udkapi/com/sun/star/io/XPersistObject \
+	udkapi/com/sun/star/io/XSeekable \
+	udkapi/com/sun/star/io/XSeekableInputStream \
+	udkapi/com/sun/star/io/XSequenceOutputStream \
+	udkapi/com/sun/star/io/XStream \
+	udkapi/com/sun/star/io/XStreamListener \
+	udkapi/com/sun/star/io/XTempFile \
+	udkapi/com/sun/star/io/XTextInputStream \
+	udkapi/com/sun/star/io/XTextOutputStream \
+	udkapi/com/sun/star/io/XTruncate \
+	udkapi/com/sun/star/io/XXMLExtractor \
+	udkapi/com/sun/star/java/InvalidJavaSettingsException \
+	udkapi/com/sun/star/java/JavaDisabledException \
+	udkapi/com/sun/star/java/JavaInitializationException \
+	udkapi/com/sun/star/java/JavaNotConfiguredException \
+	udkapi/com/sun/star/java/JavaNotFoundException \
+	udkapi/com/sun/star/java/JavaVMCreationFailureException \
+	udkapi/com/sun/star/java/MissingJavaRuntimeException \
+	udkapi/com/sun/star/java/RestartRequiredException \
+	udkapi/com/sun/star/java/WrongJavaVersionException \
+	udkapi/com/sun/star/java/XJavaThreadRegister_11 \
+	udkapi/com/sun/star/java/XJavaVM \
+	udkapi/com/sun/star/lang/ArrayIndexOutOfBoundsException \
+	udkapi/com/sun/star/lang/ClassNotFoundException \
+	udkapi/com/sun/star/lang/DisposedException \
+	udkapi/com/sun/star/lang/EventObject \
+	udkapi/com/sun/star/lang/IllegalAccessException \
+	udkapi/com/sun/star/lang/IllegalArgumentException \
+	udkapi/com/sun/star/lang/IndexOutOfBoundsException \
+	udkapi/com/sun/star/lang/InvalidListenerException \
+	udkapi/com/sun/star/lang/ListenerExistException \
+	udkapi/com/sun/star/lang/Locale \
+	udkapi/com/sun/star/lang/NoSuchFieldException \
+	udkapi/com/sun/star/lang/NoSuchMethodException \
+	udkapi/com/sun/star/lang/NoSupportException \
+	udkapi/com/sun/star/lang/NotInitializedException \
+	udkapi/com/sun/star/lang/NullPointerException \
+	udkapi/com/sun/star/lang/ServiceNotRegisteredException \
+	udkapi/com/sun/star/lang/SystemDependent \
+	udkapi/com/sun/star/lang/WrappedTargetException \
+	udkapi/com/sun/star/lang/WrappedTargetRuntimeException \
+	udkapi/com/sun/star/lang/XComponent \
+	udkapi/com/sun/star/lang/XConnectionPoint \
+	udkapi/com/sun/star/lang/XConnectionPointContainer \
+	udkapi/com/sun/star/lang/XEventListener \
+	udkapi/com/sun/star/lang/XInitialization \
+	udkapi/com/sun/star/lang/XLocalizable \
+	udkapi/com/sun/star/lang/XMain \
+	udkapi/com/sun/star/lang/XMultiComponentFactory \
+	udkapi/com/sun/star/lang/XMultiServiceFactory \
+	udkapi/com/sun/star/lang/XServiceDisplayName \
+	udkapi/com/sun/star/lang/XServiceInfo \
+	udkapi/com/sun/star/lang/XServiceName \
+	udkapi/com/sun/star/lang/XSingleComponentFactory \
+	udkapi/com/sun/star/lang/XSingleServiceFactory \
+	udkapi/com/sun/star/lang/XTypeProvider \
+	udkapi/com/sun/star/lang/XUnoTunnel \
+	udkapi/com/sun/star/loader/CannotActivateFactoryException \
+	udkapi/com/sun/star/loader/XImplementationLoader \
+	udkapi/com/sun/star/reflection/FieldAccessMode \
+	udkapi/com/sun/star/reflection/InvalidTypeNameException \
+	udkapi/com/sun/star/reflection/InvocationTargetException \
+	udkapi/com/sun/star/reflection/MethodMode \
+	udkapi/com/sun/star/reflection/NoSuchTypeNameException \
+	udkapi/com/sun/star/reflection/ParamInfo \
+	udkapi/com/sun/star/reflection/ParamMode \
+	udkapi/com/sun/star/reflection/TypeDescriptionSearchDepth \
+	udkapi/com/sun/star/reflection/XArrayTypeDescription \
+	udkapi/com/sun/star/reflection/XCompoundTypeDescription \
+	udkapi/com/sun/star/reflection/XConstantTypeDescription \
+	udkapi/com/sun/star/reflection/XConstantsTypeDescription \
+	udkapi/com/sun/star/reflection/XEnumTypeDescription \
+	udkapi/com/sun/star/reflection/XIdlArray \
+	udkapi/com/sun/star/reflection/XIdlClass \
+	udkapi/com/sun/star/reflection/XIdlClassProvider \
+	udkapi/com/sun/star/reflection/XIdlField \
+	udkapi/com/sun/star/reflection/XIdlField2 \
+	udkapi/com/sun/star/reflection/XIdlMember \
+	udkapi/com/sun/star/reflection/XIdlMethod \
+	udkapi/com/sun/star/reflection/XIdlReflection \
+	udkapi/com/sun/star/reflection/XIndirectTypeDescription \
+	udkapi/com/sun/star/reflection/XInterfaceAttributeTypeDescription \
+	udkapi/com/sun/star/reflection/XInterfaceAttributeTypeDescription2 \
+	udkapi/com/sun/star/reflection/XInterfaceMemberTypeDescription \
+	udkapi/com/sun/star/reflection/XInterfaceMethodTypeDescription \
+	udkapi/com/sun/star/reflection/XInterfaceTypeDescription \
+	udkapi/com/sun/star/reflection/XInterfaceTypeDescription2 \
+	udkapi/com/sun/star/reflection/XMethodParameter \
+	udkapi/com/sun/star/reflection/XModuleTypeDescription \
+	udkapi/com/sun/star/reflection/XParameter \
+	udkapi/com/sun/star/reflection/XPropertyTypeDescription \
+	udkapi/com/sun/star/reflection/XProxyFactory \
+	udkapi/com/sun/star/reflection/XPublished \
+	udkapi/com/sun/star/reflection/XServiceConstructorDescription \
+	udkapi/com/sun/star/reflection/XServiceTypeDescription \
+	udkapi/com/sun/star/reflection/XServiceTypeDescription2 \
+	udkapi/com/sun/star/reflection/XSingletonTypeDescription \
+	udkapi/com/sun/star/reflection/XSingletonTypeDescription2 \
+	udkapi/com/sun/star/reflection/XStructTypeDescription \
+	udkapi/com/sun/star/reflection/XTypeDescription \
+	udkapi/com/sun/star/reflection/XTypeDescriptionEnumeration \
+	udkapi/com/sun/star/reflection/XTypeDescriptionEnumerationAccess \
+	udkapi/com/sun/star/reflection/XUnionTypeDescription \
+	udkapi/com/sun/star/registry/CannotRegisterImplementationException \
+	udkapi/com/sun/star/registry/InvalidRegistryException \
+	udkapi/com/sun/star/registry/InvalidValueException \
+	udkapi/com/sun/star/registry/MergeConflictException \
+	udkapi/com/sun/star/registry/RegistryKeyType \
+	udkapi/com/sun/star/registry/RegistryValueType \
+	udkapi/com/sun/star/registry/XImplementationRegistration \
+	udkapi/com/sun/star/registry/XImplementationRegistration2 \
+	udkapi/com/sun/star/registry/XRegistryKey \
+	udkapi/com/sun/star/registry/XSimpleRegistry \
+	udkapi/com/sun/star/script/AllEventObject \
+	udkapi/com/sun/star/script/ArrayWrapper \
+	udkapi/com/sun/star/script/BasicErrorException \
+	udkapi/com/sun/star/script/CannotConvertException \
+	udkapi/com/sun/star/script/CannotCreateAdapterException \
+	udkapi/com/sun/star/script/ContextInformation \
+	udkapi/com/sun/star/script/FailReason \
+	udkapi/com/sun/star/script/FinishEngineEvent \
+	udkapi/com/sun/star/script/FinishReason \
+	udkapi/com/sun/star/script/InterruptEngineEvent \
+	udkapi/com/sun/star/script/InterruptReason \
+	udkapi/com/sun/star/script/InvocationInfo \
+	udkapi/com/sun/star/script/MemberType \
+	udkapi/com/sun/star/script/ScriptEvent \
+	udkapi/com/sun/star/script/ScriptEventDescriptor \
+	udkapi/com/sun/star/script/XAllListener \
+	udkapi/com/sun/star/script/XAllListenerAdapterService \
+	udkapi/com/sun/star/script/XDebugging \
+	udkapi/com/sun/star/script/XDefaultMethod \
+	udkapi/com/sun/star/script/XDefaultProperty \
+	udkapi/com/sun/star/script/XDirectInvocation \
+	udkapi/com/sun/star/script/XEngine \
+	udkapi/com/sun/star/script/XEngineListener \
+	udkapi/com/sun/star/script/XEventAttacher \
+	udkapi/com/sun/star/script/XEventAttacherManager \
+	udkapi/com/sun/star/script/XInvocation \
+	udkapi/com/sun/star/script/XInvocation2 \
+	udkapi/com/sun/star/script/XInvocationAdapterFactory \
+	udkapi/com/sun/star/script/XInvocationAdapterFactory2 \
+	udkapi/com/sun/star/script/XLibraryAccess \
+	udkapi/com/sun/star/script/XScriptEventsAttacher \
+	udkapi/com/sun/star/script/XScriptEventsSupplier \
+	udkapi/com/sun/star/script/XScriptListener \
+	udkapi/com/sun/star/script/XStarBasicAccess \
+	udkapi/com/sun/star/script/XStarBasicDialogInfo \
+	udkapi/com/sun/star/script/XStarBasicLibraryInfo \
+	udkapi/com/sun/star/script/XStarBasicModuleInfo \
+	udkapi/com/sun/star/script/XTypeConverter \
+	udkapi/com/sun/star/security/AccessControlException \
+	udkapi/com/sun/star/security/AllPermission \
+	udkapi/com/sun/star/security/RuntimePermission \
+	udkapi/com/sun/star/security/XAccessControlContext \
+	udkapi/com/sun/star/security/XAccessController \
+	udkapi/com/sun/star/security/XAction \
+	udkapi/com/sun/star/security/XPolicy \
+	udkapi/com/sun/star/task/XInteractionAbort \
+	udkapi/com/sun/star/task/XInteractionContinuation \
+	udkapi/com/sun/star/task/XInteractionHandler \
+	udkapi/com/sun/star/task/XInteractionHandler2 \
+	udkapi/com/sun/star/task/XInteractionRequest \
+	udkapi/com/sun/star/task/XInteractionRetry \
+	udkapi/com/sun/star/test/TestEvent \
+	udkapi/com/sun/star/test/XSimpleTest \
+	udkapi/com/sun/star/test/XTest \
+	udkapi/com/sun/star/test/XTestListener \
+	udkapi/com/sun/star/test/bridge/XBridgeTest \
+	udkapi/com/sun/star/test/performance/XPerformanceTest \
+	udkapi/com/sun/star/uno/DeploymentException \
+	udkapi/com/sun/star/uno/Exception \
+	udkapi/com/sun/star/uno/RuntimeException \
+	udkapi/com/sun/star/uno/SecurityException \
+	udkapi/com/sun/star/uno/TypeClass \
+	udkapi/com/sun/star/uno/Uik \
+	udkapi/com/sun/star/uno/XAdapter \
+	udkapi/com/sun/star/uno/XAggregation \
+	udkapi/com/sun/star/uno/XComponentContext \
+	udkapi/com/sun/star/uno/XCurrentContext \
+	udkapi/com/sun/star/uno/XInterface \
+	udkapi/com/sun/star/uno/XNamingService \
+	udkapi/com/sun/star/uno/XReference \
+	udkapi/com/sun/star/uno/XUnloadingPreference \
+	udkapi/com/sun/star/uno/XWeak \
+	udkapi/com/sun/star/uri/RelativeUriExcessParentSegments \
+	udkapi/com/sun/star/uri/XExternalUriReferenceTranslator \
+	udkapi/com/sun/star/uri/XUriReference \
+	udkapi/com/sun/star/uri/XUriReferenceFactory \
+	udkapi/com/sun/star/uri/XUriSchemeParser \
+	udkapi/com/sun/star/uri/XVndSunStarExpandUrl \
+	udkapi/com/sun/star/uri/XVndSunStarExpandUrlReference \
+	udkapi/com/sun/star/uri/XVndSunStarPkgUrlReferenceFactory \
+	udkapi/com/sun/star/uri/XVndSunStarScriptUrl \
+	udkapi/com/sun/star/uri/XVndSunStarScriptUrlReference \
+	udkapi/com/sun/star/util/XMacroExpander \
+	udkapi/com/sun/star/util/XVeto \
+	udkapi/com/sun/star/util/logging/LogLevel \
+	udkapi/com/sun/star/util/logging/XLogger \
+	udkapi/com/sun/star/util/logging/XLoggerRemote \
+))
+
+
+# vim: set noet sw=4 ts=4:

Added: incubator/ooo/branches/gbuild/main/udkapi/UnoApi_uretypes.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/udkapi/UnoApi_uretypes.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/udkapi/UnoApi_uretypes.mk (added)
+++ incubator/ooo/branches/gbuild/main/udkapi/UnoApi_uretypes.mk Wed Nov 14 22:07:57 2012
@@ -0,0 +1,34 @@
+#*************************************************************************
+#
+# 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.
+#
+#*************************************************************************
+
+$(eval $(call gb_UnoApiTarget_UnoApiTarget,ure/types))
+
+$(eval $(call gb_UnoApiTarget_add_merge_rdbfiles,ure/types,\
+    udkapi \
+))
+
+# vim: set noet sw=4 ts=4:

Added: incubator/ooo/branches/gbuild/main/udkapi/prj/makefile.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/udkapi/prj/makefile.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/udkapi/prj/makefile.mk (added)
+++ incubator/ooo/branches/gbuild/main/udkapi/prj/makefile.mk Wed Nov 14 22:07:57 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
+# <http://www.openoffice.org/license.html>
+# 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)

Added: incubator/ooo/branches/gbuild/main/writerfilter/CppunitTest_writerfilter_doctok.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/writerfilter/CppunitTest_writerfilter_doctok.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/writerfilter/CppunitTest_writerfilter_doctok.mk (added)
+++ incubator/ooo/branches/gbuild/main/writerfilter/CppunitTest_writerfilter_doctok.mk Wed Nov 14 22:07:57 2012
@@ -0,0 +1,55 @@
+#*************************************************************************
+#
+# 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
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_CppunitTest_CppunitTest,writerfilter_doctok))
+
+$(eval $(call gb_CppunitTest_add_exception_objects,writerfilter_doctok, \
+	writerfilter/qa/cppunittests/doctok/testdoctok \
+))
+
+$(eval $(call gb_CppunitTest_add_linked_libs,writerfilter_doctok, \
+	writerfilter \
+	ucbhelper \
+	cppuhelper \
+	cppu \
+	sal \
+	stl \
+	$(gb_STDLIBS) \
+))
+
+$(eval $(call gb_CppunitTest_add_api,writerfilter_doctok,\
+	udkapi \
+	offapi \
+))
+
+$(eval $(call gb_CppunitTest_set_include,writerfilter_doctok,\
+	$$(INCLUDE) \
+	-I$(OUTDIR)/inc \
+	-I$(SRCDIR)/writerfilter/inc \
+))
+
+# vim: set noet sw=4 ts=4:

Added: incubator/ooo/branches/gbuild/main/writerfilter/JunitTest_writerfilter_complex.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/writerfilter/JunitTest_writerfilter_complex.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/writerfilter/JunitTest_writerfilter_complex.mk (added)
+++ incubator/ooo/branches/gbuild/main/writerfilter/JunitTest_writerfilter_complex.mk Wed Nov 14 22:07:57 2012
@@ -0,0 +1,55 @@
+#*************************************************************************
+#
+# 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
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_JunitTest_JunitTest,writerfilter_complex))
+
+$(eval $(call gb_JunitTest_set_defs,writerfilter_complex,\
+	$$(DEFS) \
+	-Dorg.openoffice.test.arg.tdoc=$(SRCDIR)/writerfilter/qa/complex/ooxml/testdocuments \
+))
+
+$(eval $(call gb_JunitTest_add_jars,writerfilter_complex,\
+	$(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,writerfilter_complex,\
+	writerfilter/qa/complex/ooxml/TestDocument \
+	writerfilter/qa/complex/ooxml/LoadDocuments \
+))
+
+# #i113098# currently fails in non-pro
+ifeq ($(gb_PRODUCT),$(true))
+$(eval $(call gb_JunitTest_add_classes,writerfilter_complex,\
+	complex.ooxml.LoadDocuments \
+))
+endif
+
+# vim: set noet sw=4 ts=4:

Added: incubator/ooo/branches/gbuild/main/writerfilter/Library_writerfilter.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/writerfilter/Library_writerfilter.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/writerfilter/Library_writerfilter.mk (added)
+++ incubator/ooo/branches/gbuild/main/writerfilter/Library_writerfilter.mk Wed Nov 14 22:07:57 2012
@@ -0,0 +1,166 @@
+#*************************************************************************
+#
+# 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
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+include $(SRCDIR)/writerfilter/source/generated.mk
+
+$(eval $(call gb_Library_Library,writerfilter))
+
+$(eval $(call \
+	gb_Library_add_package_headers,writerfilter,writerfilter_inc writerfilter_generated))
+
+#$(eval $(call gb_Library_add_precompiled_header,writerfilter,$(SRCDIR)/writerfilter/PCH_FILE))
+
+$(eval $(call gb_Library_set_componentfile,writerfilter,writerfilter/util/writerfilter))
+
+$(eval $(call gb_Library_add_api,writerfilter,\
+	udkapi \
+	offapi \
+))
+
+$(eval $(call gb_Library_set_include,writerfilter,\
+	$$(INCLUDE) \
+	-I$(SRCDIR)/writerfilter/inc \
+	-I$(WORKDIR)/CustomTarget/writerfilter/source \
+	-I$(WORKDIR)/CustomTarget/writerfilter/source/ooxml \
+	-I$(WORKDIR)/CustomTarget/writerfilter/source/doctok \
+	-I$(SRCDIR)/writerfilter/source/doctok \
+	-I$(SRCDIR)/writerfilter/source/ooxml \
+))
+
+$(eval $(call gb_Library_set_defs,writerfilter,\
+	$$(DEFS) \
+	-DWRITERFILTER_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_Library_add_linked_libs,writerfilter,\
+	oox \
+	i18nisolang1 \
+	i18npaper \
+	sot \
+	tl \
+	utl \
+	comphelper \
+	cppuhelper \
+	cppu \
+	sal \
+	stl \
+	$(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,writerfilter,\
+	writerfilter/source/dmapper/BorderHandler \
+	writerfilter/source/dmapper/CellColorHandler \
+	writerfilter/source/dmapper/CellMarginHandler \
+	writerfilter/source/dmapper/ConversionHelper \
+	writerfilter/source/dmapper/DomainMapper \
+	writerfilter/source/dmapper/DomainMapperTableHandler \
+	writerfilter/source/dmapper/DomainMapperTableManager \
+	writerfilter/source/dmapper/DomainMapper_Impl \
+	writerfilter/source/dmapper/FFDataHandler \
+	writerfilter/source/dmapper/FontTable \
+	writerfilter/source/dmapper/FormControlHelper \
+	writerfilter/source/dmapper/GraphicHelpers \
+	writerfilter/source/dmapper/GraphicImport \
+	writerfilter/source/dmapper/MeasureHandler \
+	writerfilter/source/dmapper/ModelEventListener \
+	writerfilter/source/dmapper/NumberingManager  \
+	writerfilter/source/dmapper/OLEHandler \
+	writerfilter/source/dmapper/PageBordersHandler \
+	writerfilter/source/dmapper/PropertyIds \
+	writerfilter/source/dmapper/PropertyMap \
+	writerfilter/source/dmapper/PropertyMapHelper \
+	writerfilter/source/dmapper/SectionColumnHandler \
+	writerfilter/source/dmapper/SettingsTable \
+	writerfilter/source/dmapper/StyleSheetTable \
+	writerfilter/source/dmapper/TDefTableHandler \
+	writerfilter/source/dmapper/TablePropertiesHandler \
+	writerfilter/source/dmapper/TblStylePrHandler \
+	writerfilter/source/dmapper/ThemeTable \
+	writerfilter/source/dmapper/WrapPolygonHandler \
+	writerfilter/source/doctok/Dff \
+	writerfilter/source/doctok/DffImpl \
+ 	writerfilter/source/doctok/WW8Annotation \
+	writerfilter/source/doctok/WW8BinTableImpl \
+	writerfilter/source/doctok/WW8Clx \
+	writerfilter/source/doctok/WW8CpAndFc \
+	writerfilter/source/doctok/WW8DocumentImpl \
+	writerfilter/source/doctok/WW8FKPImpl \
+ 	writerfilter/source/doctok/WW8FontTable \
+ 	writerfilter/source/doctok/WW8LFOTable \
+ 	writerfilter/source/doctok/WW8ListTable \
+	writerfilter/source/doctok/WW8OutputWithDepth \
+	writerfilter/source/doctok/WW8Picture \
+	writerfilter/source/doctok/WW8PieceTableImpl \
+	writerfilter/source/doctok/WW8PropertySetImpl \
+	writerfilter/source/doctok/WW8ResourceModelImpl \
+	writerfilter/source/doctok/WW8StreamImpl \
+ 	writerfilter/source/doctok/WW8StructBase \
+	writerfilter/source/doctok/WW8StyleSheet \
+	writerfilter/source/doctok/WW8Sttbf \
+	writerfilter/source/doctok/WW8Table \
+	writerfilter/source/doctok/WW8Text \
+	writerfilter/source/filter/ImportFilter \
+	writerfilter/source/filter/RtfFilter \
+ 	writerfilter/source/filter/WriterFilter \
+ 	writerfilter/source/filter/WriterFilterDetection \
+	writerfilter/source/ooxml/Handler \
+	writerfilter/source/ooxml/OOXMLBinaryObjectReference\
+	writerfilter/source/ooxml/OOXMLDocumentImpl \
+	writerfilter/source/ooxml/OOXMLFactory \
+	writerfilter/source/ooxml/OOXMLFastContextHandler \
+	writerfilter/source/ooxml/OOXMLFastDocumentHandler \
+	writerfilter/source/ooxml/OOXMLFastTokenHandler \
+	writerfilter/source/ooxml/OOXMLParserState \
+	writerfilter/source/ooxml/OOXMLPropertySetImpl \
+	writerfilter/source/ooxml/OOXMLStreamImpl \
+	writerfilter/source/resourcemodel/Fraction \
+	writerfilter/source/resourcemodel/LoggedResources \
+	writerfilter/source/resourcemodel/Protocol \
+	writerfilter/source/resourcemodel/ResourceModelHelper \
+	writerfilter/source/resourcemodel/TagLogger \
+	writerfilter/source/resourcemodel/Token \
+	writerfilter/source/resourcemodel/WW8Analyzer \
+	writerfilter/source/resourcemodel/XPathLogger \
+	writerfilter/source/resourcemodel/resourcemodel \
+	writerfilter/source/resourcemodel/util \
+	writerfilter/source/rtftok/RTFParseException \
+))
+
+$(eval $(call gb_Library_add_generated_exception_objects,writerfilter,\
+	$(patsubst %,CustomTarget/writerfilter/source/OOXMLFactory_%,$(WRITERFILTER_OOXMLNAMESPACES)) \
+	CustomTarget/writerfilter/source/OOXMLFactory_generated \
+	CustomTarget/writerfilter/source/OOXMLFactory_values \
+	CustomTarget/writerfilter/source/qnametostr \
+	CustomTarget/writerfilter/source/resources \
+	CustomTarget/writerfilter/source/sprmcodetostr \
+))
+
+#disabled
+#	CustomTarget/writerfilter/generated/RTFScanner \
+
+# vim: set noet sw=4 ts=4:
+

Added: incubator/ooo/branches/gbuild/main/writerfilter/Library_writerfilter_debug.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/writerfilter/Library_writerfilter_debug.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/writerfilter/Library_writerfilter_debug.mk (added)
+++ incubator/ooo/branches/gbuild/main/writerfilter/Library_writerfilter_debug.mk Wed Nov 14 22:07:57 2012
@@ -0,0 +1,68 @@
+#*************************************************************************
+#
+# 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
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Library_Library,writerfilter_debug))
+
+$(eval $(call gb_Library_add_api,writerfilter_debug,\
+	udkapi \
+	offapi \
+))
+
+$(eval $(call gb_Library_set_include,writerfilter_debug,\
+	$$(INCLUDE) \
+	-I$(SRCDIR)/writerfilter/inc \
+))
+
+$(eval $(call gb_Library_set_defs,writerfilter_debug,\
+	$$(DEFS) \
+))
+
+$(eval $(call gb_Library_add_linked_libs,writerfilter_debug,\
+	writerfilter \
+	comphelper \
+	ucbhelper \
+	cppuhelper \
+	cppu \
+	sal \
+	stl \
+	$(gb_STDLIBS) \
+))
+
+$(eval $(call gb_Library_add_exception_objects,writerfilter_debug,\
+	writerfilter/unocomponent/debugservices/doctok/DocTokTestService \
+	writerfilter/unocomponent/debugservices/doctok/DocTokAnalyzeService \
+	writerfilter/unocomponent/debugservices/ooxml/OOXMLTestService \
+	writerfilter/unocomponent/debugservices/ooxml/OOXMLAnalyzeService \
+	writerfilter/unocomponent/component \
+))
+
+# disabled
+#	writerfilter/unocomponent/debugservices/rtftok/ScannerTestService \
+#	writerfilter/unocomponent/debugservices/rtftok/XMLScanner \
+
+# vim: set noet sw=4 ts=4:
+

Added: incubator/ooo/branches/gbuild/main/writerfilter/Makefile
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/writerfilter/Makefile?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/writerfilter/Makefile (added)
+++ incubator/ooo/branches/gbuild/main/writerfilter/Makefile Wed Nov 14 22:07:57 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
+# <http://www.openoffice.org/license.html>
+# 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/gbuild/main/writerfilter/Module_writerfilter.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/writerfilter/Module_writerfilter.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/writerfilter/Module_writerfilter.mk (added)
+++ incubator/ooo/branches/gbuild/main/writerfilter/Module_writerfilter.mk Wed Nov 14 22:07:57 2012
@@ -0,0 +1,47 @@
+#*************************************************************************
+#
+# 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
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Module_Module,writerfilter))
+
+$(eval $(call gb_Module_add_targets,writerfilter,\
+	Package_inc \
+	Package_writerfilter_generated \
+	Library_writerfilter \
+	Library_writerfilter_debug \
+))
+
+# does not build
+$(eval $(call gb_Module_add_check_targets,writerfilter,\
+	CppunitTest_writerfilter_doctok \
+))
+
+# does not run
+$(eval $(call gb_Module_add_subsequentcheck_targets,writerfilter,\
+	JunitTest_writerfilter_complex \
+))
+
+# vim: set noet sw=4 ts=4:

Added: incubator/ooo/branches/gbuild/main/writerfilter/Package_inc.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/writerfilter/Package_inc.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/writerfilter/Package_inc.mk (added)
+++ incubator/ooo/branches/gbuild/main/writerfilter/Package_inc.mk Wed Nov 14 22:07:57 2012
@@ -0,0 +1,35 @@
+#*************************************************************************
+#
+# 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
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call gb_Package_Package,writerfilter_inc,$(SRCDIR)/writerfilter/inc))
+
+$(eval $(call gb_Package_add_file,writerfilter_inc,inc/writerfilter/WriterFilterDllApi.hxx,WriterFilterDllApi.hxx))
+$(eval $(call gb_Package_add_file,writerfilter_inc,inc/writerfilter/resourcemodel/OutputWithDepth.hxx,resourcemodel/OutputWithDepth.hxx))
+$(eval $(call gb_Package_add_file,writerfilter_inc,inc/writerfilter/resourcemodel/WW8ResourceModel.hxx,resourcemodel/WW8ResourceModel.hxx))
+$(eval $(call gb_Package_add_file,writerfilter_inc,inc/writerfilter/dmapper/DomainMapper.hxx,dmapper/DomainMapper.hxx))
+
+# vim: set noet sw=4 ts=4:

Added: incubator/ooo/branches/gbuild/main/writerfilter/Package_writerfilter_generated.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/writerfilter/Package_writerfilter_generated.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/writerfilter/Package_writerfilter_generated.mk (added)
+++ incubator/ooo/branches/gbuild/main/writerfilter/Package_writerfilter_generated.mk Wed Nov 14 22:07:57 2012
@@ -0,0 +1,80 @@
+#*************************************************************************
+#
+# 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
+# <http://www.openoffice.org/license.html>
+# for a copy of the LGPLv3 License.
+#
+#*************************************************************************
+
+$(eval $(call \
+	gb_Package_Package,writerfilter_generated,$(WORKDIR)/CustomTarget/writerfilter/source))
+
+$(eval $(call \
+	gb_Package_add_customtarget,writerfilter_generated,writerfilter/source,SRCDIR))
+
+$(eval $(call \
+	gb_CustomTarget_add_outdir_dependencies,writerfilter/source,\
+		$(gb_XSLTPROCTARGET) \
+		$(OUTDIR)/inc$(UPDMINOREXT)/oox/token/tokens.txt \
+		$(OUTDIR)/inc$(UPDMINOREXT)/oox/token/namespaces.txt \
+))
+
+$(eval $(call \
+	gb_CustomTarget_add_dependencies,writerfilter/source,\
+		writerfilter/source/doctok/resources.xmi \
+		writerfilter/source/doctok/resources.xsl \
+		writerfilter/source/doctok/resourcesimpl.xsl \
+		writerfilter/source/doctok/resourceids.xsl \
+		writerfilter/source/doctok/sprmids.xsl \
+		writerfilter/source/doctok/resourcetools.xsl \
+		writerfilter/source/ooxml/model.xml \
+		writerfilter/source/ooxml/modelpreprocess.xsl \
+		writerfilter/source/ooxml/factorytools.xsl \
+		writerfilter/source/ooxml/fasttokens.xsl \
+		writerfilter/source/ooxml/namespaceids.xsl \
+		writerfilter/source/ooxml/factory_values.xsl \
+		writerfilter/source/ooxml/factoryimpl_values.xsl \
+		writerfilter/source/ooxml/resourceids.xsl \
+		writerfilter/source/ooxml/gperffasttokenhandler.xsl \
+		writerfilter/source/ooxml/gperffasttokenhandler.xsl \
+		writerfilter/source/ooxml/tokenxmlheader \
+		writerfilter/source/ooxml/tokenxmlfooter \
+		writerfilter/source/ooxml/factoryinc.xsl \
+		writerfilter/source/ooxml/factoryimpl.xsl \
+		writerfilter/source/ooxml/factoryimpl_ns.xsl \
+		writerfilter/source/ooxml/factory_ns.xsl \
+		writerfilter/source/rtftok/RTFScanner.lex \
+		writerfilter/source/rtftok/RTFScanner.skl \
+		writerfilter/source/doctok/sprmcodetostr.xsl \
+		writerfilter/source/doctok/qnametostr.xsl \
+		writerfilter/source/ooxml/qnametostr.xsl \
+		writerfilter/source/resourcemodel/namespace_preprocess.pl \
+		writerfilter/source/resourcemodel/qnametostrheader \
+		writerfilter/source/resourcemodel/qnametostrfooter \
+		writerfilter/source/resourcemodel/sprmcodetostrheader \
+		writerfilter/source/resourcemodel/sprmcodetostrfooter \
+))
+
+$(eval $(call gb_Package_add_file,writerfilter_generated,inc/writerfilter/doctok/sprmids.hxx,doctok/sprmids.hxx))
+$(eval $(call gb_Package_add_file,writerfilter_generated,inc/writerfilter/doctok/resourceids.hxx,doctok/resourceids.hxx))
+$(eval $(call gb_Package_add_file,writerfilter_generated,inc/writerfilter/ooxml/resourceids.hxx,ooxml/resourceids.hxx))
+

Added: incubator/ooo/branches/gbuild/main/writerfilter/prj/makefile.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/writerfilter/prj/makefile.mk?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/writerfilter/prj/makefile.mk (added)
+++ incubator/ooo/branches/gbuild/main/writerfilter/prj/makefile.mk Wed Nov 14 22:07:57 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
+# <http://www.openoffice.org/license.html>
+# 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)

Added: incubator/ooo/branches/gbuild/main/writerfilter/qa/complex/ooxml/TestDocument.java
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/writerfilter/qa/complex/ooxml/TestDocument.java?rev=1409470&view=auto
==============================================================================
--- incubator/ooo/branches/gbuild/main/writerfilter/qa/complex/ooxml/TestDocument.java (added)
+++ incubator/ooo/branches/gbuild/main/writerfilter/qa/complex/ooxml/TestDocument.java Wed Nov 14 22:07:57 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
+* <http://www.openoffice.org/license.html>
+* for a copy of the LGPLv3 License.
+*
+************************************************************************/
+
+package complex.ooxml;
+
+import java.io.File;
+import org.openoffice.test.OfficeFileUrl;
+import org.openoffice.test.Argument;
+
+final class TestDocument {
+    public static String getUrl(String name) {
+        return OfficeFileUrl.getAbsolute(new File(Argument.get("tdoc"), name));
+    }
+
+    private TestDocument() {}
+}