Kaydet (Commit) bd3f92fa authored tarafından Markus Mohrhard's avatar Markus Mohrhard

merge vcllo and vclopengllo

Change-Id: I419ca67dc1f87dd9ac751aa5a094fecf58136edb
üst 03d04b3b
......@@ -452,7 +452,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
) \
vcl \
vclcanvas \
vclopengl \
$(if $(and $(filter unx,$(GUIBASE)),$(filter-out MACOSX,$(OS))), \
vclplug_gen \
$(if $(ENABLE_TDE),vclplug_tde) \
......
......@@ -42,7 +42,6 @@ $(eval $(call gb_Library_use_libraries,avmedia,\
tl \
utl \
vcl \
vclopengl \
$(gb_UWINAPI) \
))
......
......@@ -29,7 +29,6 @@ $(eval $(call gb_Library_use_libraries,avmediaogl,\
salhelper \
tl \
vcl \
vclopengl \
$(gb_UWINAPI) \
))
......
......@@ -20,7 +20,6 @@ $(eval $(call gb_Library_use_libraries,oglcanvas,\
cppuhelper \
comphelper \
vcl \
vclopengl \
tk \
tl \
i18nlangtag \
......
......@@ -43,7 +43,6 @@ $(eval $(call gb_Library_use_libraries,chartcontroller,\
ucbhelper \
utl \
vcl \
vclopengl \
$(gb_UWINAPI) \
))
......
......@@ -57,8 +57,6 @@ $(eval $(call gb_Library_use_libraries,chartcore,\
ucbhelper \
utl \
vcl \
$(if $(filter FREEBSD LINUX MACOSX WNT,$(OS)), \
vclopengl) \
$(gb_UWINAPI) \
))
......
......@@ -48,7 +48,6 @@ $(eval $(call gb_Library_use_libraries,chartopengl,\
ucbhelper \
utl \
vcl \
vclopengl \
$(gb_UWINAPI) \
))
......
......@@ -70,7 +70,6 @@ $(eval $(call gb_CppunitTest_use_libraries,sc_ucalc, \
utl \
vbahelper \
vcl \
vclopengl \
xo \
$(gb_UWINAPI) \
))
......
......@@ -88,7 +88,6 @@ $(eval $(call gb_Library_use_libraries,sc,\
$(call gb_Helper_optional,SCRIPTING, \
vbahelper) \
vcl \
vclopengl \
xo \
$(gb_UWINAPI) \
))
......
......@@ -31,7 +31,6 @@ $(eval $(call gb_Library_use_libraries,OGLTrans,\
cppuhelper \
sal \
vcl \
vclopengl \
$(gb_UWINAPI) \
))
......
......@@ -48,7 +48,6 @@ $(eval $(call gb_Library_use_libraries,slideshow,\
tl \
utl \
vcl \
vclopengl \
$(gb_UWINAPI) \
))
......
......@@ -153,7 +153,6 @@ gb_MERGEDLIBS := \
utl \
uui \
vcl \
vclopengl \
$(if $(and $(filter unx,$(GUIBASE)),$(filter-out MACOSX,$(OS))), \
$(if $(ENABLE_HEADLESS),,vclplug_svp) \
) \
......
......@@ -77,7 +77,6 @@ $(eval $(call gb_Library_use_libraries,svxcore,\
ucbhelper \
utl \
vcl \
vclopengl \
xo \
$(gb_UWINAPI) \
))
......
......@@ -53,7 +53,6 @@ $(eval $(call gb_Executable_use_libraries,icontest,\
tl \
ucbhelper \
vcl \
vclopengl \
))
$(eval $(call gb_Executable_add_exception_objects,icontest,\
......
......@@ -45,6 +45,7 @@ $(eval $(call gb_Library_set_include,vcl,\
$(eval $(call gb_Library_add_defs,vcl,\
-DVCL_DLLIMPLEMENTATION \
-DVCLOPENGL_DLLIMPLEMENTATION \
-DCUI_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,cui))\" \
-DDESKTOP_DETECTOR_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,desktop_detector))\" \
-DTK_DLL_NAME=\"$(call gb_Library_get_runtime_filename,$(call gb_Library__get_name,tk))\" \
......@@ -88,6 +89,17 @@ $(eval $(call gb_Library_add_libs,vcl,\
-framework CoreUI \
-lobjc \
))
endif
ifeq ($(OS),MACOSX)
$(eval $(call gb_Library_add_cxxflags,vcl,\
$(gb_OBJCXXFLAGS) \
))
$(eval $(call gb_Library_add_exception_objects,vcl,\
vcl/osx/OpenGLWrapper \
))
endif
ifeq ($(ENABLE_JAVA),TRUE)
......@@ -99,14 +111,21 @@ endif
$(eval $(call gb_Library_use_externals,vcl,\
boost_headers \
gio \
glew \
glm_headers \
harfbuzz \
icuuc \
icu_headers \
icuuc \
lcms2 \
mdds_headers \
mesa_headers \
))
$(eval $(call gb_Library_add_exception_objects,vcl,\
vcl/opengl/gdiimpl \
vcl/source/opengl/OpenGLContext \
vcl/source/opengl/OpenGLHelper \
vcl/source/window/openglwin \
vcl/source/window/settings \
vcl/source/window/paint \
vcl/source/window/resource \
......@@ -477,6 +496,7 @@ $(eval $(call gb_Library_use_system_darwin_frameworks,vcl,\
Cocoa \
Carbon \
CoreFoundation \
OpenGL \
))
ifneq ($(ENABLE_MACOSX_SANDBOX),TRUE)
......@@ -646,9 +666,11 @@ $(eval $(call gb_Library_use_system_win32_libs,vcl,\
advapi32 \
gdi32 \
gdiplus \
glu32 \
imm32 \
mpr \
msimg32 \
opengl32 \
ole32 \
shell32 \
usp10 \
......@@ -674,6 +696,9 @@ $(eval $(call gb_Library_add_libs,vcl,\
-lm \
-ldl \
-lpthread \
-lGL \
-lGLU \
-lX11 \
))
endif
......
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
$(eval $(call gb_Library_Library,vclopengl))
$(eval $(call gb_Library_set_include,vclopengl,\
-I$(SRCDIR)/vcl/inc/ \
$$(INCLUDE) \
))
$(eval $(call gb_Library_add_defs,vclopengl,\
-DVCLOPENGL_DLLIMPLEMENTATION \
))
$(eval $(call gb_Library_use_externals,vclopengl,\
boost_headers \
mdds_headers \
glm_headers \
mesa_headers \
glew \
))
$(eval $(call gb_Library_use_sdk_api,vclopengl))
$(eval $(call gb_Library_use_libraries,vclopengl,\
comphelper \
cppu \
cppuhelper \
sal \
tl \
vcl \
$(gb_UWINAPI) \
))
$(eval $(call gb_Library_add_exception_objects,vclopengl,\
vcl/source/opengl/OpenGLContext \
vcl/source/opengl/OpenGLHelper \
vcl/source/window/openglwin \
))
ifeq ($(OS),MACOSX)
$(eval $(call gb_Library_add_cxxflags,vclopengl,\
$(gb_OBJCXXFLAGS) \
))
$(eval $(call gb_Library_add_libs,vcl,\
-framework IOKit \
-F/System/Library/PrivateFrameworks \
-framework CoreUI \
-lobjc \
))
$(eval $(call gb_Library_add_exception_objects,vclopengl,\
vcl/osx/OpenGLWrapper \
))
endif
ifeq ($(strip $(OS)),WNT)
$(eval $(call gb_Library_use_system_win32_libs,vclopengl,\
opengl32 \
gdi32 \
glu32 \
))
else ifeq ($(OS),MACOSX)
$(eval $(call gb_Library_use_system_darwin_frameworks,vclopengl,\
OpenGL \
Cocoa \
Carbon \
CoreFoundation \
))
else ifeq ($(OS),LINUX)
$(eval $(call gb_Library_add_libs,vclopengl,\
-ldl \
-lGL \
-lGLU \
-lX11 \
))
endif
# vim: set noet sw=4 ts=4:
......@@ -32,7 +32,6 @@ $(eval $(call gb_Module_add_targets,vcl,\
Executable_svptest \
Executable_svpclient \
Executable_vcldemo) \
Library_vclopengl \
))
$(eval $(call gb_Module_add_l10n_targets,vcl,\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment