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 /editeng | |
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 'editeng')
-rw-r--r-- | editeng/CppunitTest_editeng_borderline.mk | 4 | ||||
-rw-r--r-- | editeng/Library_editeng.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/editeng/CppunitTest_editeng_borderline.mk b/editeng/CppunitTest_editeng_borderline.mk index 9edbdb09f6f9..368073ce0966 100644 --- a/editeng/CppunitTest_editeng_borderline.mk +++ b/editeng/CppunitTest_editeng_borderline.mk @@ -32,7 +32,7 @@ $(eval $(call gb_CppunitTest_add_exception_objects,editeng_borderline, \ editeng/qa/items/borderline_test \ )) -$(eval $(call gb_CppunitTest_add_linked_libs,editeng_borderline, \ +$(eval $(call gb_CppunitTest_use_libraries,editeng_borderline, \ xo \ basegfx \ editeng \ @@ -63,7 +63,7 @@ $(eval $(call gb_CppunitTest_set_include,editeng_borderline,\ $$(INCLUDE) \ )) -$(eval $(call gb_CppunitTest_add_api,editeng_borderline,\ +$(eval $(call gb_CppunitTest_use_api,editeng_borderline,\ offapi \ udkapi \ )) diff --git a/editeng/Library_editeng.mk b/editeng/Library_editeng.mk index 62c43a239c57..3f649dfde0ce 100644 --- a/editeng/Library_editeng.mk +++ b/editeng/Library_editeng.mk @@ -39,7 +39,7 @@ $(eval $(call gb_Library_add_defs,editeng,\ -DEDITENG_DLLIMPLEMENTATION \ )) -$(eval $(call gb_Library_add_api,editeng,\ +$(eval $(call gb_Library_use_api,editeng,\ udkapi \ offapi \ )) @@ -132,7 +132,7 @@ $(eval $(call gb_Library_add_exception_objects,editeng,\ # add libraries to be linked to editeng; again these names need to be given as # specified in Repository.mk -$(eval $(call gb_Library_add_linked_libs,editeng,\ +$(eval $(call gb_Library_use_libraries,editeng,\ xo \ basegfx \ lng \ |