bump product version to 4.1.6.2
[LibreOffice.git] / freetype / ExternalProject_freetype.mk
blob8e2108ca279b4c8ab629aef1d282835b6454f5a6
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,freetype))
12 $(eval $(call gb_ExternalProject_register_targets,freetype,\
13 build \
16 $(call gb_ExternalProject_get_state_target,freetype,build) :
17 cd $(EXTERNAL_WORKDIR) \
18 && CFLAGS="$(if $(debug),-g) $(gb_VISIBILITY_FLAGS)" \
19 ./configure \
20 --disable-shared \
21 --without-zlib \
22 --without-bzip2 \
23 --prefix=$(OUTDIR) --includedir=$(OUTDIR)/inc/external \
24 --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) \
25 && chmod +x builds/unix/freetype-config \
26 && $(MAKE) \
27 && touch $@
29 # vim: set noet sw=4 ts=4: