From c923f7d2c210dc7846767fc0ac6ece2a0d7812a8 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Sat, 7 Apr 2012 23:22:08 +0200 Subject: gbuild: "use" vs. "add": Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target) --- basic/Library_sb.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'basic/Library_sb.mk') diff --git a/basic/Library_sb.mk b/basic/Library_sb.mk index fbc4e79798dc..91c0b39c9ad5 100644 --- a/basic/Library_sb.mk +++ b/basic/Library_sb.mk @@ -38,7 +38,7 @@ $(eval $(call gb_Library_set_include,sb,\ -I$(SRCDIR)/basic/source/inc \ )) -$(eval $(call gb_Library_add_api,sb,\ +$(eval $(call gb_Library_use_api,sb,\ udkapi \ offapi \ oovbaapi \ @@ -48,7 +48,7 @@ $(eval $(call gb_Library_add_defs,sb,\ -DBASIC_DLLIMPLEMENTATION \ )) -$(eval $(call gb_Library_add_linked_libs,sb,\ +$(eval $(call gb_Library_use_libraries,sb,\ comphelper \ cppu \ cppuhelper \ @@ -145,12 +145,12 @@ $(eval $(call gb_Library_add_exception_objects,sb,\ )) # Uncomment the following line if DBG_TRACE_PROFILING is active in source/inc/sbtrace.hxx -# $(eval $(call gb_Library_add_linked_libs,sb,\ +# $(eval $(call gb_Library_use_libraries,sb,\ canvastools \ )) ifeq ($(GUI),WNT) -$(eval $(call gb_Library_add_linked_libs,sb,\ +$(eval $(call gb_Library_use_libraries,sb,\ uwinapi \ oleaut32 \ )) -- cgit v1.2.3