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_ExternalProject_ExternalProject
,pixman
))
12 $(eval
$(call gb_ExternalProject_register_targets
,pixman
,\
18 $(call gb_ExternalProject_get_state_target
,pixman
,build
) :
19 $(call gb_ExternalProject_run
,build
,\
20 $(MAKE
) -f Makefile.win32 MMX
=on SSE2
=on CFG
=release \
26 # The pixman-cpu.c code wants to read /proc/<pid>/auxv, but
27 # the Android headers don't define Elf32_auxv_t.
29 # Maybe we should instead just patch the arm_has_* booleans in
30 # pixman-cpu.c to be hardcoded as TRUE and patch out the run-time
32 $(call gb_ExternalProject_get_state_target
,pixman
,build
) :
33 $(call gb_ExternalProject_run
,build
,\
35 $(if
$(filter TRUE
,$(DISABLE_DYNLOADING
)),--disable-shared
,$(if
$(filter ANDROID
,$(OS
)),--disable-shared
,--disable-static
)) \
36 $(if
$(filter ANDROID
,$(OS
)),--disable-arm-simd
--disable-arm-neon
--disable-arm-iwmmxt
) \
37 $(if
$(CROSS_COMPILING
),--build
=$(BUILD_PLATFORM
) --host
=$(HOST_PLATFORM
) \
38 $(if
$(filter INTEL ARM
,$(CPUNAME
)),ac_cv_c_bigendian
=no
)) \
44 # vim: set noet sw=4 ts=4: