1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval
$(call gb_ExternalPackage_ExternalPackage
,glew
,glew
))
12 $(eval
$(call gb_ExternalPackage_use_external_project
,glew
,glew
))
14 ifeq ($(OS
)-$(COM
),WNT-MSC
)
15 ifeq ($(CPUNAME
),INTEL
)
16 glew_arch_subdir
=Win32
17 else ifeq ($(CPUNAME
),X86_64
)
23 $(eval
$(call gb_ExternalPackage_add_file
,glew
,$(LIBO_LIB_FOLDER
)/libGLEW
.1.10.0.dylib
,lib
/libGLEW
.1.10.0.dylib
))
24 else ifeq ($(OS
)-$(COM
),WNT-GCC
)
25 else ifeq ($(COM
),MSC
)
26 $(eval
$(call gb_ExternalPackage_add_files
,glew
,$(LIBO_LIB_FOLDER
), \
27 bin
/$(if
$(MSVC_USE_DEBUG_RUNTIME
),Debug
/$(glew_arch_subdir
)/glew32d.dll
,Release
/$(glew_arch_subdir
)/glew32.dll
) \
29 else ifeq ($(filter IOS ANDROID
,$(OS
)),)
30 $(eval
$(call gb_ExternalPackage_add_file
,glew
,$(LIBO_LIB_FOLDER
)/libGLEW.so
.1.10,lib
/libGLEW.so
.1.10.0))
33 # vim: set noet sw=4 ts=4: