Bump version to 24.04.3.4
[LibreOffice.git] / external / libetonyek / ExternalProject_libetonyek.mk
blobe0f2f3e08eb18aeb54bc543d9e2cc27b477c722a
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,libetonyek))
12 $(eval $(call gb_ExternalProject_use_autoconf,libetonyek,build))
14 $(eval $(call gb_ExternalProject_register_targets,libetonyek,\
15 build \
18 $(eval $(call gb_ExternalProject_use_externals,libetonyek,\
19 boost_headers \
20 glm_headers \
21 liblangtag \
22 libxml2 \
23 mdds_headers \
24 revenge \
25 zlib \
28 $(call gb_ExternalProject_get_state_target,libetonyek,build) :
29 $(call gb_Trace_StartRange,libetonyek,EXTERNAL)
30 $(call gb_ExternalProject_run,build,\
31 export PKG_CONFIG="" \
32 && MAKE=$(MAKE) $(gb_RUN_CONFIGURE) ./configure \
33 --with-pic \
34 $(if $(DISABLE_DYNLOADING), \
35 --enable-static --disable-shared \
36 , \
37 --enable-shared --disable-static \
38 ) \
39 --without-docs \
40 $(if $(ENABLE_DEBUG),--enable-debug,--disable-debug) \
41 --disable-tests \
42 --disable-werror \
43 --disable-weffc \
44 --without-tools \
45 --with-mdds=1.0 \
46 $(if $(filter WNT,$(OS_FOR_BUILD)),MKDIR_P="$(shell cygpath -m /usr/bin/mkdir) -p") \
47 $(if $(verbose),--disable-silent-rules,--enable-silent-rules) \
48 $(if $(filter LINUX,$(OS)), \
49 'LDFLAGS=-Wl$(COMMA)-z$(COMMA)origin \
50 -Wl$(COMMA)-rpath$(COMMA)\$$$$ORIGIN') \
51 CPPFLAGS="$(CPPFLAGS) $(BOOST_CPPFLAGS)" \
52 CXXFLAGS="$(gb_CXXFLAGS) $(call gb_ExternalProject_get_build_flags,libetonyek)" \
53 LANGTAG_CFLAGS="$(LIBLANGTAG_CFLAGS)" \
54 LANGTAG_LIBS="$(LIBLANGTAG_LIBS)" \
55 XML_CFLAGS="$(LIBXML_CFLAGS)" \
56 XML_LIBS="$(LIBXML_LIBS)" \
57 $(gb_CONFIGURE_PLATFORMS) \
58 $(if $(filter MACOSX,$(OS)),--prefix=/@.__________________________________________________OOO) \
59 && $(MAKE) \
60 $(if $(filter MACOSX,$(OS)),\
61 && $(PERL) $(SRCDIR)/solenv/bin/macosx-change-install-names.pl shl OOO \
62 $(EXTERNAL_WORKDIR)/src/lib/.libs/libetonyek-0.1.1.dylib \
63 ) \
65 $(call gb_Trace_EndRange,libetonyek,EXTERNAL)
67 # vim: set noet sw=4 ts=4: