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 /svx/Executable_gengal.bin.mk | |
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 'svx/Executable_gengal.bin.mk')
-rw-r--r-- | svx/Executable_gengal.bin.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/Executable_gengal.bin.mk b/svx/Executable_gengal.bin.mk index dbd78183d380..61fe0505a9f3 100644 --- a/svx/Executable_gengal.bin.mk +++ b/svx/Executable_gengal.bin.mk @@ -48,7 +48,7 @@ $(eval $(call gb_Executable_add_cxxflags,$(gengalbin),\ $$(CXXFLAGS) \ )) -$(eval $(call gb_Executable_add_linked_libs,$(gengalbin),\ +$(eval $(call gb_Executable_use_libraries,$(gengalbin),\ sal \ tl \ svl \ @@ -65,12 +65,12 @@ $(eval $(call gb_Executable_add_exception_objects,$(gengalbin),\ svx/source/gengal/gengal \ )) -$(eval $(call gb_Executable_add_linked_static_libs,$(gengalbin),\ +$(eval $(call gb_Executable_use_static_libraries,$(gengalbin),\ vclmain \ )) ifeq ($(OS),WNT) -$(eval $(call gb_Executable_add_linked_libs,$(gengalbin),\ +$(eval $(call gb_Executable_use_libraries,$(gengalbin),\ kernel32 \ msvcrt \ $(gb_Library_win32_OLDNAMES) \ @@ -80,7 +80,7 @@ $(eval $(call gb_Executable_add_linked_libs,$(gengalbin),\ endif ifeq ($(OS),LINUX) -$(eval $(call gb_Executable_add_linked_libs,$(gengalbin),\ +$(eval $(call gb_Executable_use_libraries,$(gengalbin),\ dl \ pthread \ )) |