Kaydet (Commit) bd162cb7 authored tarafından Michael Stahl's avatar Michael Stahl Kaydeden (comit) Bjoern Michaelsen

gnumake4: #i116959#: kill gb_LinkTarget_set_{defs,cflags,cxxflags,objcxxflags} [hg:389f5e8ec8cd]

üst e9f6edc6
......@@ -48,8 +48,4 @@ $(eval $(call gb_CppunitTest_add_linked_libs,basebmp_test, \
$(gb_STDLIBS) \
))
$(eval $(call gb_CppunitTest_set_include,basebmp_test,\
$$(INCLUDE) \
))
# vim: set noet sw=4 ts=4:
......@@ -36,8 +36,7 @@ $(eval $(call gb_Library_set_include,basebmp,\
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_set_defs,basebmp,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,basebmp,\
-DBASEBMP_DLLIMPLEMENTATION \
))
......
......@@ -39,8 +39,7 @@ $(eval $(call gb_Library_set_include,basegfx,\
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_set_defs,basegfx,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,basegfx,\
-DBASEGFX_DLLIMPLEMENTATION \
))
......
......@@ -44,8 +44,7 @@ $(eval $(call gb_StaticLibrary_set_include,basegfx_s,\
# 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 \
))
......
......@@ -36,13 +36,8 @@ $(eval $(call gb_Library_set_include,cairocanvas,\
-I$(OUTDIR)/inc/offuh \
))
$(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
......
......@@ -36,10 +36,6 @@ $(eval $(call gb_Library_set_include,canvasfactory,\
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_set_defs,canvasfactory,\
$$(DEFS) \
))
$(eval $(call gb_Library_add_linked_libs,canvasfactory,\
sal \
stl \
......
#*************************************************************************
#
# 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
......@@ -38,21 +38,18 @@ $(eval $(call gb_Library_set_include,canvastools,\
-I$(OUTDIR)/inc/offuh \
))
$(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
......@@ -87,7 +84,7 @@ $(eval $(call gb_Library_add_exception_objects,canvastools,\
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 \
......@@ -95,9 +92,8 @@ $(eval $(call gb_Library_add_exception_objects,canvastools,\
$(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
......
......@@ -37,14 +37,12 @@ $(eval $(call gb_Library_set_include,directx5canvas,\
-I$(OUTDIR)/inc/offuh \
))
$(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
......
......@@ -36,14 +36,12 @@ $(eval $(call gb_Library_set_include,directx9canvas,\
-I$(OUTDIR)/inc/offuh \
))
$(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
......
......@@ -36,14 +36,12 @@ $(eval $(call gb_Library_set_include,gdipluscanvas,\
-I$(OUTDIR)/inc/offuh \
))
$(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
......
......@@ -34,13 +34,8 @@ $(eval $(call gb_Library_set_include,nullcanvas,\
-I$(OUTDIR)/inc/offuh \
))
$(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
......
......@@ -36,13 +36,8 @@ $(eval $(call gb_Library_set_include,simplecanvas,\
-I$(OUTDIR)/inc/offuh \
))
$(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
......
......@@ -36,13 +36,8 @@ $(eval $(call gb_Library_set_include,vclcanvas,\
-I$(OUTDIR)/inc/offuh \
))
$(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
......
......@@ -40,8 +40,7 @@ $(eval $(call gb_Library_set_include,comphelper,\
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_set_defs,comphelper,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,comphelper,\
-DCOMPHELPER_DLLIMPLEMENTATION \
))
......
......@@ -39,8 +39,7 @@ $(eval $(call gb_Library_set_include,cppcanvas,\
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_set_defs,cppcanvas,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,cppcanvas,\
-DCPPCANVAS_DLLIMPLEMENTATION \
))
......
......@@ -33,8 +33,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 \
))
......
......@@ -34,8 +34,7 @@ $(eval $(call gb_Library_set_include,i18nregexp,\
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_set_defs,i18nregexp,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,i18nregexp,\
-DREGEXP_DLLIMPLEMENTATION \
))
......
......@@ -35,10 +35,6 @@ $(eval $(call gb_Library_set_include,expwrap,\
-I$(SRCDIR)/sax/inc \
))
$(eval $(call gb_Library_set_defs,expwrap,\
$$(DEFS) \
))
$(eval $(call gb_Library_add_linked_libs,expwrap,\
sal \
cppu \
......
......@@ -35,10 +35,6 @@ $(eval $(call gb_Library_set_include,fastsax,\
-I$(SRCDIR)/sax/inc \
))
$(eval $(call gb_Library_set_defs,fastsax,\
$$(DEFS) \
))
$(eval $(call gb_Library_add_linked_libs,fastsax,\
sal \
cppu \
......@@ -49,8 +45,7 @@ $(eval $(call gb_Library_add_linked_libs,fastsax,\
))
ifeq ($(SYSTEM_ZLIB),YES)
$(eval $(call gb_Library_set_defs,fastsax,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,fastsax,\
-DSYSTEM_ZLIB \
))
endif
......
......@@ -37,8 +37,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 \
))
......
......@@ -39,8 +39,7 @@ $(eval $(call gb_Library_set_include,sot,\
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_set_defs,sot,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,sot,\
-DSOT_DLLIMPLEMENTATION \
))
......
......@@ -40,8 +40,7 @@ $(eval $(call gb_Library_set_include,svl,\
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_set_defs,svl,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,svl,\
-DSVL_DLLIMPLEMENTATION \
))
......
......@@ -46,8 +46,7 @@ $(eval $(call gb_Library_set_include,svt,\
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_set_defs,svt,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,svt,\
-DSVT_DLLIMPLEMENTATION \
))
......
......@@ -41,8 +41,7 @@ $(eval $(call gb_Library_set_include,tk,\
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_set_defs,tk,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,tk,\
-DTOOLKIT_DLLIMPLEMENTATION \
))
......
......@@ -41,8 +41,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 \
))
......
......@@ -38,8 +38,7 @@ $(eval $(call gb_Library_set_include,ucbhelper,\
-I$(OUTDIR)/inc/offuh \
))
$(eval $(call gb_Library_set_defs,ucbhelper,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,ucbhelper,\
-DUCBHELPER_DLLIMPLEMENTATION \
))
......
......@@ -52,8 +52,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 \
))
......
......@@ -41,8 +41,7 @@ $(eval $(call gb_Library_set_include,desktop_detector,\
-I$(OUTDIR)/inc \
))
$(eval $(call gb_Library_set_defs,desktop_detector,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,desktop_detector,\
-DDESKTOP_DETECTOR_IMPLEMENTATION \
))
......
......@@ -53,8 +53,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)) \
......@@ -95,8 +94,7 @@ $(eval $(call gb_Library_add_cxxflags,vcl,\
$(gb_OBJCXXFLAGS) \
))
ifeq ($(ENABLE_CAIRO),TRUE)
$(eval $(call gb_Library_set_defs,vcl,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,vcl,\
-DCAIRO \
))
endif
......@@ -170,22 +168,19 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
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=\"$(gb_Library_OOOEXT)\" \
-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
......@@ -419,8 +414,7 @@ $(eval $(call gb_Library_add_exception_objects,vcl,\
## handle Graphite
ifneq ($(ENABLE_GRAPHITE),)
# 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,\
......
......@@ -115,8 +115,7 @@ $(eval $(call gb_Library_add_exception_objects,vclplug_gen,\
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,vclplug_gen,\
## 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,vclplug_gen,\
$(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_XORG \
))
ifeq ($(XINERAMA_LINK),dynamic)
......@@ -163,8 +159,7 @@ $(eval $(call gb_Library_add_libs,vclplug_gen,\
endif
else
# Solaris
$(eval $(call gb_Library_set_defs,vclplug_gen,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,vclplug_gen,\
-DUSE_XINERAMA_XSUN \
))
ifeq ($(USE_XINERAMA_VERSION),Xorg)
......@@ -184,8 +179,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,\
......
......@@ -42,15 +42,13 @@ $(eval $(call gb_Library_set_include,vclplug_gtk,\
$$(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)\" \
))
ifneq ($(ENABLE_DBUS),)
$(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,\
......
......@@ -42,8 +42,7 @@ $(eval $(call gb_Library_set_include,vclplug_kde,\
$$(KDE_CFLAGS) \
))
$(eval $(call gb_Library_set_defs,vclplug_kde,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,vclplug_kde,\
-DVCLPLUG_KDE_IMPLEMENTATION \
))
......
......@@ -42,8 +42,7 @@ $(eval $(call gb_Library_set_include,vclplug_kde4,\
$$(KDE4_CFLAGS) \
))
$(eval $(call gb_Library_set_defs,vclplug_kde4,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,vclplug_kde4,\
-DVCLPLUG_KDE4_IMPLEMENTATION \
))
......
......@@ -37,8 +37,7 @@ $(eval $(call gb_Library_set_include,vclplug_svp,\
-I$(OUTDIR)/inc \
))
$(eval $(call gb_Library_set_defs,vclplug_svp,\
$$(DEFS) \
$(eval $(call gb_Library_add_defs,vclplug_svp,\
-DVCLPLUG_SVP_IMPLEMENTATION \
))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment