Bump version to 4.3-4
[LibreOffice.git] / external / glew / UnpackedTarball_glew.mk
blob9d7ba18c0bf829be99403b1f308fff2bdb547b19
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_UnpackedTarball_UnpackedTarball,glew))
12 $(eval $(call gb_UnpackedTarball_set_tarball,glew,$(GLEW_TARBALL)))
14 $(eval $(call gb_UnpackedTarball_set_patchlevel,glew,0))
16 $(eval $(call gb_UnpackedTarball_fix_end_of_line,glew,\
17 Makefile \
18 include/GL/glew.h \
21 ifeq ($(OS)$(COM),WNTMSC)
22 $(eval $(call gb_UnpackedTarball_set_patchflags,glew,--binary))
23 $(eval $(call gb_UnpackedTarball_add_patches,glew,\
24 external/glew/glew-msvc-disable-sse2.patch.1 \
25 external/glew/glew-fix-rc-error.patch.1 \
27 else
28 $(eval $(call gb_UnpackedTarball_add_patches,glew,\
29 external/glew/glew_use_CC_variable.patch.1 \
30 external/glew/0001-stop-linking-to-unneeded-Xmu-Xi-Xext-libraries.patch.1 \
32 endif
34 ifeq ($(OS),MACOSX)
35 $(eval $(call gb_UnpackedTarball_add_patches,glew,\
36 external/glew/glew-macosx-install-name.patch.1 \
38 endif
40 ifeq ($(OS),IOS)
41 $(eval $(call gb_UnpackedTarball_add_patches,glew,\
42 external/glew/glew-ios.patch.1 \
44 endif
46 ifeq ($(DISABLE_DYNLOADING),TRUE)
47 $(eval $(call gb_UnpackedTarball_add_patches,glew,\
48 external/glew/glew-static-only.patch.1 \
50 endif
52 $(eval $(call gb_UnpackedTarball_add_patches,glew,\
53 external/glew/glew-debug.patch.1 \
56 # vim: set noet sw=4 ts=4: