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/15 00:44:09 UTC

svn commit: r1409569 - in /incubator/ooo/branches/gbuild: ext_libraries/apr-util/ ext_libraries/serf/win/ main/ main/basebmp/ main/basegfx/ main/canvas/ main/comphelper/ main/cppcanvas/ main/drawinglayer/ main/editeng/ main/framework/ main/linguistic/ ...

Author: arist
Date: Wed Nov 14 23:44:03 2012
New Revision: 1409569

URL: http://svn.apache.org/viewvc?rev=1409569&view=rev
Log:
gnumake4_083_389f5e8ec8cd.patch
# HG changeset patch
# User Michael Stahl <ms...@openoffice.org>
# Date 1302711101 0
# Node ID 389f5e8ec8cdf990d750a8ad56ec0e396a323830
# Parent d4e0e895e9c10901a82da7eda5bb4a19e0057445
gnumake4: #i116959#: kill gb_LinkTarget_set_{defs,cflags,cxxflags,objcxxflags}


Modified:
    incubator/ooo/branches/gbuild/ext_libraries/apr-util/apr-util-1.4.1.makewin32.patch
    incubator/ooo/branches/gbuild/ext_libraries/serf/win/Library_serf.mk
    incubator/ooo/branches/gbuild/main/RepositoryExternal.mk
    incubator/ooo/branches/gbuild/main/basebmp/CppunitTest_basebmp.mk
    incubator/ooo/branches/gbuild/main/basebmp/Library_basebmp.mk
    incubator/ooo/branches/gbuild/main/basegfx/Library_basegfx.mk
    incubator/ooo/branches/gbuild/main/basegfx/StaticLibrary_basegfx_s.mk
    incubator/ooo/branches/gbuild/main/canvas/Library_cairocanvas.mk
    incubator/ooo/branches/gbuild/main/canvas/Library_canvasfactory.mk
    incubator/ooo/branches/gbuild/main/canvas/Library_canvastools.mk
    incubator/ooo/branches/gbuild/main/canvas/Library_directx5canvas.mk
    incubator/ooo/branches/gbuild/main/canvas/Library_directx9canvas.mk
    incubator/ooo/branches/gbuild/main/canvas/Library_gdipluscanvas.mk
    incubator/ooo/branches/gbuild/main/canvas/Library_nullcanvas.mk
    incubator/ooo/branches/gbuild/main/canvas/Library_simplecanvas.mk
    incubator/ooo/branches/gbuild/main/canvas/Library_vclcanvas.mk
    incubator/ooo/branches/gbuild/main/comphelper/Library_comphelp.mk
    incubator/ooo/branches/gbuild/main/cppcanvas/Library_cppcanvas.mk
    incubator/ooo/branches/gbuild/main/drawinglayer/Library_drawinglayer.mk
    incubator/ooo/branches/gbuild/main/editeng/Library_editeng.mk
    incubator/ooo/branches/gbuild/main/framework/Library_fwe.mk
    incubator/ooo/branches/gbuild/main/framework/Library_fwi.mk
    incubator/ooo/branches/gbuild/main/linguistic/Library_lng.mk
    incubator/ooo/branches/gbuild/main/padmin/Library_spa.mk
    incubator/ooo/branches/gbuild/main/sax/Library_expwrap.mk
    incubator/ooo/branches/gbuild/main/sax/Library_fastsax.mk
    incubator/ooo/branches/gbuild/main/sax/Library_sax.mk
    incubator/ooo/branches/gbuild/main/sfx2/Library_qstart.mk
    incubator/ooo/branches/gbuild/main/sfx2/Library_sfx.mk
    incubator/ooo/branches/gbuild/main/solenv/gbuild/Library.mk
    incubator/ooo/branches/gbuild/main/solenv/gbuild/LinkTarget.mk
    incubator/ooo/branches/gbuild/main/solenv/gbuild/StaticLibrary.mk
    incubator/ooo/branches/gbuild/main/solenv/gbuild/templates/Library.mk
    incubator/ooo/branches/gbuild/main/sot/Library_sot.mk
    incubator/ooo/branches/gbuild/main/starmath/Library_sm.mk
    incubator/ooo/branches/gbuild/main/starmath/Library_smd.mk
    incubator/ooo/branches/gbuild/main/svgio/Library_svgio.mk
    incubator/ooo/branches/gbuild/main/svl/Library_svl.mk
    incubator/ooo/branches/gbuild/main/svtools/Library_svt.mk
    incubator/ooo/branches/gbuild/main/svx/Library_svx.mk
    incubator/ooo/branches/gbuild/main/svx/Library_svxcore.mk
    incubator/ooo/branches/gbuild/main/svx/Library_textconversiondlgs.mk
    incubator/ooo/branches/gbuild/main/sw/Library_msword.mk
    incubator/ooo/branches/gbuild/main/sw/Library_sw.mk
    incubator/ooo/branches/gbuild/main/sw/Library_swd.mk
    incubator/ooo/branches/gbuild/main/sw/Library_swui.mk
    incubator/ooo/branches/gbuild/main/toolkit/Library_tk.mk
    incubator/ooo/branches/gbuild/main/tools/Library_tl.mk
    incubator/ooo/branches/gbuild/main/ucbhelper/Library_ucbhelper.mk
    incubator/ooo/branches/gbuild/main/unotools/Library_utl.mk
    incubator/ooo/branches/gbuild/main/unoxml/Library_unordf.mk
    incubator/ooo/branches/gbuild/main/unoxml/Library_unoxml.mk
    incubator/ooo/branches/gbuild/main/vbahelper/Library_vbahelper.mk
    incubator/ooo/branches/gbuild/main/vcl/Library_desktop_detector.mk
    incubator/ooo/branches/gbuild/main/vcl/Library_vcl.mk
    incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_gen.mk
    incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_gtk.mk
    incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_kde.mk
    incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_kde4.mk
    incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_svp.mk
    incubator/ooo/branches/gbuild/main/vcl/StaticLibrary_vclmain.mk
    incubator/ooo/branches/gbuild/main/xmloff/Library_xo.mk
    incubator/ooo/branches/gbuild/main/xmlreader/Library_xmlreader.mk
    incubator/ooo/branches/gbuild/main/xmlscript/Library_xcr.mk

Modified: incubator/ooo/branches/gbuild/ext_libraries/apr-util/apr-util-1.4.1.makewin32.patch
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/ext_libraries/apr-util/apr-util-1.4.1.makewin32.patch?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/ext_libraries/apr-util/apr-util-1.4.1.makewin32.patch (original)
+++ incubator/ooo/branches/gbuild/ext_libraries/apr-util/apr-util-1.4.1.makewin32.patch Wed Nov 14 23:44:03 2012
@@ -1,6 +1,6 @@
 --- misc/apr-util-1.4.1/Library_apr-util.mk	2012-01-05 14:49:40.529219100 +0100
 +++ misc/build/apr-util-1.4.1/Library_apr-util.mk	2012-01-05 14:47:18.621102400 +0100
-@@ -1 +1,90 @@
+@@ -1 +1,89 @@
 -dummy
 +#/**************************************************************
 +# * 
@@ -34,8 +34,7 @@
 +	-I$(OUTDIR)/inc/apr \
 +))
 +
-+$(eval $(call gb_Library_set_defs,apr-util,\
-+	$$(DEFS) \
++$(eval $(call gb_Library_add_defs,apr-util,\
 +	-DAPU_DECLARE_EXPORT -DWIN32 -DNDEBUG -D_WINDOWS -D_USRDLL -DWIN32_EXPORTS \
 +))
 +

Modified: incubator/ooo/branches/gbuild/ext_libraries/serf/win/Library_serf.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/ext_libraries/serf/win/Library_serf.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/ext_libraries/serf/win/Library_serf.mk (original)
+++ incubator/ooo/branches/gbuild/ext_libraries/serf/win/Library_serf.mk Wed Nov 14 23:44:03 2012
@@ -31,8 +31,7 @@ $(eval $(call gb_Library_set_include,ser
 	-I$(OUTDIR)/inc/external/zlib \
 ))
 
-$(eval $(call gb_Library_set_defs,serf,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,serf,\
 	-DWIN32 -DNDEBUG -D_WINDOWS -D_USRDLL -DWIN32_EXPORTS \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/RepositoryExternal.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/RepositoryExternal.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/RepositoryExternal.mk (original)
+++ incubator/ooo/branches/gbuild/main/RepositoryExternal.mk Wed Nov 14 23:44:03 2012
@@ -39,8 +39,7 @@
 ifeq ($(SYSTEM_ZLIB),YES)
 
 define gb_LinkTarget__use_zlib
-$(call gb_LinkTarget_set_defs,$(1),\
-	$$(DEFS) \
+$(call gb_LinkTarget_add_defs,$(1),\
 	-DSYSTEM_ZLIB \
 )
 $(call gb_LinkTarget_add_libs,$(1),-lz)
@@ -90,8 +89,7 @@ ifeq ($(SYSTEM_EXPAT),YES)
 define gb_LinkTarget__use_expat
 $(if $(2),,$(error gb_LinkTarget__use_expat needs additional parameter))
 
-$(call gb_LinkTarget_set_defs,$(1),\
-	$$(DEFS) \
+$(call gb_LinkTarget_add_defs,$(1),\
 	-DSYSTEM_EXPAT \
 )
 
@@ -110,8 +108,7 @@ define gb_LinkTarget__use_expat
 $(if $(2),,$(error gb_LinkTarget__use_expat needs additional parameter))
 
 $(if $(filter-out ascii_expat_xmlparse,$(2)),\
-	$(call gb_LinkTarget_set_defs,$(1),\
-		$$(DEFS) \
+	$(call gb_LinkTarget_add_defs,$(1),\
 		-DXML_UNICODE \
 ))
 
@@ -136,8 +133,7 @@ endef
 ifeq ($(SYSTEM_LIBXML),YES)
 
 define gb_LinkTarget__use_libxml2
-$(call gb_LinkTarget_set_defs,$(1),\
-	$$(DEFS) \
+$(call gb_LinkTarget_add_defs,$(1),\
 	-DSYSTEM_LIBXML \
 )
 $(call gb_LinkTarget_set_include,$(1),\
@@ -190,8 +186,7 @@ endif # SYSTEM_LIBXSLT
 ifeq ($(SYSTEM_REDLAND),YES)
 
 define gb_LinkTarget__use_librdf
-$(call gb_LinkTarget_set_defs,$(1),\
-	$$(DEFS) \
+$(call gb_LinkTarget_add_defs,$(1),\
 	-DSYSTEM_REDLAND \
 )
 $(call gb_LinkTarget_set_include,$(1),\

Modified: incubator/ooo/branches/gbuild/main/basebmp/CppunitTest_basebmp.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basebmp/CppunitTest_basebmp.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basebmp/CppunitTest_basebmp.mk (original)
+++ incubator/ooo/branches/gbuild/main/basebmp/CppunitTest_basebmp.mk Wed Nov 14 23:44:03 2012
@@ -48,8 +48,4 @@ $(eval $(call gb_CppunitTest_add_linked_
     $(gb_STDLIBS) \
 ))
 
-$(eval $(call gb_CppunitTest_set_include,basebmp_test,\
-	$$(INCLUDE) \
-))
-
 # vim: set noet sw=4 ts=4:

Modified: incubator/ooo/branches/gbuild/main/basebmp/Library_basebmp.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basebmp/Library_basebmp.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basebmp/Library_basebmp.mk (original)
+++ incubator/ooo/branches/gbuild/main/basebmp/Library_basebmp.mk Wed Nov 14 23:44:03 2012
@@ -40,8 +40,7 @@ $(eval $(call gb_Library_set_include,bas
 	$$(INCLUDE) \
 ))
 
-$(eval $(call gb_Library_set_defs,basebmp,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,basebmp,\
 	-DBASEBMP_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/basegfx/Library_basegfx.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/Library_basegfx.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/Library_basegfx.mk (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/Library_basegfx.mk Wed Nov 14 23:44:03 2012
@@ -43,8 +43,7 @@ $(eval $(call gb_Library_set_include,bas
 	$$(INCLUDE) \
 ))
 
-$(eval $(call gb_Library_set_defs,basegfx,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,basegfx,\
 	-DBASEGFX_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/basegfx/StaticLibrary_basegfx_s.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/basegfx/StaticLibrary_basegfx_s.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/basegfx/StaticLibrary_basegfx_s.mk (original)
+++ incubator/ooo/branches/gbuild/main/basegfx/StaticLibrary_basegfx_s.mk Wed Nov 14 23:44:03 2012
@@ -48,8 +48,7 @@ $(eval $(call gb_StaticLibrary_set_inclu
 # this means that all code of this static library will end in a dll
 # thus the _DLL define must be set to avoid link problems with stlport symbols
 # the BASEGFX_STATICLIBRARY define will expand all BASEGFX_DLLPRIVATE/PUBLIC macros to nothing
-$(eval $(call gb_StaticLibrary_set_defs,basegfx_s,\
-	$$(DEFS) \
+$(eval $(call gb_StaticLibrary_add_defs,basegfx_s,\
 	-DBASEGFX_STATICLIBRARY \
 	-D_DLL \
 ))

Modified: incubator/ooo/branches/gbuild/main/canvas/Library_cairocanvas.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/canvas/Library_cairocanvas.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/canvas/Library_cairocanvas.mk (original)
+++ incubator/ooo/branches/gbuild/main/canvas/Library_cairocanvas.mk Wed Nov 14 23:44:03 2012
@@ -40,13 +40,8 @@ $(eval $(call gb_Library_set_include,cai
 	-I$(SRCDIR)/canvas/inc/pch \
 ))
 
-$(eval $(call gb_Library_set_defs,cairocanvas,\
-	$$(DEFS) \
-))
-
 ifneq ($(strip $(VERBOSE)$(verbose)),)
-$(eval $(call gb_Library_set_defs,cairocanvas,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,cairocanvas,\
 	-DVERBOSE \
 ))
 endif

Modified: incubator/ooo/branches/gbuild/main/canvas/Library_canvasfactory.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/canvas/Library_canvasfactory.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/canvas/Library_canvasfactory.mk (original)
+++ incubator/ooo/branches/gbuild/main/canvas/Library_canvasfactory.mk Wed Nov 14 23:44:03 2012
@@ -40,10 +40,6 @@ $(eval $(call gb_Library_set_include,can
 	-I$(SRCDIR)/canvas/inc/pch \
 ))
 
-$(eval $(call gb_Library_set_defs,canvasfactory,\
-	$$(DEFS) \
-))
-
 $(eval $(call gb_Library_add_linked_libs,canvasfactory,\
 	sal \
 	stl \

Modified: incubator/ooo/branches/gbuild/main/canvas/Library_canvastools.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/canvas/Library_canvastools.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/canvas/Library_canvastools.mk (original)
+++ incubator/ooo/branches/gbuild/main/canvas/Library_canvastools.mk Wed Nov 14 23:44:03 2012
@@ -1,7 +1,7 @@
 #*************************************************************************
 #
 # 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
@@ -42,21 +42,18 @@ $(eval $(call gb_Library_set_include,can
 	-I$(SRCDIR)/canvas/inc/pch \
 ))
 
-$(eval $(call gb_Library_set_defs,canvastools,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,canvastools,\
 	-DCANVASTOOLS_DLLIMPLEMENTATION \
 ))
 
 ifneq ($(strip $(VERBOSE)$(verbose)),)
-$(eval $(call gb_Library_set_defs,canvastools,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,canvastools,\
 	-DVERBOSE \
 ))
 endif
 
 ifneq ($(strip $(PROFILER)$(profiler)),)
-$(eval $(call gb_Library_set_defs,canvastools,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,canvastools,\
 	-DPROFILER \
 ))
 endif
@@ -91,7 +88,7 @@ $(eval $(call gb_Library_add_exception_o
 	canvas/source/tools/verifyinput \
 ))
 
-ifeq ($(strip $(ENABLE_AGG)),YES) 
+ifeq ($(strip $(ENABLE_AGG)),YES)
 $(eval $(call gb_Library_add_exception_objects,canvastools,\
 	canvas/source/tools/bitmap \
 	canvas/source/tools/image \
@@ -99,9 +96,8 @@ $(eval $(call gb_Library_add_exception_o
 $(eval $(call gb_Library_add_linked_libs,canvastools,\
 	agg \
 ))
-ifneq ($(strip $(AGG_VERSION)),) 
-$(eval $(call gb_Library_set_defs,canvastools,\
-	$$(DEFS) \
+ifneq ($(strip $(AGG_VERSION)),)
+$(eval $(call gb_Library_add_defs,canvastools,\
 	-DAGG_VERSION=$(AGG_VERSION) \
 ))
 endif

Modified: incubator/ooo/branches/gbuild/main/canvas/Library_directx5canvas.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/canvas/Library_directx5canvas.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/canvas/Library_directx5canvas.mk (original)
+++ incubator/ooo/branches/gbuild/main/canvas/Library_directx5canvas.mk Wed Nov 14 23:44:03 2012
@@ -41,14 +41,12 @@ $(eval $(call gb_Library_set_include,dir
 	-I$(SRCDIR)/canvas/source/directx \
 ))
 
-$(eval $(call gb_Library_set_defs,directx5canvas,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,directx5canvas,\
 	-DDIRECTX_VERSION=0x0500 \
 ))
 
 ifneq ($(strip $(VERBOSE)$(verbose)),)
-$(eval $(call gb_Library_set_defs,directx5canvas,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,directx5canvas,\
 	-DVERBOSE \
 ))
 endif

Modified: incubator/ooo/branches/gbuild/main/canvas/Library_directx9canvas.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/canvas/Library_directx9canvas.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/canvas/Library_directx9canvas.mk (original)
+++ incubator/ooo/branches/gbuild/main/canvas/Library_directx9canvas.mk Wed Nov 14 23:44:03 2012
@@ -40,14 +40,12 @@ $(eval $(call gb_Library_set_include,dir
 	-I$(SRCDIR)/canvas/inc/pch \
 ))
 
-$(eval $(call gb_Library_set_defs,directx9canvas,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,directx9canvas,\
 	-DDIRECTX_VERSION=0x0900 \
 ))
 
 ifneq ($(strip $(VERBOSE)$(verbose)),)
-$(eval $(call gb_Library_set_defs,directx9canvas,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,directx9canvas,\
 	-DVERBOSE \
 ))
 endif

Modified: incubator/ooo/branches/gbuild/main/canvas/Library_gdipluscanvas.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/canvas/Library_gdipluscanvas.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/canvas/Library_gdipluscanvas.mk (original)
+++ incubator/ooo/branches/gbuild/main/canvas/Library_gdipluscanvas.mk Wed Nov 14 23:44:03 2012
@@ -40,14 +40,12 @@ $(eval $(call gb_Library_set_include,gdi
 	-I$(SRCDIR)/canvas/inc/pch \
 ))
 
-$(eval $(call gb_Library_set_defs,gdipluscanvas,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,gdipluscanvas,\
 	-DDIRECTX_VERSION=0x0900 \
 ))
 
 ifneq ($(strip $(VERBOSE)$(verbose)),)
-$(eval $(call gb_Library_set_defs,gdipluscanvas,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,gdipluscanvas,\
 	-DVERBOSE \
 ))
 endif

Modified: incubator/ooo/branches/gbuild/main/canvas/Library_nullcanvas.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/canvas/Library_nullcanvas.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/canvas/Library_nullcanvas.mk (original)
+++ incubator/ooo/branches/gbuild/main/canvas/Library_nullcanvas.mk Wed Nov 14 23:44:03 2012
@@ -38,13 +38,8 @@ $(eval $(call gb_Library_set_include,nul
 	-I$(SRCDIR)/canvas/inc/pch \
 ))
 
-$(eval $(call gb_Library_set_defs,nullcanvas,\
-	$$(DEFS) \
-))
-
 ifneq ($(strip $(VERBOSE)$(verbose)),)
-$(eval $(call gb_Library_set_defs,nullcanvas,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,nullcanvas,\
 	-DVERBOSE \
 ))
 endif

Modified: incubator/ooo/branches/gbuild/main/canvas/Library_simplecanvas.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/canvas/Library_simplecanvas.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/canvas/Library_simplecanvas.mk (original)
+++ incubator/ooo/branches/gbuild/main/canvas/Library_simplecanvas.mk Wed Nov 14 23:44:03 2012
@@ -40,13 +40,8 @@ $(eval $(call gb_Library_set_include,sim
 	-I$(SRCDIR)/canvas/inc/pch \
 ))
 
-$(eval $(call gb_Library_set_defs,simplecanvas,\
-	$$(DEFS) \
-))
-
 ifneq ($(strip $(VERBOSE)$(verbose)),)
-$(eval $(call gb_Library_set_defs,simplecanvas,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,simplecanvas,\
 	-DVERBOSE \
 ))
 endif

Modified: incubator/ooo/branches/gbuild/main/canvas/Library_vclcanvas.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/canvas/Library_vclcanvas.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/canvas/Library_vclcanvas.mk (original)
+++ incubator/ooo/branches/gbuild/main/canvas/Library_vclcanvas.mk Wed Nov 14 23:44:03 2012
@@ -40,13 +40,8 @@ $(eval $(call gb_Library_set_include,vcl
 	-I$(SRCDIR)/canvas/inc/pch \
 ))
 
-$(eval $(call gb_Library_set_defs,vclcanvas,\
-	$$(DEFS) \
-))
-
 ifneq ($(strip $(VERBOSE)$(verbose)),)
-$(eval $(call gb_Library_set_defs,vclcanvas,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vclcanvas,\
 	-DVERBOSE \
 ))
 endif

Modified: incubator/ooo/branches/gbuild/main/comphelper/Library_comphelp.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/comphelper/Library_comphelp.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/comphelper/Library_comphelp.mk (original)
+++ incubator/ooo/branches/gbuild/main/comphelper/Library_comphelp.mk Wed Nov 14 23:44:03 2012
@@ -35,8 +35,7 @@ $(eval $(call gb_Library_set_include,com
 	$$(INCLUDE) \
 ))
 
-$(eval $(call gb_Library_set_defs,comphelper,\
-       $$(DEFS) \
+$(eval $(call gb_Library_add_defs,comphelper,\
        -DCOMPHELPER_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/cppcanvas/Library_cppcanvas.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/cppcanvas/Library_cppcanvas.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/cppcanvas/Library_cppcanvas.mk (original)
+++ incubator/ooo/branches/gbuild/main/cppcanvas/Library_cppcanvas.mk Wed Nov 14 23:44:03 2012
@@ -43,8 +43,7 @@ $(eval $(call gb_Library_set_include,cpp
 	$$(INCLUDE) \
 ))
 
-$(eval $(call gb_Library_set_defs,cppcanvas,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,cppcanvas,\
 	-DCPPCANVAS_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/drawinglayer/Library_drawinglayer.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/drawinglayer/Library_drawinglayer.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/drawinglayer/Library_drawinglayer.mk (original)
+++ incubator/ooo/branches/gbuild/main/drawinglayer/Library_drawinglayer.mk Wed Nov 14 23:44:03 2012
@@ -42,8 +42,7 @@ $(eval $(call gb_Library_add_api,drawing
 	offapi \
 ))
 
-$(eval $(call gb_Library_set_defs,drawinglayer,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,drawinglayer,\
 	-DDRAWINGLAYER_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/editeng/Library_editeng.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/editeng/Library_editeng.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/editeng/Library_editeng.mk (original)
+++ incubator/ooo/branches/gbuild/main/editeng/Library_editeng.mk Wed Nov 14 23:44:03 2012
@@ -33,14 +33,12 @@ $(eval $(call gb_Library_set_include,edi
     -I$(SRCDIR)/editeng/inc \
 ))
 
-$(eval $(call gb_Library_set_defs,editeng,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,editeng,\
 	-DEDITENG_DLLIMPLEMENTATION \
 ))
 
 ifneq ($(strip $(EDITDEBUG)),)
-$(eval $(call gb_Library_set_defs,editeng,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,editeng,\
 	-DEDITDEBUG \
 ))
 endif

Modified: incubator/ooo/branches/gbuild/main/framework/Library_fwe.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/framework/Library_fwe.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/framework/Library_fwe.mk (original)
+++ incubator/ooo/branches/gbuild/main/framework/Library_fwe.mk Wed Nov 14 23:44:03 2012
@@ -32,8 +32,7 @@ $(eval $(call gb_Library_set_include,fwe
 	-I$(OUTDIR)/inc/framework \
 ))
 
-$(eval $(call gb_Library_set_defs,fwe,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,fwe,\
 	-DFWE_DLLIMPLEMENTATION\
 ))
 

Modified: incubator/ooo/branches/gbuild/main/framework/Library_fwi.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/framework/Library_fwi.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/framework/Library_fwi.mk (original)
+++ incubator/ooo/branches/gbuild/main/framework/Library_fwi.mk Wed Nov 14 23:44:03 2012
@@ -25,8 +25,7 @@ $(eval $(call gb_Library_Library,fwi))
 
 $(eval $(call gb_Library_add_package_headers,fwi,framework_inc))
 
-$(eval $(call gb_Library_set_defs,fwi,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,fwi,\
 	-DFWI_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/linguistic/Library_lng.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/linguistic/Library_lng.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/linguistic/Library_lng.mk (original)
+++ incubator/ooo/branches/gbuild/main/linguistic/Library_lng.mk Wed Nov 14 23:44:03 2012
@@ -1,7 +1,7 @@
 #*************************************************************************
 #
 # 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
@@ -24,7 +24,7 @@
 # for a copy of the LGPLv3 License.
 #
 #*************************************************************************
-	
+
 $(eval $(call gb_Library_Library,lng))
 
 $(eval $(call gb_Library_add_package_headers,lng,linguistic_inc))
@@ -43,9 +43,8 @@ $(eval $(call gb_Library_set_include,lng
 	-I$(SRCDIR)/linguistic/inc \
 	-I$(SRCDIR)/linguistic/inc/pch \
 ))
-	
-$(eval $(call gb_Library_set_defs,lng,\
-	$$(DEFS) \
+
+$(eval $(call gb_Library_add_defs,lng,\
 	-DLNG_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/padmin/Library_spa.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/padmin/Library_spa.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/padmin/Library_spa.mk (original)
+++ incubator/ooo/branches/gbuild/main/padmin/Library_spa.mk Wed Nov 14 23:44:03 2012
@@ -28,8 +28,7 @@ $(eval $(call gb_Library_set_include,spa
 	-I$(OUTDIR)/inc/stl \
 ))
 
-$(eval $(call gb_Library_set_defs,spa,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,spa,\
 	-DSPA_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/sax/Library_expwrap.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/sax/Library_expwrap.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/sax/Library_expwrap.mk (original)
+++ incubator/ooo/branches/gbuild/main/sax/Library_expwrap.mk Wed Nov 14 23:44:03 2012
@@ -39,10 +39,6 @@ $(eval $(call gb_Library_set_include,exp
 	-I$(SRCDIR)/sax/inc \
 ))
 
-$(eval $(call gb_Library_set_defs,expwrap,\
-	$$(DEFS) \
-))
-
 $(eval $(call gb_Library_add_linked_libs,expwrap,\
 	sal \
 	cppu \

Modified: incubator/ooo/branches/gbuild/main/sax/Library_fastsax.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/sax/Library_fastsax.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/sax/Library_fastsax.mk (original)
+++ incubator/ooo/branches/gbuild/main/sax/Library_fastsax.mk Wed Nov 14 23:44:03 2012
@@ -39,10 +39,6 @@ $(eval $(call gb_Library_set_include,fas
 	-I$(SRCDIR)/sax/inc \
 ))
 
-$(eval $(call gb_Library_set_defs,fastsax,\
-	$$(DEFS) \
-))
-
 $(eval $(call gb_Library_add_linked_libs,fastsax,\
 	sal \
 	cppu \
@@ -53,8 +49,7 @@ $(eval $(call gb_Library_add_linked_libs
 ))
 
 ifeq ($(SYSTEM_ZLIB),YES)
-$(eval $(call gb_Library_set_defs,fastsax,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,fastsax,\
 	-DSYSTEM_ZLIB \
 ))
 endif

Modified: incubator/ooo/branches/gbuild/main/sax/Library_sax.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/sax/Library_sax.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/sax/Library_sax.mk (original)
+++ incubator/ooo/branches/gbuild/main/sax/Library_sax.mk Wed Nov 14 23:44:03 2012
@@ -41,8 +41,7 @@ $(eval $(call gb_Library_set_include,sax
 	-I$(SRCDIR)/sax/inc \
 ))
 
-$(eval $(call gb_Library_set_defs,sax,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,sax,\
 	-DSAX_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/sfx2/Library_qstart.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/sfx2/Library_qstart.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/sfx2/Library_qstart.mk (original)
+++ incubator/ooo/branches/gbuild/main/sfx2/Library_qstart.mk Wed Nov 14 23:44:03 2012
@@ -38,8 +38,7 @@ $(eval $(call gb_Library_add_api,qstart_
 	offapi \
 ))
 
-$(eval $(call gb_Library_set_defs,qstart_gtk,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,qstart_gtk,\
 	-DDLL_NAME=$(notdir $(call gb_Library_get_target,sfx2)) \
 	-DENABLE_QUICKSTART_APPLET \
 ))

Modified: incubator/ooo/branches/gbuild/main/sfx2/Library_sfx.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/sfx2/Library_sfx.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/sfx2/Library_sfx.mk (original)
+++ incubator/ooo/branches/gbuild/main/sfx2/Library_sfx.mk Wed Nov 14 23:44:03 2012
@@ -50,8 +50,7 @@ $(eval $(call gb_Library_set_include,sfx
 	-I$(OUTDIR)/inc \
 ))
 
-$(eval $(call gb_Library_set_defs,sfx,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,sfx,\
 	-DSFX2_DLLIMPLEMENTATION \
 ))
 
@@ -259,23 +258,13 @@ $(eval $(call gb_SdiTarget_set_include,s
 ))
 
 ifeq ($(OS),$(filter WNT MACOSX,$(OS)))
-$(eval $(call gb_Library_set_defs,sfx,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,sfx,\
 	-DENABLE_QUICKSTART_APPLET \
 ))
 endif
 
 ifeq ($(ENABLE_SYSTRAY_GTK),TRUE)
-$(eval $(call gb_Library_set_defs,sfx,\
-	$$(DEFS) \
-	-DENABLE_QUICKSTART_APPLET \
-	-DENABLE_SYSTRAY_GTK \
-))
-endif
-
-ifeq ($(ENABLE_SYSTRAY_GTK),TRUE)
-$(eval $(call gb_Library_set_defs,sfx,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,sfx,\
 	-DENABLE_QUICKSTART_APPLET \
 	-DENABLE_SYSTRAY_GTK \
 ))

Modified: incubator/ooo/branches/gbuild/main/solenv/gbuild/Library.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/solenv/gbuild/Library.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/solenv/gbuild/Library.mk (original)
+++ incubator/ooo/branches/gbuild/main/solenv/gbuild/Library.mk Wed Nov 14 23:44:03 2012
@@ -64,8 +64,7 @@ endef
 define gb_Library__Library_impl
 $(call gb_LinkTarget_LinkTarget,$(2))
 $(call gb_LinkTarget_set_targettype,$(2),Library)
-$(call gb_LinkTarget_set_defs,$(2),\
-	$$(DEFS) \
+$(call gb_LinkTarget_add_defs,$(2),\
 	$(gb_Library_DEFS) \
 )
 $(call gb_Library_get_target,$(1)) : $(call gb_LinkTarget_get_target,$(2))

Modified: incubator/ooo/branches/gbuild/main/solenv/gbuild/LinkTarget.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/solenv/gbuild/LinkTarget.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/solenv/gbuild/LinkTarget.mk (original)
+++ incubator/ooo/branches/gbuild/main/solenv/gbuild/LinkTarget.mk Wed Nov 14 23:44:03 2012
@@ -420,6 +420,10 @@ endif
 endef
 
 define gb_LinkTarget_set_defs
+ifeq (,)
+$$(call gb_Output_error,\
+ gb_LinkTarget_set_defs: use gb_LinkTarget_add_defs instead.)
+else
 $(call gb_LinkTarget_get_headers_target,$(1)) \
 $(call gb_LinkTarget_get_target,$(1)) : DEFS := $(2)
 $(call gb_LinkTarget_get_headers_target,$(1)) \
@@ -429,6 +433,7 @@ ifeq ($(gb_FULLDEPS),$(true))
 $(call gb_LinkTarget_get_dep_target,$(1)) : DEFS := $(2)
 $(call gb_LinkTarget_get_dep_target,$(1)) : PCH_DEFS := $(2)
 endif
+endif
 
 endef
 
@@ -441,10 +446,15 @@ endif
 endef
 
 define gb_LinkTarget_set_cflags
+ifeq (,)
+$$(call gb_Output_error,\
+ gb_LinkTarget_set_cflags: use gb_LinkTarget_add_cflags instead.)
+else
 $(call gb_LinkTarget_get_target,$(1)) : T_CFLAGS := $(2)
 ifeq ($(gb_FULLDEPS),$(true))
 $(call gb_LinkTarget_get_dep_target,$(1)) : T_CFLAGS := $(2)
 endif
+endif
 
 endef
 
@@ -459,8 +469,11 @@ $(call gb_LinkTarget_get_dep_target,$(1)
 endif
 endef
 
-# maybe should deprecate this...
 define gb_LinkTarget_set_cxxflags
+ifeq (,)
+$$(call gb_Output_error,\
+ gb_LinkTarget_set_cxxflags: use gb_LinkTarget_add_cxxflags instead.)
+else
 $(call gb_LinkTarget_get_headers_target,$(1)) \
 $(call gb_LinkTarget_get_target,$(1)) : T_CXXFLAGS := $(2)
 $(call gb_LinkTarget_get_headers_target,$(1)) \
@@ -469,6 +482,7 @@ ifeq ($(gb_FULLDEPS),$(true))
 $(call gb_LinkTarget_get_dep_target,$(1)) : T_CXXFLAGS := $(2)
 $(call gb_LinkTarget_get_dep_target,$(1)) : PCH_CXXFLAGS := $(2)
 endif
+endif
 
 endef
 
@@ -480,10 +494,15 @@ endif
 endef
 
 define gb_LinkTarget_set_objcxxflags
+ifeq (,)
+$$(call gb_Output_error,\
+ gb_LinkTarget_set_objcxxflags: use gb_LinkTarget_add_objcxxflags instead.)
+else
 $(call gb_LinkTarget_get_target,$(1)) : T_OBJCXXFLAGS := $(2)
 ifeq ($(gb_FULLDEPS),$(true))
 $(call gb_LinkTarget_get_dep_target,$(1)) : T_OBJCXXFLAGS := $(2)
 endif
+endif
 
 endef
 
@@ -509,6 +528,7 @@ define gb_LinkTarget_add_ldflags
 $(call gb_LinkTarget_get_target,$(1)) : T_LDFLAGS += $(2)
 endef
 
+# real use in RepositoryExternal.mk
 define gb_LinkTarget_set_ldflags
 $(call gb_LinkTarget_get_target,$(1)) : T_LDFLAGS := $(2)
 endef

Modified: incubator/ooo/branches/gbuild/main/solenv/gbuild/StaticLibrary.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/solenv/gbuild/StaticLibrary.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/solenv/gbuild/StaticLibrary.mk (original)
+++ incubator/ooo/branches/gbuild/main/solenv/gbuild/StaticLibrary.mk Wed Nov 14 23:44:03 2012
@@ -59,8 +59,7 @@ endef
 define gb_StaticLibrary__StaticLibrary_impl
 $(call gb_LinkTarget_LinkTarget,$(2))
 $(call gb_LinkTarget_set_targettype,$(2),StaticLibrary)
-$(call gb_LinkTarget_set_defs,$(2),\
-	$$(DEFS) \
+$(call gb_LinkTarget_add_defs,$(2),\
 	$(gb_StaticLibrary_DEFS) \
 )
 $(call gb_StaticLibrary_get_target,$(1)) : $(call gb_LinkTarget_get_target,$(2))

Modified: incubator/ooo/branches/gbuild/main/solenv/gbuild/templates/Library.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/solenv/gbuild/templates/Library.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/solenv/gbuild/templates/Library.mk (original)
+++ incubator/ooo/branches/gbuild/main/solenv/gbuild/templates/Library.mk Wed Nov 14 23:44:03 2012
@@ -45,9 +45,8 @@ $(eval $(call gb_Library_set_include,LIB
 
 # add any additional definitions to be set for compilation here
 # (e.g. -DLIB_DLLIMPLEMENTATION)
-$(eval $(call gb_Library_set_defs,LIB,\
-	$$(DEFS) \
-))
+#$(eval $(call gb_Library_add_defs,LIB,\
+#))
 
 # add libraries to be linked to LIB; again these names need to be given as
 # specified in Repository.mk

Modified: incubator/ooo/branches/gbuild/main/sot/Library_sot.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/sot/Library_sot.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/sot/Library_sot.mk (original)
+++ incubator/ooo/branches/gbuild/main/sot/Library_sot.mk Wed Nov 14 23:44:03 2012
@@ -39,8 +39,7 @@ $(eval $(call gb_Library_add_api,sot,\
 	offapi \
 ))
 
-$(eval $(call gb_Library_set_defs,sot,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,sot,\
 	-DSOT_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/starmath/Library_sm.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/starmath/Library_sm.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/starmath/Library_sm.mk (original)
+++ incubator/ooo/branches/gbuild/main/starmath/Library_sm.mk Wed Nov 14 23:44:03 2012
@@ -46,10 +46,6 @@ $(eval $(call gb_Library_set_include,sm,
 	-I$(OUTDIR)/inc \
 ))
 
-$(eval $(call gb_Library_set_defs,sm,\
-	$$(DEFS) \
-))
-
 $(eval $(call gb_Library_add_linked_libs,sm,\
 	comphelper \
 	cppu \

Modified: incubator/ooo/branches/gbuild/main/starmath/Library_smd.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/starmath/Library_smd.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/starmath/Library_smd.mk (original)
+++ incubator/ooo/branches/gbuild/main/starmath/Library_smd.mk Wed Nov 14 23:44:03 2012
@@ -42,10 +42,6 @@ $(eval $(call gb_Library_set_include,smd
 	-I$(SRCDIR)/starmath/inc/pch \
 ))
 
-$(eval $(call gb_Library_set_defs,smd,\
-	$$(DEFS) \
-))
-
 $(eval $(call gb_Library_add_linked_libs,smd,\
 	cppu \
 	cppuhelper \

Modified: incubator/ooo/branches/gbuild/main/svgio/Library_svgio.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/svgio/Library_svgio.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/svgio/Library_svgio.mk (original)
+++ incubator/ooo/branches/gbuild/main/svgio/Library_svgio.mk Wed Nov 14 23:44:03 2012
@@ -39,8 +39,7 @@ $(eval $(call gb_Library_add_api,svgio,\
 	offapi \
 ))
 
-$(eval $(call gb_Library_set_defs,svgio,\
-    $$(DEFS) \
+$(eval $(call gb_Library_add_defs,svgio,\
     -DSVGIO_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/svl/Library_svl.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/svl/Library_svl.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/svl/Library_svl.mk (original)
+++ incubator/ooo/branches/gbuild/main/svl/Library_svl.mk Wed Nov 14 23:44:03 2012
@@ -40,8 +40,7 @@ $(eval $(call gb_Library_add_api,svl,\
 	offapi \
 ))
 
-$(eval $(call gb_Library_set_defs,svl,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,svl,\
 	-DSVL_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/svtools/Library_svt.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/svtools/Library_svt.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/svtools/Library_svt.mk (original)
+++ incubator/ooo/branches/gbuild/main/svtools/Library_svt.mk Wed Nov 14 23:44:03 2012
@@ -46,8 +46,7 @@ $(eval $(call gb_Library_set_include,svt
 	-I$(SRCDIR)/svtools/inc/pch \
 ))
 
-$(eval $(call gb_Library_set_defs,svt,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,svt,\
 	-DSVT_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/svx/Library_svx.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/svx/Library_svx.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/svx/Library_svx.mk (original)
+++ incubator/ooo/branches/gbuild/main/svx/Library_svx.mk Wed Nov 14 23:44:03 2012
@@ -37,8 +37,7 @@ $(eval $(call gb_Library_add_api,svx,\
 	offapi \
 ))
 
-$(eval $(call gb_Library_set_defs,svx,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,svx,\
 	-DSVX_DLLIMPLEMENTATION \
 	-DBOOST_SPIRIT_USE_OLD_NAMESPACE \
 ))

Modified: incubator/ooo/branches/gbuild/main/svx/Library_svxcore.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/svx/Library_svxcore.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/svx/Library_svxcore.mk (original)
+++ incubator/ooo/branches/gbuild/main/svx/Library_svxcore.mk Wed Nov 14 23:44:03 2012
@@ -51,8 +51,7 @@ $(eval $(call gb_Library_set_include,svx
 #CFLAGS+= -DUNICODE -D_UNICODE
 #.ENDIF
 
-$(eval $(call gb_Library_set_defs,svxcore,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,svxcore,\
 	-DSVX_DLLIMPLEMENTATION \
 	-DBOOST_SPIRIT_USE_OLD_NAMESPACE \
 ))

Modified: incubator/ooo/branches/gbuild/main/svx/Library_textconversiondlgs.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/svx/Library_textconversiondlgs.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/svx/Library_textconversiondlgs.mk (original)
+++ incubator/ooo/branches/gbuild/main/svx/Library_textconversiondlgs.mk Wed Nov 14 23:44:03 2012
@@ -36,10 +36,6 @@ $(eval $(call gb_Library_add_api,textcon
 	offapi \
 ))
 
-$(eval $(call gb_Library_set_defs,textconversiondlgs,\
-	$$(DEFS) \
-))
-
 $(eval $(call gb_Library_add_linked_libs,textconversiondlgs,\
 	comphelper \
 	cppuhelper \

Modified: incubator/ooo/branches/gbuild/main/sw/Library_msword.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/sw/Library_msword.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/sw/Library_msword.mk (original)
+++ incubator/ooo/branches/gbuild/main/sw/Library_msword.mk Wed Nov 14 23:44:03 2012
@@ -42,10 +42,6 @@ $(eval $(call gb_Library_add_api,msword,
 	offapi \
 ))
 
-$(eval $(call gb_Library_set_defs,msword,\
-	$$(DEFS) \
-))
-
 $(eval $(call gb_Library_add_linked_libs,msword,\
 	basegfx \
 	comphelper \

Modified: incubator/ooo/branches/gbuild/main/sw/Library_sw.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/sw/Library_sw.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/sw/Library_sw.mk (original)
+++ incubator/ooo/branches/gbuild/main/sw/Library_sw.mk Wed Nov 14 23:44:03 2012
@@ -46,8 +46,7 @@ $(eval $(call gb_Library_add_api,sw,\
 	offapi \
 ))
 
-$(eval $(call gb_Library_set_defs,sw,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,sw,\
 	-DSW_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/sw/Library_swd.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/sw/Library_swd.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/sw/Library_swd.mk (original)
+++ incubator/ooo/branches/gbuild/main/sw/Library_swd.mk Wed Nov 14 23:44:03 2012
@@ -41,10 +41,6 @@ $(eval $(call gb_Library_add_api,swd,\
 	offapi \
 ))
 
-$(eval $(call gb_Library_set_defs,swd,\
-	$$(DEFS) \
-))
-
 $(eval $(call gb_Library_add_linked_libs,swd,\
 	comphelper \
 	cppu \

Modified: incubator/ooo/branches/gbuild/main/sw/Library_swui.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/sw/Library_swui.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/sw/Library_swui.mk (original)
+++ incubator/ooo/branches/gbuild/main/sw/Library_swui.mk Wed Nov 14 23:44:03 2012
@@ -34,10 +34,6 @@ $(eval $(call gb_Library_set_include,swu
 	$$(INCLUDE) \
 ))
 
-$(eval $(call gb_Library_set_defs,swui,\
-	$$(DEFS) \
-))
-
 $(eval $(call gb_Library_add_api,swui,\
 	udkapi \
 	offapi \

Modified: incubator/ooo/branches/gbuild/main/toolkit/Library_tk.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/toolkit/Library_tk.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/toolkit/Library_tk.mk (original)
+++ incubator/ooo/branches/gbuild/main/toolkit/Library_tk.mk Wed Nov 14 23:44:03 2012
@@ -36,8 +36,7 @@ $(eval $(call gb_Library_set_include,tk,
 	-I$(SRCDIR)/toolkit/source \
 ))
 
-$(eval $(call gb_Library_set_defs,tk,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,tk,\
 	-DTOOLKIT_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/tools/Library_tl.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/tools/Library_tl.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/tools/Library_tl.mk (original)
+++ incubator/ooo/branches/gbuild/main/tools/Library_tl.mk Wed Nov 14 23:44:03 2012
@@ -36,8 +36,7 @@ $(eval $(call gb_Library_set_include,tl,
 	-I$(OUTDIR)/inc/stl \
 ))
 
-$(eval $(call gb_Library_set_defs,tl,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,tl,\
 	-DTOOLS_DLLIMPLEMENTATION \
 	-DVCL \
 ))

Modified: incubator/ooo/branches/gbuild/main/ucbhelper/Library_ucbhelper.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/ucbhelper/Library_ucbhelper.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/ucbhelper/Library_ucbhelper.mk (original)
+++ incubator/ooo/branches/gbuild/main/ucbhelper/Library_ucbhelper.mk Wed Nov 14 23:44:03 2012
@@ -42,8 +42,7 @@ $(eval $(call gb_Library_set_include,ucb
 	-I$(SRCDIR)/ucbhelper/inc/pch \
 ))
 
-$(eval $(call gb_Library_set_defs,ucbhelper,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,ucbhelper,\
 	-DUCBHELPER_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/unotools/Library_utl.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/unotools/Library_utl.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/unotools/Library_utl.mk (original)
+++ incubator/ooo/branches/gbuild/main/unotools/Library_utl.mk Wed Nov 14 23:44:03 2012
@@ -56,8 +56,7 @@ $(eval $(call gb_Library_set_include,utl
 
 # add any additional definitions to be set for compilation here
 # (e.g. -DLIB_DLLIMPLEMENTATION)
-$(eval $(call gb_Library_set_defs,utl,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,utl,\
 	-DUNOTOOLS_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/unoxml/Library_unordf.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/unoxml/Library_unordf.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/unoxml/Library_unordf.mk (original)
+++ incubator/ooo/branches/gbuild/main/unoxml/Library_unordf.mk Wed Nov 14 23:44:03 2012
@@ -29,10 +29,6 @@ $(eval $(call gb_Library_set_include,uno
 	$$(INCLUDE) \
 ))
 
-$(eval $(call gb_Library_set_defs,unordf,\
-	$$(DEFS) \
-))
-
 $(eval $(call gb_Library_add_api,unordf,\
 	udkapi \
 	offapi \

Modified: incubator/ooo/branches/gbuild/main/unoxml/Library_unoxml.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/unoxml/Library_unoxml.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/unoxml/Library_unoxml.mk (original)
+++ incubator/ooo/branches/gbuild/main/unoxml/Library_unoxml.mk Wed Nov 14 23:44:03 2012
@@ -29,10 +29,6 @@ $(eval $(call gb_Library_set_include,uno
 	$$(INCLUDE) \
 ))
 
-$(eval $(call gb_Library_set_defs,unoxml,\
-	$$(DEFS) \
-))
-
 $(eval $(call gb_Library_add_api,unoxml,\
 	udkapi \
 	offapi \

Modified: incubator/ooo/branches/gbuild/main/vbahelper/Library_vbahelper.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/vbahelper/Library_vbahelper.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/vbahelper/Library_vbahelper.mk (original)
+++ incubator/ooo/branches/gbuild/main/vbahelper/Library_vbahelper.mk Wed Nov 14 23:44:03 2012
@@ -37,8 +37,7 @@ $(eval $(call gb_Library_set_include,vba
 	$$(INCLUDE) \
 ))
 
-$(eval $(call gb_Library_set_defs,vbahelper,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vbahelper,\
 	-DVBAHELPER_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/vcl/Library_desktop_detector.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/vcl/Library_desktop_detector.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/vcl/Library_desktop_detector.mk (original)
+++ incubator/ooo/branches/gbuild/main/vcl/Library_desktop_detector.mk Wed Nov 14 23:44:03 2012
@@ -41,8 +41,7 @@ $(eval $(call gb_Library_set_include,des
 	-I$(OUTDIR)/inc \
 ))
 
-$(eval $(call gb_Library_set_defs,desktop_detector,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,desktop_detector,\
     -DDESKTOP_DETECTOR_IMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/vcl/Library_vcl.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/vcl/Library_vcl.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/vcl/Library_vcl.mk (original)
+++ incubator/ooo/branches/gbuild/main/vcl/Library_vcl.mk Wed Nov 14 23:44:03 2012
@@ -55,8 +55,7 @@ $(eval $(call gb_Library_set_include,vcl
 ))
 endif
 
-$(eval $(call gb_Library_set_defs,vcl,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vcl,\
 	-DVCL_DLLIMPLEMENTATION \
     -DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,cui)\" \
     -DDLLPOSTFIX=$(subst $(or $(gb_Library_DLLEXT),$(gb_Library_PLAINEXT)),,$(gb_Library_OOOEXT)) \
@@ -105,8 +104,7 @@ $(eval $(call gb_Library_add_cxxflags,vc
     $(gb_OBJCXXFLAGS) \
 ))
 ifeq ($(ENABLE_CAIRO),TRUE)
-$(eval $(call gb_Library_set_defs,vcl,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vcl,\
 	-DCAIRO \
 ))
 endif
@@ -180,22 +178,19 @@ $(eval $(call gb_Library_add_exception_o
 endif
 
 ifeq ($(GUIBASE),unx)
-$(eval $(call gb_Library_set_defs,vcl,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vcl,\
     -DSAL_DLLPREFIX=\"$(gb_Library_SYSPRE)\" \
     -DSAL_DLLPOSTFIX=\"\" \
     -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
 ))
 ## handle fontconfig
 ifneq ($(ENABLE_FONTCONFIG),)
-$(eval $(call gb_Library_set_defs,vcl,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vcl,\
     -DENABLE_FONTCONFIG \
 ))
 ## handle CUPS
 ifneq ($(ENABLE_CUPS),)
-$(eval $(call gb_Library_set_defs,vcl,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vcl,\
     -DENABLE_CUPS \
 ))
 endif
@@ -449,8 +444,7 @@ $(eval $(call gb_Library_add_exception_o
 ## handle Graphite
 ifeq ($(ENABLE_GRAPHITE),TRUE)
 # add defines, graphite sources for all platforms
-$(eval $(call gb_Library_set_defs,vcl,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vcl,\
 	-DENABLE_GRAPHITE \
 ))
 $(eval $(call gb_Library_add_exception_objects,vcl,\

Modified: incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_gen.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_gen.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_gen.mk (original)
+++ incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_gen.mk Wed Nov 14 23:44:03 2012
@@ -115,8 +115,7 @@ $(eval $(call gb_Library_add_exception_o
     vcl/unx/generic/window/salobj \
 ))
 
-$(eval $(call gb_Library_set_defs,vclplug_gen,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vclplug_gen,\
     -D_XSALSET_LIBNAME=\"$(call gb_Library_get_runtime_filename,spa)\" \
     -DVCLPLUG_GEN_IMPLEMENTATION \
 ))
@@ -124,8 +123,7 @@ $(eval $(call gb_Library_set_defs,vclplu
 
 ## handle RandR 
 ifneq ($(ENABLE_RANDR),)
-$(eval $(call gb_Library_set_defs,vclplug_gen,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vclplug_gen,\
 	-DUSE_RANDR \
 ))
 ifeq ($(XRANDR_DLOPEN),FALSE)
@@ -137,8 +135,7 @@ $(eval $(call gb_Library_add_libs,vclplu
     $(XRANDR_LIBS) \
 ))
 else
-$(eval $(call gb_Library_set_defs,vclplug_gen,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vclplug_gen,\
 	-DXRANDR_DLOPEN \
 ))
 endif
@@ -148,8 +145,7 @@ endif
 ifneq ($(USE_XINERAMA),NO)
 ifneq ($(OS),SOLARIS)
 # not Solaris
-$(eval $(call gb_Library_set_defs,vclplug_gen,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vclplug_gen,\
 	-DUSE_XINERAMA \
 	-DUSE_XINERAMA_XORG \
 ))
@@ -164,8 +160,7 @@ $(eval $(call gb_Library_add_libs,vclplu
 endif
 else
 # Solaris
-$(eval $(call gb_Library_set_defs,vclplug_gen,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vclplug_gen,\
 	-DUSE_XINERAMA \
 	-DUSE_XINERAMA_XSUN \
 ))
@@ -186,8 +181,7 @@ endif
 
 ## handle Render linking
 ifeq ($(XRENDER_LINK),YES)
-$(eval $(call gb_Library_set_defs,vclplug_gen,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vclplug_gen,\
 	-DXRENDER_LINK \
 ))
 $(eval $(call gb_Library_add_libs,vclplug_gen,\

Modified: incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_gtk.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_gtk.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_gtk.mk (original)
+++ incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_gtk.mk Wed Nov 14 23:44:03 2012
@@ -42,8 +42,7 @@ $(eval $(call gb_Library_set_include,vcl
     $$(GTK_CFLAGS) \
 ))
 
-$(eval $(call gb_Library_set_defs,vclplug_gtk,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vclplug_gtk,\
     -DVCLPLUG_GTK_IMPLEMENTATION \
     -DVERSION=\"$(UPD)$(LAST_MINOR)\" \
 ))
@@ -53,8 +52,7 @@ $(eval $(call gb_Library_set_include,vcl
 	$$(INCLUDE) \
 	$(shell pkg-config --cflags-only-I dbus-glib-1) \
 ))
-$(eval $(call gb_Library_set_defs,vclplug_gtk,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vclplug_gtk,\
     -DENABLE_DBUS \
 ))
 $(eval $(call gb_Library_add_libs,vclplug_gtk,\

Modified: incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_kde.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_kde.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_kde.mk (original)
+++ incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_kde.mk Wed Nov 14 23:44:03 2012
@@ -42,8 +42,7 @@ $(eval $(call gb_Library_set_include,vcl
     $$(KDE_CFLAGS) \
 ))
 
-$(eval $(call gb_Library_set_defs,vclplug_kde,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vclplug_kde,\
     -DVCLPLUG_KDE_IMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_kde4.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_kde4.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_kde4.mk (original)
+++ incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_kde4.mk Wed Nov 14 23:44:03 2012
@@ -42,8 +42,7 @@ $(eval $(call gb_Library_set_include,vcl
     $$(KDE4_CFLAGS) \
 ))
 
-$(eval $(call gb_Library_set_defs,vclplug_kde4,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vclplug_kde4,\
     -DVCLPLUG_KDE4_IMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_svp.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_svp.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_svp.mk (original)
+++ incubator/ooo/branches/gbuild/main/vcl/Library_vclplug_svp.mk Wed Nov 14 23:44:03 2012
@@ -37,8 +37,7 @@ $(eval $(call gb_Library_set_include,vcl
 	-I$(OUTDIR)/inc \
 ))
 
-$(eval $(call gb_Library_set_defs,vclplug_svp,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,vclplug_svp,\
     -DVCLPLUG_SVP_IMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/vcl/StaticLibrary_vclmain.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/vcl/StaticLibrary_vclmain.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/vcl/StaticLibrary_vclmain.mk (original)
+++ incubator/ooo/branches/gbuild/main/vcl/StaticLibrary_vclmain.mk Wed Nov 14 23:44:03 2012
@@ -54,6 +54,7 @@ $(OUTDIR)/lib/$(1) : $(call gb_CxxObject
 endef
 
 ifeq ($(OS),WNT)
+$(eval $(call gb_StaticLibrary_add_defs,vclmain,-D_DLL))
 $(eval $(call StaticLibrary_salmain_hack,salmain.obj))
 else
 $(eval $(call StaticLibrary_salmain_hack,salmain.o))

Modified: incubator/ooo/branches/gbuild/main/xmloff/Library_xo.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/xmloff/Library_xo.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/xmloff/Library_xo.mk (original)
+++ incubator/ooo/branches/gbuild/main/xmloff/Library_xo.mk Wed Nov 14 23:44:03 2012
@@ -37,8 +37,7 @@ $(eval $(call gb_Library_set_include,xo,
 	-I$(SRCDIR)/xmloff/inc/pch \
 ))
 
-$(eval $(call gb_Library_set_defs,xo,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,xo,\
 	-DXMLOFF_DLLIMPLEMENTATION \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/xmlreader/Library_xmlreader.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/xmlreader/Library_xmlreader.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/xmlreader/Library_xmlreader.mk (original)
+++ incubator/ooo/branches/gbuild/main/xmlreader/Library_xmlreader.mk Wed Nov 14 23:44:03 2012
@@ -33,8 +33,7 @@ $(eval $(call gb_Library_add_api,xmlread
 	udkapi \
 ))
 
-$(eval $(call gb_Library_set_defs,xmlreader,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,xmlreader,\
 	-DOOO_DLLIMPLEMENTATION_XMLREADER \
 ))
 

Modified: incubator/ooo/branches/gbuild/main/xmlscript/Library_xcr.mk
URL: http://svn.apache.org/viewvc/incubator/ooo/branches/gbuild/main/xmlscript/Library_xcr.mk?rev=1409569&r1=1409568&r2=1409569&view=diff
==============================================================================
--- incubator/ooo/branches/gbuild/main/xmlscript/Library_xcr.mk (original)
+++ incubator/ooo/branches/gbuild/main/xmlscript/Library_xcr.mk Wed Nov 14 23:44:03 2012
@@ -42,8 +42,7 @@ $(eval $(call gb_Library_set_include,xcr
 	$$(INCLUDE) \
 ))
 
-$(eval $(call gb_Library_set_defs,xcr,\
-	$$(DEFS) \
+$(eval $(call gb_Library_add_defs,xcr,\
 	-DXCR_DLLIMPLEMENTATION \
 ))