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
,jpeg-turbo
))
12 $(eval
$(call gb_ExternalProject_use_autoconf
,jpeg-turbo
,configure
))
13 $(eval
$(call gb_ExternalProject_use_autoconf
,jpeg-turbo
,build
))
15 $(eval
$(call gb_ExternalProject_register_targets
,jpeg-turbo
,\
20 $(call gb_ExternalProject_get_state_target
,jpeg-turbo
,build
) : $(call gb_ExternalProject_get_state_target
,jpeg-turbo
,configure
)
21 +$(call gb_ExternalProject_run
,build
,\
25 $(call gb_ExternalProject_get_state_target
,jpeg-turbo
,configure
) :
26 $(call gb_ExternalProject_run
,configure
,\
27 MAKE
=$(MAKE
) .
/configure \
28 --build
=$(if
$(filter WNT
,$(OS
)),$(if
$(filter INTEL
,$(CPUNAME
)),i686-pc-cygwin
,x86_64-pc-cygwin
),$(BUILD_PLATFORM
)) \
37 # vim: set noet sw=4 ts=4: