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 /embeddedobj | |
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 'embeddedobj')
-rw-r--r-- | embeddedobj/Library_embobj.mk | 4 | ||||
-rw-r--r-- | embeddedobj/Library_emboleobj.mk | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/embeddedobj/Library_embobj.mk b/embeddedobj/Library_embobj.mk index b820eb69b89c..307dac579ab2 100644 --- a/embeddedobj/Library_embobj.mk +++ b/embeddedobj/Library_embobj.mk @@ -34,12 +34,12 @@ $(eval $(call gb_Library_set_include,embobj,\ $$(INCLUDE) \ )) -$(eval $(call gb_Library_add_api,embobj,\ +$(eval $(call gb_Library_use_api,embobj,\ offapi \ udkapi \ )) -$(eval $(call gb_Library_add_linked_libs,embobj,\ +$(eval $(call gb_Library_use_libraries,embobj,\ comphelper \ cppu \ cppuhelper \ diff --git a/embeddedobj/Library_emboleobj.mk b/embeddedobj/Library_emboleobj.mk index 4889693e4c9a..8420480be077 100644 --- a/embeddedobj/Library_emboleobj.mk +++ b/embeddedobj/Library_emboleobj.mk @@ -40,12 +40,12 @@ $(eval $(call gb_Library_set_include,emboleobj,\ $$(INCLUDE) \ )) -$(eval $(call gb_Library_add_api,emboleobj,\ +$(eval $(call gb_Library_use_api,emboleobj,\ offapi \ udkapi \ )) -$(eval $(call gb_Library_add_linked_libs,emboleobj,\ +$(eval $(call gb_Library_use_libraries,emboleobj,\ comphelper \ cppu \ cppuhelper \ @@ -68,7 +68,7 @@ $(eval $(call gb_Library_add_exception_objects,emboleobj,\ ifeq ($(OS),WNT) -$(eval $(call gb_Library_add_linked_libs,emboleobj,\ +$(eval $(call gb_Library_use_libraries,emboleobj,\ embobj \ gdi32 \ ole32 \ |