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 /basegfx | |
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 'basegfx')
-rw-r--r-- | basegfx/CppunitTest_basegfx.mk | 4 | ||||
-rw-r--r-- | basegfx/Library_basegfx.mk | 4 | ||||
-rw-r--r-- | basegfx/StaticLibrary_basegfx_s.mk | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/basegfx/CppunitTest_basegfx.mk b/basegfx/CppunitTest_basegfx.mk index 3acabef12209..7874fa40267d 100644 --- a/basegfx/CppunitTest_basegfx.mk +++ b/basegfx/CppunitTest_basegfx.mk @@ -38,7 +38,7 @@ $(eval $(call gb_CppunitTest_add_exception_objects,basegfx_test, \ basegfx/test/genericclipper \ )) -$(eval $(call gb_CppunitTest_add_linked_libs,basegfx_test, \ +$(eval $(call gb_CppunitTest_use_libraries,basegfx_test, \ basegfx \ cppu \ cppuhelper \ @@ -46,7 +46,7 @@ $(eval $(call gb_CppunitTest_add_linked_libs,basegfx_test, \ $(gb_STDLIBS) \ )) -$(eval $(call gb_CppunitTest_add_api,basegfx_test,\ +$(eval $(call gb_CppunitTest_use_api,basegfx_test,\ offapi \ udkapi \ )) diff --git a/basegfx/Library_basegfx.mk b/basegfx/Library_basegfx.mk index 422309542fa5..4e88a3e1ad10 100644 --- a/basegfx/Library_basegfx.mk +++ b/basegfx/Library_basegfx.mk @@ -51,12 +51,12 @@ $(eval $(call gb_Library_add_cxxflags,basegfx,\ endif endif -$(eval $(call gb_Library_add_api,basegfx,\ +$(eval $(call gb_Library_use_api,basegfx,\ offapi \ udkapi \ )) -$(eval $(call gb_Library_add_linked_libs,basegfx,\ +$(eval $(call gb_Library_use_libraries,basegfx,\ cppu \ cppuhelper \ sal \ diff --git a/basegfx/StaticLibrary_basegfx_s.mk b/basegfx/StaticLibrary_basegfx_s.mk index 2102ccb40c0b..70c5a07b6bd3 100644 --- a/basegfx/StaticLibrary_basegfx_s.mk +++ b/basegfx/StaticLibrary_basegfx_s.mk @@ -47,7 +47,7 @@ $(eval $(call gb_StaticLibrary_add_cxxflags,basegfx_s,\ endif endif -$(eval $(call gb_StaticLibrary_add_api,basegfx_s,\ +$(eval $(call gb_StaticLibrary_use_api,basegfx_s,\ offapi \ udkapi \ )) |