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 /sfx2/Library_sfx.mk | |
parent | Fix Prefer prefix ++/-- operators (diff) | |
download | core-c923f7d2c210dc7846767fc0ac6ece2a0d7812a8.tar.gz core-c923f7d2c210dc7846767fc0ac6ece2a0d7812a8.zip |
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 'sfx2/Library_sfx.mk')
-rw-r--r-- | sfx2/Library_sfx.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/Library_sfx.mk b/sfx2/Library_sfx.mk index a1db033b43d1..6ac26b88c7b9 100644 --- a/sfx2/Library_sfx.mk +++ b/sfx2/Library_sfx.mk @@ -37,7 +37,7 @@ $(eval $(call gb_Library_add_sdi_headers,sfx,sfx2/sdi/sfxslots)) $(eval $(call gb_Library_set_componentfile,sfx,sfx2/util/sfx)) -$(eval $(call gb_Library_add_api,sfx,\ +$(eval $(call gb_Library_use_api,sfx,\ udkapi \ offapi \ )) @@ -62,7 +62,7 @@ $(eval $(call gb_Library_add_defs,sfx,\ )) endif -$(eval $(call gb_Library_add_linked_libs,sfx,\ +$(eval $(call gb_Library_use_libraries,sfx,\ comphelper \ cppu \ cppuhelper \ @@ -259,7 +259,7 @@ ifeq ($(OS),MACOSX) $(eval $(call gb_Library_add_objcxxobjects,sfx,\ sfx2/source/appl/shutdowniconaqua \ )) -$(eval $(call gb_Library_add_linked_libs,sfx,\ +$(eval $(call gb_Library_use_libraries,sfx,\ objc \ Cocoa \ )) @@ -276,7 +276,7 @@ $(eval $(call gb_Library_add_cxxobjects,sfx,\ , $(gb_LinkTarget_EXCEPTIONFLAGS) $(gb_COMPILEROPTFLAGS) -UPRECOMPILED_HEADERS \ )) -$(eval $(call gb_Library_add_linked_libs,sfx,\ +$(eval $(call gb_Library_use_libraries,sfx,\ gdi32 \ advapi32 \ ole32 \ |