summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2011-02-02 17:05:04 +0100
committerMathias Bauer <mba@openoffice.org>2011-02-02 17:05:04 +0100
commit73ba327960654ae43eb31be2bb009e87b2b00a9a (patch)
tree9af0f5fa43d696a999811c9527b1fd7b00695de4 /vbahelper
parent651f21c5040dd9222cb29eedcb942c1bd85e1cd3 (diff)
CWS gnumake3: rename gb_StdLibs -> gb_STDLIBS; remove explicit linking of individual standard libs from makefiles; fix export problem in framework
Diffstat (limited to 'vbahelper')
-rwxr-xr-xvbahelper/Library_msforms.mk20
-rwxr-xr-xvbahelper/Library_vbahelper.mk20
2 files changed, 2 insertions, 38 deletions
diff --git a/vbahelper/Library_msforms.mk b/vbahelper/Library_msforms.mk
index 6bd335f9e2..3e23c492f3 100755
--- a/vbahelper/Library_msforms.mk
+++ b/vbahelper/Library_msforms.mk
@@ -61,27 +61,9 @@ $(eval $(call gb_Library_add_linked_libs,msforms,\
tk \
sb \
stl \
+ $(gb_STDLIBS) \
))
-# this code usually will be platform specific; these libraries are also defined in Repository.mk
-ifeq ($(OS),LINUX)
-$(eval $(call gb_Library_add_linked_libs,msforms,\
- dl \
- m \
- pthread \
-))
-endif
-
-ifeq ($(OS),WNT)
-$(eval $(call gb_Library_add_linked_libs,msforms,\
- kernel32 \
- msvcrt \
- oldnames \
- user32 \
- uwinapi \
-))
-endif
-
# add all source files that shall be compiled with exceptions enabled
# the name is relative to $(SRCROOT) and must not contain an extension
$(eval $(call gb_Library_add_exception_objects,msforms,\
diff --git a/vbahelper/Library_vbahelper.mk b/vbahelper/Library_vbahelper.mk
index 01d144cc48..722b66d709 100755
--- a/vbahelper/Library_vbahelper.mk
+++ b/vbahelper/Library_vbahelper.mk
@@ -63,27 +63,9 @@ $(eval $(call gb_Library_add_linked_libs,vbahelper,\
svl \
msfilter \
tk \
+ $(gb_STDLIBS) \
))
-# this code usually will be platform specific; these libraries are also defined in Repository.mk
-ifeq ($(OS),LINUX)
-$(eval $(call gb_Library_add_linked_libs,vbahelper,\
- dl \
- m \
- pthread \
-))
-endif
-
-ifeq ($(OS),WNT)
-$(eval $(call gb_Library_add_linked_libs,vbahelper,\
- kernel32 \
- msvcrt \
- oldnames \
- user32 \
- uwinapi \
-))
-endif
-
# add all source files that shall be compiled with exceptions enabled
# the name is relative to $(SRCROOT) and must not contain an extension
$(eval $(call gb_Library_add_exception_objects,vbahelper,\