diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-04-07 23:22:08 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-04-08 01:05:52 +0200 |
commit | c923f7d2c210dc7846767fc0ac6ece2a0d7812a8 (patch) | |
tree | 4895fcbbf423daf410da5a8ef8e09ef8064c5c67 /basebmp | |
parent | a16060116346533923c607bd406d3fea511b41ec (diff) |
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)
Diffstat (limited to 'basebmp')
-rw-r--r-- | basebmp/CppunitTest_basebmp.mk | 2 | ||||
-rw-r--r-- | basebmp/Library_basebmp.mk | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/basebmp/CppunitTest_basebmp.mk b/basebmp/CppunitTest_basebmp.mk index 3604ed490bff..e1e7f301756a 100644 --- a/basebmp/CppunitTest_basebmp.mk +++ b/basebmp/CppunitTest_basebmp.mk @@ -45,7 +45,7 @@ $(eval $(call gb_CppunitTest_add_exception_objects,basebmp_test, \ basebmp/test/tools \ )) -$(eval $(call gb_CppunitTest_add_linked_libs,basebmp_test, \ +$(eval $(call gb_CppunitTest_use_libraries,basebmp_test, \ basebmp \ basegfx \ sal \ diff --git a/basebmp/Library_basebmp.mk b/basebmp/Library_basebmp.mk index 93c58c17842e..731d965ad982 100644 --- a/basebmp/Library_basebmp.mk +++ b/basebmp/Library_basebmp.mk @@ -35,7 +35,7 @@ $(eval $(call gb_Library_set_include,basebmp,\ $$(INCLUDE) \ )) -$(eval $(call gb_Library_add_api,basebmp,\ +$(eval $(call gb_Library_use_api,basebmp,\ offapi \ udkapi \ )) @@ -44,7 +44,7 @@ $(eval $(call gb_Library_add_defs,basebmp,\ -DBASEBMP_DLLIMPLEMENTATION \ )) -$(eval $(call gb_Library_add_linked_libs,basebmp,\ +$(eval $(call gb_Library_use_libraries,basebmp,\ basegfx \ sal \ $(gb_STDLIBS) \ |