fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / external / jpeg-turbo / ExternalProject_jpeg-turbo.mk
blobc913d70ca662eb110dd1273ec94572d9b48f9b64
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,\
16 configure \
17 build \
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,\
22 $(MAKE) \
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)) \
29 --with-pic \
30 --enable-static \
31 --disable-shared \
32 --with-jpeg8 \
33 --without-java \
34 --without-turbojpeg \
37 # vim: set noet sw=4 ts=4: