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 /scaddins | |
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 'scaddins')
-rw-r--r-- | scaddins/Library_analysis.mk | 6 | ||||
-rw-r--r-- | scaddins/Library_date.mk | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/scaddins/Library_analysis.mk b/scaddins/Library_analysis.mk index 3401adbb9332..b040b2b1ea9a 100644 --- a/scaddins/Library_analysis.mk +++ b/scaddins/Library_analysis.mk @@ -35,13 +35,13 @@ $(eval $(call gb_Library_set_include,analysis,\ -I$(WORKDIR)/UnoApiHeaders/offapi \ )) -$(eval $(call gb_Library_add_internal_comprehensive_api,analysis,\ +$(eval $(call gb_Library_use_internal_comprehensive_api,analysis,\ offapi \ scaddins \ udkapi \ )) -$(eval $(call gb_Library_add_linked_libs,analysis,\ +$(eval $(call gb_Library_use_libraries,analysis,\ cppu \ cppuhelper \ sal \ @@ -50,7 +50,7 @@ $(eval $(call gb_Library_add_linked_libs,analysis,\ )) ifeq ($(GUI),WNT) -$(eval $(call gb_Library_add_linked_libs,analysis,\ +$(eval $(call gb_Library_use_libraries,analysis,\ uwinapi \ )) endif diff --git a/scaddins/Library_date.mk b/scaddins/Library_date.mk index 72577fed3ed5..e937ed6c7c37 100644 --- a/scaddins/Library_date.mk +++ b/scaddins/Library_date.mk @@ -35,13 +35,13 @@ $(eval $(call gb_Library_set_include,date,\ -I$(WORKDIR)/UnoApiHeaders/offapi \ )) -$(eval $(call gb_Library_add_internal_comprehensive_api,date,\ +$(eval $(call gb_Library_use_internal_comprehensive_api,date,\ offapi \ scaddins \ udkapi \ )) -$(eval $(call gb_Library_add_linked_libs,date,\ +$(eval $(call gb_Library_use_libraries,date,\ cppu \ cppuhelper \ sal \ |