Skip to content

Commit

Permalink
gbuild: replace direct gb_STDLIBS use with ...
Browse files Browse the repository at this point in the history
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
  • Loading branch information
Michael Stahl committed Sep 28, 2012
1 parent 2e677c3 commit b85c349
Show file tree
Hide file tree
Showing 486 changed files with 972 additions and 496 deletions.
3 changes: 2 additions & 1 deletion Library_merged.mk
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@ $(eval $(call gb_Library_use_libraries,merged,\
ucbhelper \
xmlreader \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,merged))

$(eval $(call gb_Library_use_externals,merged,\
cups \
icui18n \
Expand Down
3 changes: 2 additions & 1 deletion UnoControls/Library_ctl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ $(eval $(call gb_Library_use_libraries,ctl,\
sal \
tl \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,ctl))

$(eval $(call gb_Library_set_componentfile,ctl,UnoControls/util/ctl))

$(eval $(call gb_Library_add_exception_objects,ctl,\
Expand Down
3 changes: 2 additions & 1 deletion accessibility/Library_acc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ $(eval $(call gb_Library_use_libraries,acc,\
utl \
vcl \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,acc))

$(eval $(call gb_Library_add_exception_objects,acc,\
accessibility/source/extended/AccessibleBrowseBox \
accessibility/source/extended/AccessibleBrowseBoxBase \
Expand Down
3 changes: 2 additions & 1 deletion accessibility/Library_java_uno_accessbridge.mk
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ $(eval $(call gb_Library_use_libraries,java_uno_accessbridge,\
tl \
vcl \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,java_uno_accessbridge))

$(eval $(call gb_Library_add_exception_objects,java_uno_accessbridge,\
accessibility/bridge/source/java/WindowsAccessBridgeAdapter \
))
Expand Down
3 changes: 2 additions & 1 deletion animations/Library_animcore.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ $(eval $(call gb_Library_use_libraries,animcore,\
cppuhelper \
sal \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,animcore))

$(eval $(call gb_Library_add_exception_objects,animcore,\
animations/source/animcore/animcore \
animations/source/animcore/factreg \
Expand Down
3 changes: 2 additions & 1 deletion avmedia/Library_avmedia.mk
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ $(eval $(call gb_Library_use_libraries,avmedia,\
utl \
vcl \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,avmedia))

$(eval $(call gb_Library_add_exception_objects,avmedia,\
avmedia/source/framework/mediacontrol \
avmedia/source/framework/mediaitem \
Expand Down
3 changes: 2 additions & 1 deletion avmedia/Library_avmediaQuickTime.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ $(eval $(call gb_Library_use_libraries,avmediaQuickTime,\
tl \
vcl \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,avmediaQuickTime))

$(eval $(call gb_Library_use_externals,avmediaQuickTime,\
cocoa \
qtkit \
Expand Down
3 changes: 2 additions & 1 deletion avmedia/Library_avmediagst.mk
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ $(eval $(call gb_Library_use_libraries,avmediagst,\
tl \
vcl \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,avmediagst))

$(eval $(call gb_Library_add_exception_objects,avmediagst,\
avmedia/source/gstreamer/gstmanager \
avmedia/source/gstreamer/gstplayer \
Expand Down
3 changes: 2 additions & 1 deletion avmedia/Library_avmediagst_0_10.mk
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ $(eval $(call gb_Library_use_libraries,avmediagst_0_10,\
tl \
vcl \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,avmediagst_0_10))

$(eval $(call gb_Library_add_libs,avmediagst_0_10,\
$(GSTREAMER_0_10_LIBS) \
-lgstinterfaces-0.10 \
Expand Down
3 changes: 2 additions & 1 deletion avmedia/Library_avmediawin.mk
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ $(eval $(call gb_Library_use_libraries,avmediawin,\
utl \
vcl \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,avmediawin))

$(eval $(call gb_Library_add_libs,avmediawin,\
strmiids.lib \
))
Expand Down
3 changes: 2 additions & 1 deletion basctl/Library_basctl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ $(eval $(call gb_Library_use_libraries,basctl,\
vcl \
xmlscript \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,basctl))

$(eval $(call gb_Library_add_exception_objects,basctl,\
basctl/source/accessibility/accessibledialogcontrolshape \
basctl/source/accessibility/accessibledialogwindow \
Expand Down
3 changes: 2 additions & 1 deletion basebmp/CppunitTest_basebmp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ $(eval $(call gb_CppunitTest_use_libraries,basebmp_cpputest,\
basegfx \
sal \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_CppunitTest_add_standard_system_libs,basebmp_cpputest))

$(eval $(call gb_CppunitTest_add_exception_objects,basebmp_cpputest,\
basebmp/test/basictest \
basebmp/test/bmpmasktest \
Expand Down
3 changes: 2 additions & 1 deletion basebmp/Library_basebmp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,10 @@ $(eval $(call gb_Library_use_libraries,basebmp,\
basegfx \
sal \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,basebmp))

$(eval $(call gb_Library_set_include,basebmp,\
-I$(SRCDIR)/basebmp/inc/ \
$$(INCLUDE) \
Expand Down
1 change: 0 additions & 1 deletion basebmp/StaticLibrary_basebmp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ $(eval $(call gb_StaticLibrary_use_libraries,basebmp,\
basegfx \
sal \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_StaticLibrary_set_include,basebmp,\
Expand Down
3 changes: 2 additions & 1 deletion basegfx/CppunitTest_basegfx.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ $(eval $(call gb_CppunitTest_use_libraries,basegfx_cpputest,\
cppuhelper \
sal \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_CppunitTest_add_standard_system_libs,basegfx_cpputest))

$(eval $(call gb_CppunitTest_add_exception_objects,basegfx_cpputest,\
basegfx/test/basegfx1d \
basegfx/test/basegfx2d \
Expand Down
3 changes: 2 additions & 1 deletion basegfx/Library_basegfx.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ $(eval $(call gb_Library_use_libraries,basegfx,\
cppuhelper \
sal \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,basegfx))

$(eval $(call gb_Library_set_include,basegfx,\
-I$(SRCDIR)/basegfx/inc \
-I$(SRCDIR)/basegfx/source/inc \
Expand Down
3 changes: 2 additions & 1 deletion basic/CppunitTest_basic_enable.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,10 @@ $(eval $(call gb_CppunitTest_use_libraries,basic_enable, \
xmlscript \
test \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_CppunitTest_add_standard_system_libs,basic_enable))

ifeq ($(GUI),WNT)
$(eval $(call gb_CppunitTest_use_libraries,basic_enable, \
oleaut32 \
Expand Down
3 changes: 2 additions & 1 deletion basic/CppunitTest_basic_nested_struct.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ $(eval $(call gb_CppunitTest_use_libraries,basic_nested_struct, \
xmlscript \
test \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_CppunitTest_add_standard_system_libs,basic_nested_struct))

ifeq ($(GUI),WNT)
$(eval $(call gb_CppunitTest_use_libraries,basic_nested_struct, \
oleaut32 \
Expand Down
3 changes: 2 additions & 1 deletion basic/CppunitTest_basic_scanner.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ $(eval $(call gb_CppunitTest_use_libraries,basic_scanner, \
vcl \
xmlscript \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_CppunitTest_add_standard_system_libs,basic_scanner))

ifeq ($(GUI),WNT)
$(eval $(call gb_CppunitTest_use_libraries,basic_scanner, \
oleaut32 \
Expand Down
3 changes: 2 additions & 1 deletion basic/Library_sb.mk
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ $(eval $(call gb_Library_use_libraries,sb,\
vcl \
xmlscript \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,sb))

ifneq ($(DISABLE_SCRIPTING),TRUE)

$(eval $(call gb_Library_add_exception_objects,sb,\
Expand Down
4 changes: 1 addition & 3 deletions bean/Library_officebean.mk
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ $(eval $(call gb_Library_add_ldflags,officebean,\

endif

$(eval $(call gb_Library_use_libraries,officebean,\
$(gb_STDLIBS) \
))
$(eval $(call gb_Library_add_standard_system_libs,officebean))

# vim: set noet sw=4 ts=4:
3 changes: 2 additions & 1 deletion binaryurp/CppunitTest_binaryurp_test-cache.mk
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ $(eval $(call gb_CppunitTest_CppunitTest,binaryurp_test-cache))
$(eval $(call gb_CppunitTest_use_libraries,binaryurp_test-cache,\
sal \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_CppunitTest_add_standard_system_libs,binaryurp_test-cache))

$(eval $(call gb_CppunitTest_add_exception_objects,binaryurp_test-cache,\
binaryurp/qa/test-cache \
))
Expand Down
3 changes: 2 additions & 1 deletion binaryurp/CppunitTest_binaryurp_test-unmarshal.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ $(eval $(call gb_CppunitTest_use_libraries,binaryurp_test-unmarshal,\
sal \
salhelper \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_CppunitTest_add_standard_system_libs,binaryurp_test-unmarshal))

$(eval $(call gb_CppunitTest_use_library_objects,binaryurp_test-unmarshal,\
binaryurp \
))
Expand Down
3 changes: 2 additions & 1 deletion binaryurp/Library_binaryurp.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ $(eval $(call gb_Library_use_libraries,binaryurp,\
sal \
salhelper \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,binaryurp))

$(eval $(call gb_Library_add_exception_objects,binaryurp,\
binaryurp/source/binaryany \
binaryurp/source/bridge \
Expand Down
3 changes: 2 additions & 1 deletion bridges/Library_gcc3_linux_arm.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ $(eval $(call gb_Library_use_libraries,gcc3_uno,\
dl \
) \
sal \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,gcc3_uno))

$(eval $(call gb_Library_add_exception_objects,gcc3_uno,\
bridges/source/cpp_uno/shared/bridge \
bridges/source/cpp_uno/shared/component \
Expand Down
3 changes: 2 additions & 1 deletion bridges/Library_gcc3_linux_intel.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ $(eval $(call gb_Library_use_libraries,gcc3_uno,\
dl \
) \
sal \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,gcc3_uno))

$(eval $(call gb_Library_add_asmobjects,gcc3_uno,\
bridges/source/cpp_uno/gcc3_linux_intel/call \
))
Expand Down
3 changes: 2 additions & 1 deletion bridges/Library_gcc3_linux_mips.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ $(eval $(call gb_Library_use_libraries,gcc3_uno,\
dl \
) \
sal \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,gcc3_uno))

$(eval $(call gb_Library_add_exception_objects,gcc3_uno,\
bridges/source/cpp_uno/gcc3_linux_mips/except \
bridges/source/cpp_uno/shared/bridge \
Expand Down
3 changes: 2 additions & 1 deletion bridges/Library_java_uno.mk
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@ $(eval $(call gb_Library_use_libraries,java_uno,\
sal \
salhelper \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,java_uno))

$(eval $(call gb_Library_add_exception_objects,java_uno,\
bridges/source/jni_uno/jni_bridge \
bridges/source/jni_uno/jni_data \
Expand Down
3 changes: 2 additions & 1 deletion canvas/Library_cairocanvas.mk
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,10 @@ $(eval $(call gb_Library_use_libraries,cairocanvas,\
i18nisolang1 \
canvastools \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,cairocanvas))

$(eval $(call gb_Library_add_exception_objects,cairocanvas,\
canvas/source/cairo/cairo_cachedbitmap \
canvas/source/cairo/cairo_cairo \
Expand Down
3 changes: 2 additions & 1 deletion canvas/Library_canvasfactory.mk
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@ $(eval $(call gb_Library_use_libraries,canvasfactory,\
cppuhelper \
sal \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,canvasfactory))

$(eval $(call gb_Library_add_exception_objects,canvasfactory,\
canvas/source/factory/cf_service \
))
Expand Down
3 changes: 2 additions & 1 deletion canvas/Library_canvastools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ $(eval $(call gb_Library_use_libraries,canvastools,\
tl \
vcl \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,canvastools))

$(eval $(call gb_Library_add_exception_objects,canvastools,\
canvas/source/tools/cachedprimitivebase \
canvas/source/tools/canvascustomspritehelper \
Expand Down
3 changes: 2 additions & 1 deletion canvas/Library_directx9canvas.mk
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,10 @@ $(eval $(call gb_Library_use_libraries,directx9canvas,\
utl \
i18nisolang1 \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,directx9canvas))

$(eval $(call gb_Library_use_libraries,directx9canvas,\
d3d9 \
gdi32 \
Expand Down
3 changes: 2 additions & 1 deletion canvas/Library_gdipluscanvas.mk
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ $(eval $(call gb_Library_use_libraries,gdipluscanvas,\
utl \
i18nisolang1 \
$(gb_UWINAPI) \
$(gb_STDLIBS) \
))

$(eval $(call gb_Library_add_standard_system_libs,gdipluscanvas))

$(eval $(call gb_Library_use_libraries,gdipluscanvas,\
gdi32 \
gdiplus \
Expand Down
Loading

0 comments on commit b85c349

Please sign in to comment.