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/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 # this file describes all the external libraries
21 # depending on the configure options these may be taken from the system,
22 # or the internal/bundled copy may be built.
24 # for every external, a function gb_LinkTarget__use_FOO is defined,
25 # once for the system case, once for the internal case.
27 # in the system case, no libraries should be registered, but the target-local
28 # variable LIBS should be set to FOO_LIBS, and INCLUDES to FOO_CFLAGS.
31 ifeq ($(CPUNAME
),X86_64
)
32 wnt_arch_subdir_optional
=x64
/
33 wnt_arch_subdir_mandatory
=x64
34 else ifeq ($(CPUNAME
),INTEL
)
35 wnt_arch_subdir_mandatory
=Win32
40 ifneq ($(SYSTEM_ODBC_HEADERS
),)
42 define gb_LinkTarget__use_odbc_headers
43 $(call gb_LinkTarget_add_defs
,$(1),\
44 -DSYSTEM_ODBC_HEADERS \
49 else # !SYSTEM_ODBC_HEADERS
51 define gb_LinkTarget__use_odbc_headers
52 $(call gb_LinkTarget_set_include
,$(1),\
53 -I
$(SRCDIR
)/external
/unixODBC
/inc \
59 endif # SYSTEM_ODBC_HEADERS
61 ifneq ($(SYSTEM_MDDS
),)
63 gb_ExternalProject__use_mdds_headers
:=
65 define gb_LinkTarget__use_mdds_headers
66 $(call gb_LinkTarget_set_include
,$(1),\
75 define gb_ExternalProject__use_mdds_headers
76 $(call gb_ExternalProject_use_unpacked
,$(1),mdds
)
80 define gb_LinkTarget__use_mdds_headers
81 $(call gb_LinkTarget_use_unpacked
,$(1),mdds
)
82 $(call gb_LinkTarget_set_include
,$(1),\
91 ifneq ($(SYSTEM_GLM
),)
93 gb_LinkTarget__use_glm_headers
:=
94 gb_ExternalProject__use_glm_headers
:=
98 define gb_LinkTarget__use_glm_headers
99 $(call gb_LinkTarget_use_unpacked
,$(1),glm
)
100 $(call gb_LinkTarget_set_include
,$(1),\
107 define gb_ExternalProject__use_glm_headers
108 $(call gb_ExternalProject_use_unpacked
,$(1),glm
)
114 ifeq (SANE
,$(filter SANE
,$(BUILD_TYPE
)))
116 define gb_LinkTarget__use_sane_headers
117 $(call gb_LinkTarget_set_include
,$(1),\
118 $(if
$(filter WNT
,$(OS
)), \
119 -I
$(call gb_UnpackedTarball_get_dir
,twain_dsm
/pub
/include), \
120 -I
$(SRCDIR
)/external
/sane
/inc
) \
125 $(call gb_LinkTarget_use_unpacked
,$(1),twain_dsm
)
132 gb_LinkTarget__use_sane_headers
:=
136 ifneq ($(SYSTEM_BLUEZ
),)
138 gb_LinkTarget__use_bluez_bluetooth_headers
:=
142 define gb_LinkTarget__use_bluez_bluetooth_headers
143 $(call gb_LinkTarget_set_include
,$(1),\
144 -I
$(SRCDIR
)/external
/bluez_bluetooth
/inc \
154 ifneq ($(SYSTEM_CPPUNIT
),)
156 define gb_LinkTarget__use_cppunit
157 $(call gb_LinkTarget_set_include
,$(1),\
162 $(call gb_LinkTarget_add_libs
,$(1),\
168 else # !SYSTEM_CPPUNIT
170 define gb_LinkTarget__use_cppunit
171 $(call gb_LinkTarget_use_external_project
,$(1),cppunit
, full
)
173 $(call gb_LinkTarget_set_include
,$(1),\
174 -I
$(call gb_UnpackedTarball_get_dir
,cppunit
/include)\
179 $(call gb_LinkTarget_add_libs
,$(1),\
180 $(call gb_UnpackedTarball_get_dir
,cppunit
)/src
/cppunit
/$(if
$(MSVC_USE_DEBUG_RUNTIME
),DebugDll
/cppunitd_dll.lib
,ReleaseDll
/cppunit_dll.lib
) \
183 $(call gb_LinkTarget_add_libs
,$(1),\
184 -L
$(call gb_UnpackedTarball_get_dir
,cppunit
)/src
/cppunit
/.libs
-lcppunit \
190 endif # SYSTEM_CPPUNIT
192 ifneq ($(SYSTEM_EPOXY
),)
194 define gb_LinkTarget__use_epoxy
195 $(call gb_LinkTarget_set_include
,$(1),\
199 $(call gb_LinkTarget_add_libs
,$(1),$(EPOXY_LIBS
))
203 gb_ExternalProject__use_epoxy
:=
207 define gb_LinkTarget__use_epoxy
208 $(call gb_LinkTarget_set_include
,$(1),\
209 -I
$(call gb_UnpackedTarball_get_dir
,epoxy
/include) \
213 $(call gb_LinkTarget_use_libraries
,$(1),\
219 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
223 define gb_ExternalProject__use_epoxy
224 $(call gb_ExternalProject_use_external_project
,$(1),epoxy
)
230 define gb_LinkTarget__use_iconv
231 $(call gb_LinkTarget_add_libs
,$(1),-liconv
)
235 ifneq ($(SYSTEM_MARIADB_CONNECTOR_C
),)
237 define gb_LinkTarget__use_mariadb-connector-c
238 $(call gb_LinkTarget_set_include
,$(1),\
242 $(call gb_LinkTarget_add_libs
,$(1),$(MARIADB_LIBS
))
245 gb_ExternalProject__use_mariadb-connector-c
:=
247 else # !SYSTEM_MARIADB_CONNECTOR_C
249 define gb_LinkTarget__use_mariadb-connector-c
250 $(call gb_LinkTarget_set_include
,$(1),\
254 $(call gb_LinkTarget_use_static_libraries
,$(1),\
255 mariadb-connector-c \
259 define gb_ExternalProject__use_mariadb-connector-c
260 $(call gb_ExternalProject_use_static_libraries
,$(1),mariadb-connector-c
)
264 endif # SYSTEM_MARIADB_CONNECTOR_C
267 ifneq ($(SYSTEM_MARIADB_CONNECTOR_C
),)
269 define gb_LinkTarget__use_mysql
271 $(call gb_LinkTarget_add_defs
,$(1),\
275 $(call gb_LinkTarget_add_libs
,$(1),\
279 $(call gb_LinkTarget_set_include
,$(1),\
287 define gb_LinkTarget__use_mysql
289 $(call gb_LinkTarget_set_include
,$(1),\
297 ifneq ($(SYSTEM_MYSQL_CONNECTOR_CPP
),)
299 define gb_LinkTarget__use_mysql-connector-cpp
300 $(call gb_LinkTarget_add_libs
,$(1),\
304 $(call gb_LinkTarget_add_defs
,$(1),\
305 -DSYSTEM_MYSQL_CPPCONN \
311 $(eval
$(call gb_Helper_register_libraries
,PLAINLIBS_OXT
,\
315 # note: this does not link mysqlcppconn, it is loaded via osl_loadModuleRelative
316 define gb_LinkTarget__use_mysql-connector-cpp
318 $(call gb_LinkTarget_use_unpacked
,$(1),mysql-connector-cpp
)
320 $(call gb_LinkTarget_add_defs
,$(1),\
321 -DCPPCONN_LIB_BUILD \
324 $(call gb_LinkTarget_set_include
,$(1),\
325 -I
$(call gb_UnpackedTarball_get_dir
,mysql-connector-cpp
) \
326 -I
$(call gb_UnpackedTarball_get_dir
,mysql-connector-cpp
)/cppconn \
334 ifneq ($(SYSTEM_ZLIB
),)
336 define gb_LinkTarget__use_zlib
337 $(call gb_LinkTarget_add_defs
,$(1),\
340 $(call gb_LinkTarget_add_libs
,$(1),-lz
)
345 define gb_LinkTarget__use_zlib_x64
349 gb_ExternalProject__use_zlib
:=
353 define gb_LinkTarget__use_zlib_multiarch
354 $(if
$(2),,$(call gb_Output_error
,gb_LinkTarget__use_zlib_multiarch needs two arguments
))
356 $(call gb_LinkTarget_set_include
,$(1),\
361 $(call gb_LinkTarget_use_static_libraries
,$(1),\
367 define gb_LinkTarget__use_zlib
368 $(call gb_LinkTarget__use_zlib_multiarch
,$(1),zlib
)
372 define gb_LinkTarget__use_zlib_x64
373 $(call gb_LinkTarget__use_zlib_multiarch
,$(1),zlib_x64
)
377 define gb_ExternalProject__use_zlib
378 $(call gb_ExternalProject_use_static_libraries
,$(1),zlib
)
385 ifneq ($(SYSTEM_LIBJPEG
),)
387 define gb_LinkTarget__use_libjpeg
388 $(call gb_LinkTarget_add_libs
,$(1),$(LIBJPEG_LIBS
))
389 $(call gb_LinkTarget_set_ldflags
,$(1),\
390 $$(filter-out -L
/usr
/lib
/jvm
%,$$(T_LDFLAGS
)) \
395 gb_ExternalProject__use_libjpeg
:=
399 define gb_LinkTarget__use_libjpeg
400 $(call gb_LinkTarget_set_include
,$(1),\
404 $(call gb_LinkTarget_add_libs
,$(1),$(LIBJPEG_LIBS
))
405 $(call gb_LinkTarget_use_external_project
,$(1),libjpeg-turbo
,full
)
409 define gb_ExternalProject__use_libjpeg
410 $(call gb_ExternalProject_use_external_project
,$(1),libjpeg-turbo
)
414 endif # SYSTEM_LIBJPEG
416 ifneq ($(SYSTEM_MYTHES
),)
418 define gb_LinkTarget__use_mythes
419 $(call gb_LinkTarget_set_include
,$(1),\
423 $(call gb_LinkTarget_add_libs
,$(1),$(MYTHES_LIBS
))
427 else # !SYSTEM_MYTHES
429 define gb_LinkTarget__use_mythes
430 $(call gb_LinkTarget_set_include
,$(1),\
431 -I
$(call gb_UnpackedTarball_get_dir
,mythes
) \
436 $(call gb_LinkTarget_use_static_libraries
,$(1),\
440 $(call gb_LinkTarget_add_libs
,$(1),$(MYTHES_LIBS
))
441 $(call gb_LinkTarget_use_external_project
,$(1),mythes
)
446 endif # SYSTEM_MYTHES
449 ifneq ($(SYSTEM_EXPAT
),)
451 define gb_LinkTarget__use_expat_impl
452 $(if
$(2),,$(error gb_LinkTarget__use_expat_impl needs additional parameter
))
454 $(call gb_LinkTarget_add_defs
,$(1),\
458 $(call gb_LinkTarget_add_libs
,$(1),-lexpat
)
462 gb_ExternalProject__use_expat
:=
466 define gb_LinkTarget__use_expat_impl
467 $(if
$(2),,$(error gb_LinkTarget__use_expat_impl needs additional parameter
))
469 $(call gb_LinkTarget_set_include
,$(1),\
470 -I
$(call gb_UnpackedTarball_get_dir
,expat
)/lib \
474 $(call gb_LinkTarget_use_static_libraries
,$(1),\
480 define gb_ExternalProject__use_expat
481 $(call gb_ExternalProject_use_static_libraries
,$(1),expat
)
487 define gb_LinkTarget__use_expat
488 $(call gb_LinkTarget__use_expat_impl
,$(1),expat
)
492 define gb_LinkTarget__use_expat_x64
493 $(call gb_LinkTarget__use_expat_impl
,$(1),expat_x64
)
497 ifneq ($(SYSTEM_HYPH
),)
499 define gb_LinkTarget__use_hyphen
500 $(call gb_LinkTarget_add_libs
,$(1),$(HYPHEN_LIB
))
506 define gb_LinkTarget__use_hyphen
507 $(call gb_LinkTarget_use_unpacked
,$(1),hyphen
)
508 $(call gb_LinkTarget_set_include
,$(1),\
509 -I
$(call gb_UnpackedTarball_get_dir
,hyphen
)\
514 $(call gb_LinkTarget_use_static_libraries
,$(1),\
518 $(call gb_LinkTarget_add_libs
,$(1),$(HYPHEN_LIB
))
519 $(call gb_LinkTarget_use_external_project
,$(1),hyphen
)
526 ifneq ($(SYSTEM_HUNSPELL
),)
528 define gb_LinkTarget__use_hunspell
529 $(call gb_LinkTarget_set_include
,$(1),\
533 $(call gb_LinkTarget_add_libs
,$(1),$(HUNSPELL_LIBS
))
537 gb_ExternalProject__use_hunspell
:=
539 else # !SYSTEM_HUNSPELL
541 define gb_LinkTarget__use_hunspell
542 $(call gb_LinkTarget_add_defs
,$(1),\
545 $(call gb_LinkTarget_use_unpacked
,$(1),hunspell
)
546 $(call gb_LinkTarget_set_include
,$(1),\
547 -I
$(call gb_UnpackedTarball_get_dir
,hunspell
/src
/hunspell
)\
552 $(call gb_LinkTarget_use_static_libraries
,$(1),\
556 $(call gb_LinkTarget_add_libs
,$(1),$(HUNSPELL_LIBS
))
557 $(call gb_LinkTarget_use_external_project
,$(1),hunspell
)
562 define gb_ExternalProject__use_hunspell
563 $(call gb_ExternalProject_use_external_project
,$(1),hunspell
)
567 endif # SYSTEM_HUNSPELL
570 ifneq ($(SYSTEM_BOOST
),)
572 define gb_LinkTarget__use_boost_lib
573 $(call gb_LinkTarget_set_include
,$(1),\
578 $(call gb_LinkTarget_add_ldflags
,$(1),\
582 $(call gb_LinkTarget_add_libs
,$(1),$(2))
586 define gb_LinkTarget__use_boost_locale
587 $(call gb_LinkTarget__use_boost_lib
,$(1),$(BOOST_LOCALE_LIB
))
591 define gb_LinkTarget__use_boost_date_time
592 $(call gb_LinkTarget__use_boost_lib
,$(1),$(BOOST_DATE_TIME_LIB
))
596 define gb_LinkTarget__use_boost_filesystem
597 $(call gb_LinkTarget__use_boost_lib
,$(1),$(BOOST_FILESYSTEM_LIB
))
601 gb_ExternalProject__use_boost_filesystem
:=
603 define gb_LinkTarget__use_boost_iostreams
604 $(call gb_LinkTarget__use_boost_lib
,$(1),$(BOOST_IOSTREAMS_LIB
))
608 gb_ExternalProject__use_boost_iostreams
:=
610 define gb_LinkTarget__use_boost_system
611 $(call gb_LinkTarget__use_boost_lib
,$(1),$(BOOST_SYSTEM_LIB
))
615 gb_ExternalProject__use_boost_system
:=
617 define gb_LinkTarget__use_boost_headers
618 $(call gb_LinkTarget_set_include
,$(1),\
625 gb_ExternalProject__use_boost_headers
:=
629 define gb_LinkTarget__use_boost_lib
630 $(call gb_LinkTarget_add_defs
,$(1),\
634 $(call gb_LinkTarget_use_static_libraries
,$(1),$(2))
638 define gb_LinkTarget__use_boost_locale
639 $(call gb_LinkTarget__use_boost_lib
,$(1),boost_locale
)
640 $(call gb_LinkTarget_add_libs
,$(1),\
641 $(if
$(filter $(OS
),MACOSX
),-liconv
) \
646 define gb_LinkTarget__use_boost_date_time
647 $(call gb_LinkTarget__use_boost_lib
,$(1),boost_date_time
)
651 define gb_LinkTarget__use_boost_filesystem
652 $(call gb_LinkTarget__use_boost_lib
,$(1),boost_filesystem
)
656 define gb_ExternalProject__use_boost_filesystem
657 $(call gb_ExternalProject_use_static_libraries
,$(1),boost_filesystem
)
660 define gb_LinkTarget__use_boost_iostreams
661 $(call gb_LinkTarget__use_boost_lib
,$(1),boost_iostreams
)
665 define gb_ExternalProject__use_boost_iostreams
666 $(call gb_ExternalProject_use_static_libraries
,$(1),boost_iostreams
)
669 define gb_LinkTarget__use_boost_system
670 $(call gb_LinkTarget__use_boost_lib
,$(1),boost_system
)
674 define gb_ExternalProject__use_boost_system
675 $(call gb_ExternalProject_use_static_libraries
,$(1),boost_system
)
678 define gb_LinkTarget__use_boost_headers
679 $(call gb_LinkTarget_use_unpacked
,$(1),boost
)
680 $(call gb_LinkTarget_set_include
,$(1),\
687 define gb_ExternalProject__use_boost_headers
688 $(call gb_ExternalProject_use_unpacked
,$(1),boost
)
695 ifneq ($(SYSTEM_LIBCMIS
),)
697 define gb_LinkTarget__use_libcmis
698 $(call gb_LinkTarget_set_include
,$(1),\
702 $(call gb_LinkTarget_add_libs
,$(1),$(LIBCMIS_LIBS
))
706 else # !SYSTEM_LIBCMIS
708 define gb_LinkTarget__use_libcmis
709 $(call gb_LinkTarget_set_include
,$(1),\
710 -I
$(call gb_UnpackedTarball_get_dir
,libcmis
)/src \
713 $(call gb_LinkTarget_use_static_libraries
,$(1),\
719 endif # SYSTEM_LIBCMIS
721 ifeq ($(ENABLE_JAVA
),TRUE
)
723 define gb_LinkTarget__use_jawt
724 $(call gb_LinkTarget_add_libs
,$(1),\
732 gb_LinkTarget__use_jawt
:=
736 ifneq ($(SYSTEM_LIBATOMIC_OPS
),)
738 define gb_LinkTarget__use_libatomic_ops
739 $(call gb_LinkTarget_set_include
,$(1),\
741 $(LIBATOMIC_OPS_CFLAGS
) \
743 $(call gb_LinkTarget_add_libs
,$(1), $(LIBATOMIC_OPS_LIBS
))
746 gb_ExternalProject__use_libatomic_ops
:=
748 else # !SYSTEM_LIBATOMIC_OPS
750 define gb_LinkTarget__use_libatomic_ops
751 $(call gb_LinkTarget_set_include
,$(1),\
752 $(LIBATOMIC_OPS_CFLAGS
) \
754 $(LIBATOMIC_OPS_CFLAGS
) \
756 $(call gb_LinkTarget_use_external_project
,$(1),\
760 $(call gb_LinkTarget_add_libs
,$(1),\
761 -L
$(call gb_UnpackedTarball_get_dir
,libatomic_ops
)/src
/lib
-latomic_ops \
766 define gb_ExternalProject__use_libatomic_ops
767 $(call gb_ExternalProject_use_external_project
,$(1),libatomic_ops
)
771 endif # SYSTEM_LIBATOMIC_OPS
774 ifneq ($(SYSTEM_LIBEXTTEXTCAT
),)
776 define gb_LinkTarget__use_libexttextcat
777 $(call gb_LinkTarget_set_include
,$(1),\
779 $(LIBEXTTEXTCAT_CFLAGS
) \
781 $(call gb_LinkTarget_add_defs
,$(1),\
782 -DSYSTEM_LIBEXTTEXTCAT \
784 $(call gb_LinkTarget_add_libs
,$(1),$(LIBEXTTEXTCAT_LIBS
))
788 else # !SYSTEM_LIBEXTTEXTCAT
790 define gb_LinkTarget__use_libexttextcat
791 $(call gb_LinkTarget_set_include
,$(1),\
792 -I
$(call gb_UnpackedTarball_get_dir
,libexttextcat
/src
) \
797 $(call gb_LinkTarget_use_static_libraries
,$(1),\
801 $(call gb_LinkTarget_add_libs
,$(1),\
802 $(call gb_UnpackedTarball_get_dir
,libexttextcat
)/src
/.libs
/libexttextcat-2.0.a\
804 $(call gb_LinkTarget_use_external_project
,$(1),libexttextcat
)
810 endif # SYSTEM_LIBEXTTEXTCAT
813 ifneq ($(SYSTEM_LIBNUMBERTEXT
),)
815 define gb_LinkTarget__use_libnumbertext
816 $(call gb_LinkTarget_set_include
,$(1),\
818 $(LIBNUMBERTEXT_CFLAGS
) \
820 $(call gb_LinkTarget_add_defs
,$(1),\
821 -DSYSTEM_LIBNUMBERTEXT \
823 $(call gb_LinkTarget_add_libs
,$(1),$(LIBNUMBERTEXT_LIBS
))
827 else # !SYSTEM_LIBNUMBERTEXT
829 ifneq ($(ENABLE_LIBNUMBERTEXT
),)
831 define gb_LinkTarget__use_libnumbertext
832 $(call gb_LinkTarget_use_package
,$(1),libnumbertext_numbertext
)
833 $(call gb_LinkTarget_set_include
,$(1),\
834 -I
$(call gb_UnpackedTarball_get_dir
,libnumbertext
/src
) \
837 $(call gb_LinkTarget_add_defs
,$(1),\
838 -DENABLE_LIBNUMBERTEXT \
842 $(call gb_LinkTarget_use_static_libraries
,$(1),\
847 $(call gb_LinkTarget_add_libs
,$(1),\
848 $(call gb_UnpackedTarball_get_dir
,libnumbertext
)/src
/.libs
/libnumbertext-1.0.a\
850 $(call gb_LinkTarget_use_external_project
,$(1),libnumbertext
,full
)
856 else # !ENABLE_LIBNUMBERTEXT
858 define gb_LinkTarget__use_libnumbertext
861 endif # ENABLE_LIBNUMBERTEXT
863 endif # SYSTEM_LIBNUMBERTEXT
866 ifneq ($(SYSTEM_LIBXML
),)
868 define gb_LinkTarget__use_libxml2
869 $(call gb_LinkTarget_add_defs
,$(1),\
872 $(call gb_LinkTarget_set_include
,$(1),\
876 $(call gb_LinkTarget_add_libs
,$(1),$(LIBXML_LIBS
))
879 gb_ExternalProject__use_libxml2
:=
881 else # !SYSTEM_LIBXML
883 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
887 define gb_LinkTarget__use_libxml2
888 $(call gb_LinkTarget_use_package
,$(1),libxml2
)
889 $(call gb_LinkTarget_set_include
,$(1),\
894 $(call gb_LinkTarget_add_libs
,$(1),\
899 $(call gb_LinkTarget_use_external
,$(1),icu_headers
)
903 define gb_ExternalProject__use_libxml2
904 $(call gb_ExternalProject_use_package
,$(1),libxml2
)
907 $(call gb_ExternalProject_use_packages
,$(1),icu icu_ure
)
912 endif # SYSTEM_LIBXML
915 ifneq ($(SYSTEM_LIBXSLT
),)
917 define gb_LinkTarget__use_libxslt
918 $(call gb_LinkTarget_set_include
,$(1),\
922 $(call gb_LinkTarget_add_libs
,$(1),$(LIBXSLT_LIBS
))
926 define gb_LinkTarget__use_libexslt
927 $(call gb_LinkTarget_set_include
,$(1),\
932 $(call gb_LinkTarget_add_libs
,$(1),$(LIBEXSLT_LIBS
))
936 else # !SYSTEM_LIBXSLT
938 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
942 define gb_LinkTarget__use_libxslt
943 $(call gb_LinkTarget_use_package
,$(1),libxslt
)
944 $(call gb_LinkTarget_set_include
,$(1),\
946 -I
$(call gb_UnpackedTarball_get_dir
,libxslt
) \
950 $(call gb_LinkTarget_add_libs
,$(1),\
951 $(call gb_UnpackedTarball_get_dir
,libxslt
)/win32
/bin.msvc
/libxslt.lib \
954 $(call gb_LinkTarget_add_libs
,$(1),\
955 -L
$(call gb_UnpackedTarball_get_dir
,libxslt
)/libxslt
/.libs
-lxslt \
961 define gb_LinkTarget__use_libexslt
962 $(call gb_LinkTarget_use_package
,$(1),libxslt
)
963 $(call gb_LinkTarget_set_include
,$(1),\
965 -I
$(call gb_UnpackedTarball_get_dir
,libxslt
) \
969 $(call gb_LinkTarget_add_libs
,$(1),\
970 $(call gb_UnpackedTarball_get_dir
,libxslt
)/win32
/bin.msvc
/libexslt.lib \
973 $(call gb_LinkTarget_add_libs
,$(1),\
974 -L
$(call gb_UnpackedTarball_get_dir
,libxslt
)/libexslt
/.libs
-lexslt \
980 endif # SYSTEM_LIBXSLT
983 ifneq ($(SYSTEM_XMLSEC
),)
985 define gb_LinkTarget__use_xmlsec
986 $(call gb_LinkTarget_add_defs
,$(1),\
989 $(call gb_LinkTarget_set_include
,$(1),\
993 $(call gb_LinkTarget_add_libs
,$(1),$(XMLSEC_LIBS
))
997 gb_ExternalProject__use_xmlsec
:=
999 else # !SYSTEM_XMLSEC
1001 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
1005 define gb_LinkTarget__use_xmlsec
1009 endif # SYSTEM_XMLSEC
1011 ifneq ($(SYSTEM_LIBLANGTAG
),)
1013 define gb_LinkTarget__use_liblangtag
1014 $(call gb_LinkTarget_set_include
,$(1),\
1016 $(LIBLANGTAG_CFLAGS
) \
1019 $(call gb_LinkTarget_add_libs
,$(1),$(LIBLANGTAG_LIBS
))
1023 gb_ExternalProject__use_liblangtag
:=
1025 else # !SYSTEM_LIBLANGTAG
1027 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
1033 define gb_LinkTarget__use_liblangtag
1034 $(call gb_LinkTarget_set_include
,$(1),\
1035 $(LIBLANGTAG_CFLAGS
) \
1038 $(call gb_LinkTarget_add_libs
,$(1),$(LIBLANGTAG_LIBS
))
1039 $(call gb_LinkTarget_use_external_project
,$(1),liblangtag
)
1045 $(eval
$(call gb_Helper_register_packages_for_install
,ure
,\
1049 define gb_LinkTarget__use_liblangtag
1050 $(call gb_LinkTarget_set_include
,$(1),\
1051 $(LIBLANGTAG_CFLAGS
) \
1054 $(call gb_LinkTarget_add_libs
,$(1),$(LIBLANGTAG_LIBS
))
1055 $(call gb_LinkTarget_use_package
,$(1),liblangtag
)
1061 define gb_ExternalProject__use_liblangtag
1062 $(call gb_ExternalProject_use_external_project
,$(1),liblangtag
)
1066 endif # SYSTEM_LIBLANGTAG
1069 gb_ExternalProject__use_apr
:=
1071 ifeq ($(WITH_WEBDAV
),serf
)
1073 define gb_LinkTarget__use_apr
1074 $(call gb_LinkTarget_set_include
,$(1),\
1078 $(call gb_LinkTarget_add_libs
,$(1),\
1080 $(if
$(filter $(OS
),LINUX
),-lpthread
) \
1081 $(if
$(filter $(OS
),MACOSX
),-liconv
) \
1084 ifeq ($(SYSTEM_APR
),)
1085 $(call gb_LinkTarget_use_system_win32_libs
,$(1),\
1090 $(call gb_LinkTarget_add_defs
,$(1),\
1091 -DAPR_DECLARE_STATIC \
1092 -DAPU_DECLARE_STATIC \
1094 $(call gb_LinkTarget_use_external_project
,$(1),apr_util
)
1099 define gb_ExternalProject__use_apr
1100 ifeq ($(SYSTEM_APR
),)
1101 $(call gb_ExternalProject_use_external_project
,$(1),apr_util
)
1106 define gb_LinkTarget__use_serf
1107 $(call gb_LinkTarget_set_include
,$(1),\
1111 $(call gb_LinkTarget_add_libs
,$(1),\
1115 ifeq ($(SYSTEM_SERF
),)
1116 $(call gb_LinkTarget_use_external_project
,$(1),serf
)
1121 else ifeq ($(WITH_WEBDAV
),neon
)
1123 ifneq ($(SYSTEM_NEON
),)
1125 define gb_LinkTarget__use_neon
1126 $(call gb_LinkTarget_add_defs
,$(1),\
1127 -DNEON_VERSION
=0x
$(NEON_VERSION
) \
1130 $(call gb_LinkTarget_set_include
,$(1),\
1135 $(call gb_LinkTarget_add_libs
,$(1),$(NEON_LIBS
))
1141 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
1145 define gb_LinkTarget__use_neon
1146 $(call gb_LinkTarget_use_unpacked
,$(1),neon
)
1147 $(call gb_LinkTarget_set_include
,$(1),\
1148 -I
$(call gb_UnpackedTarball_get_dir
,neon
/src
) \
1151 $(call gb_LinkTarget_use_libraries
,$(1),\
1161 ifneq ($(SYSTEM_REDLAND
),)
1163 define gb_LinkTarget__use_librdf
1164 $(call gb_LinkTarget_add_defs
,$(1),\
1167 $(call gb_LinkTarget_set_include
,$(1),\
1171 $(call gb_LinkTarget_add_libs
,$(1),$(REDLAND_LIBS
))
1175 gb_LinkTarget__use_redland_headers
:=
1177 gb_LinkTarget__use_raptor_headers
:=
1179 gb_LinkTarget__use_rasqal_headers
:=
1181 else # !SYSTEM_REDLAND
1183 define gb_LinkTarget__use_redland_headers
1184 $(call gb_LinkTarget_set_include
,$(1),\
1185 -I
$(call gb_UnpackedTarball_get_dir
,redland
)/src \
1191 define gb_LinkTarget__use_raptor_headers
1192 $(call gb_LinkTarget_set_include
,$(1),\
1193 -I
$(call gb_UnpackedTarball_get_dir
,raptor
)/src \
1199 define gb_LinkTarget__use_rasqal_headers
1200 $(call gb_LinkTarget_set_include
,$(1),\
1201 -I
$(call gb_UnpackedTarball_get_dir
,rasqal
)/src \
1207 ifneq ($(OS
),ANDROID
)
1210 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
, \
1216 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
, \
1223 define gb_LinkTarget__use_librdf
1225 $(call gb_LinkTarget_use_libraries
,$(1),\
1230 $(call gb_LinkTarget_use_packages
,$(1),redland raptor rasqal
)
1232 $(call gb_LinkTarget_add_libs
,$(1),\
1233 -L
$(call gb_UnpackedTarball_get_dir
,redland
)/src
/.libs
-lrdf \
1234 -L
$(call gb_UnpackedTarball_get_dir
,raptor
)/src
/.libs
-lraptor2 \
1235 -L
$(call gb_UnpackedTarball_get_dir
,rasqal
)/src
/.libs
-lrasqal \
1243 define gb_LinkTarget__use_librdf
1244 $(call gb_LinkTarget_use_packages
,$(1),redland raptor rasqal
)
1250 endif # SYSTEM_REDLAND
1253 ifneq ($(USING_X11
)$(ENABLE_CAIRO_CANVAS
)$(ENABLE_HEADLESS
),) # or
1255 ifneq ($(SYSTEM_CAIRO
),)
1257 define gb_LinkTarget__use_cairo
1258 $(call gb_LinkTarget_set_include
,$(1),\
1262 $(call gb_LinkTarget_use_external
,$(1),freetype_headers
)
1263 $(call gb_LinkTarget_add_libs
,$(1),$(CAIRO_LIBS
))
1267 else # !SYSTEM_CAIRO
1269 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
1271 $(if
$(filter $(OS
),WNT
),,pixman
) \
1274 define gb_LinkTarget__use_cairo
1275 $(call gb_LinkTarget_use_package
,$(1),cairo
)
1276 $(call gb_LinkTarget_use_package
,$(1),pixman
)
1277 $(call gb_LinkTarget_use_external
,$(1),freetype_headers
)
1278 $(call gb_LinkTarget_set_include
,$(1),\
1279 -I
$(call gb_UnpackedTarball_get_dir
,cairo
) \
1280 -I
$(call gb_UnpackedTarball_get_dir
,cairo
)/src \
1283 $(call gb_LinkTarget_add_libs
,$(1),\
1284 -L
$(call gb_UnpackedTarball_get_dir
,cairo
)/src
/.libs
-lcairo \
1285 $(if
$(filter-out MACOSX WNT
,$(OS
)), \
1286 -L
$(call gb_UnpackedTarball_get_dir
,pixman
)/pixman
/.libs
-lpixman-1 \
1292 endif # SYSTEM_CAIRO
1294 else ifeq ($(OS
),ANDROID
)
1296 define gb_LinkTarget__use_cairo
1297 $(call gb_LinkTarget_use_package
,$(1),cairo
)
1298 $(call gb_LinkTarget_use_package
,$(1),pixman
)
1299 $(call gb_LinkTarget_use_external
,$(1),freetype_headers
)
1300 $(call gb_LinkTarget_set_include
,$(1),\
1301 -I
$(call gb_UnpackedTarball_get_dir
,cairo
) \
1302 -I
$(call gb_UnpackedTarball_get_dir
,cairo
)/src \
1305 $(call gb_LinkTarget_add_libs
,$(1),\
1306 -L
$(call gb_UnpackedTarball_get_dir
,cairo
)/src
/.libs
-lcairo \
1307 -L
$(call gb_UnpackedTarball_get_dir
,pixman
)/pixman
/.libs
-lpixman-1 \
1314 ifneq ($(SYSTEM_FREETYPE
),)
1316 define gb_LinkTarget__use_freetype_headers
1317 $(call gb_LinkTarget_set_include
,$(1),\
1319 $(FREETYPE_CFLAGS
) \
1324 gb_ExternalProject__use_freetype
:=
1328 define gb_LinkTarget__use_freetype_headers
1329 $(call gb_LinkTarget_use_external_project
,$(1),freetype
)
1330 $(call gb_LinkTarget_set_include
,$(1),\
1331 $(FREETYPE_CFLAGS
) \
1337 define gb_ExternalProject__use_freetype
1338 $(call gb_ExternalProject_use_external_project
,$(1),freetype
)
1342 endif # SYSTEM_FREETYPE
1344 define gb_LinkTarget__use_freetype
1345 $(call gb_LinkTarget_use_external
,$(1),freetype_headers
)
1346 $(call gb_LinkTarget_add_libs
,$(1),$(FREETYPE_LIBS
))
1350 ifneq ($(SYSTEM_FONTCONFIG
),)
1352 define gb_LinkTarget__use_fontconfig
1353 $(call gb_LinkTarget_set_include
,$(1),\
1355 $(FONTCONFIG_CFLAGS
) \
1358 $(call gb_LinkTarget_add_libs
,$(1),$(FONTCONFIG_LIBS
))
1364 define gb_LinkTarget__use_fontconfig
1365 $(call gb_LinkTarget_use_external_project
,$(1),fontconfig
)
1366 $(call gb_LinkTarget_set_include
,$(1),\
1367 -I
$(call gb_UnpackedTarball_get_dir
,fontconfig
) \
1371 $(call gb_LinkTarget_add_libs
,$(1),\
1372 -L
$(call gb_UnpackedTarball_get_dir
,fontconfig
)/src
/.libs
-lfontconfig \
1377 endif # SYSTEM_FONTCONFIG
1379 ifneq ($(SYSTEM_GRAPHITE
),)
1381 define gb_LinkTarget__use_graphite
1382 $(call gb_LinkTarget_set_include
,$(1),\
1384 $(GRAPHITE_CFLAGS
) \
1386 $(call gb_LinkTarget_add_libs
,$(1),$(GRAPHITE_LIBS
))
1390 gb_ExternalProject__use_graphite
:=
1392 else # !SYSTEM_GRAPHITE
1394 define gb_LinkTarget__use_graphite
1395 $(call gb_LinkTarget_use_unpacked
,$(1),graphite
)
1396 $(call gb_LinkTarget_set_include
,$(1),\
1397 -I
$(call gb_UnpackedTarball_get_dir
,graphite
/include) \
1400 $(call gb_LinkTarget_use_static_libraries
,$(1),\
1406 define gb_ExternalProject__use_graphite
1407 $(call gb_ExternalProject_use_static_libraries
,$(1),\
1412 endif # SYSTEM_GRAPHITE
1414 ifneq ($(SYSTEM_ICU
),)
1416 gb_LinkTarget__use_icu_headers
:=
1417 gb_ExternalProject__use_icu
:=
1419 define gb_LinkTarget__use_icudata
1420 $(call gb_LinkTarget_add_libs
,$(1),-licudata
)
1423 define gb_LinkTarget__use_icui18n
1424 $(call gb_LinkTarget_add_libs
,$(1),-licui18n
)
1427 define gb_LinkTarget__use_icuuc
1428 $(call gb_LinkTarget_add_libs
,$(1),-licuuc
)
1434 $(eval
$(call gb_Helper_register_packages_for_install
,ure
, \
1438 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
, \
1442 ifeq ($(OS
)$(DISABLE_DYNLOADING
),ANDROID
)
1448 define gb_LinkTarget__use_icu_headers
1449 $(call gb_LinkTarget_use_unpacked
,$(1),icu
)
1450 $(call gb_LinkTarget_set_include
,$(1),\
1451 -I
$(call gb_UnpackedTarball_get_dir
,icu
)/source \
1452 -I
$(call gb_UnpackedTarball_get_dir
,icu
)/source
/i18n \
1453 -I
$(call gb_UnpackedTarball_get_dir
,icu
)/source
/common \
1459 define gb_ExternalProject__use_icu
1460 $(call gb_ExternalProject_use_package
,$(1),icu
)
1464 # icudata and icui18n is called icudt and icuin when built with MSVC :-/
1465 define gb_LinkTarget__use_icudata
1466 $(call gb_LinkTarget_use_package
,$(1),icu_ure
)
1469 $(call gb_LinkTarget_add_libs
,$(1),\
1470 $(call gb_UnpackedTarball_get_dir
,icu
)/source
/lib
/icudt
$(if
$(MSVC_USE_DEBUG_RUNTIME
),d
).lib \
1473 $(call gb_LinkTarget_add_libs
,$(1),\
1474 -L
$(call gb_UnpackedTarball_get_dir
,icu
)/source
/lib
-licudata
$(gb_ICU_suffix
) \
1480 define gb_LinkTarget__use_icui18n
1481 $(call gb_LinkTarget_use_package
,$(1),icu
)
1484 $(call gb_LinkTarget_add_libs
,$(1),\
1485 $(call gb_UnpackedTarball_get_dir
,icu
)/source
/lib
/icuin
$(if
$(MSVC_USE_DEBUG_RUNTIME
),d
).lib \
1488 $(call gb_LinkTarget_add_libs
,$(1),\
1489 -L
$(call gb_UnpackedTarball_get_dir
,icu
)/source
/lib
-licui18n
$(gb_ICU_suffix
) \
1495 define gb_LinkTarget__use_icuuc
1496 $(call gb_LinkTarget_use_package
,$(1),icu_ure
)
1499 $(call gb_LinkTarget_add_libs
,$(1),\
1500 $(call gb_UnpackedTarball_get_dir
,icu
)/source
/lib
/icuuc
$(if
$(MSVC_USE_DEBUG_RUNTIME
),d
).lib \
1503 $(call gb_LinkTarget_add_libs
,$(1),\
1504 -L
$(call gb_UnpackedTarball_get_dir
,icu
)/source
/lib
-licuuc
$(gb_ICU_suffix
) \
1512 ifneq ($(SYSTEM_HARFBUZZ
),)
1514 define gb_LinkTarget__use_harfbuzz
1515 $(call gb_LinkTarget_set_include
,$(1),\
1517 $(HARFBUZZ_CFLAGS
) \
1519 $(call gb_LinkTarget_add_libs
,$(1),$(HARFBUZZ_LIBS
))
1523 gb_ExternalProject__use_harfbuzz
:=
1525 else # SYSTEM_HARFBUZZ != TRUE
1527 define gb_LinkTarget__use_harfbuzz
1528 $(call gb_LinkTarget_set_include
,$(1),\
1529 $(HARFBUZZ_CFLAGS
) \
1532 $(call gb_LinkTarget_add_libs
,$(1),$(HARFBUZZ_LIBS
))
1533 $(call gb_LinkTarget_use_external_project
,$(1),harfbuzz
)
1537 define gb_ExternalProject__use_harfbuzz
1538 $(call gb_ExternalProject_use_external_project
,$(1),harfbuzz
)
1542 endif # SYSTEM_HARFBUZZ
1544 ifeq ($(DISABLE_OPENSSL
),TRUE
)
1546 gb_ExternalProject__use_openssl
:=
1547 gb_LinkTarget__use_openssl_headers
:=
1548 gb_LinkTarget__use_openssl
:=
1550 else # !DISABLE_OPENSSL
1552 ifneq ($(SYSTEM_OPENSSL
),)
1554 gb_LinkTarget__use_openssl_headers
:=
1555 gb_ExternalProject__use_openssl
:=
1557 define gb_LinkTarget__use_openssl
1558 $(call gb_LinkTarget_set_include
,$(1),\
1562 $(call gb_LinkTarget_add_libs
,$(1),$(OPENSSL_LIBS
))
1566 else # !SYSTEM_OPENSSL
1568 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
, \
1572 define gb_ExternalProject__use_openssl
1573 $(call gb_ExternalProject_use_package
,$(1),openssl
)
1577 define gb_LinkTarget__use_openssl_headers
1578 $(call gb_LinkTarget_use_external_project
,$(1),openssl
)
1579 $(call gb_LinkTarget_set_include
,$(1),\
1580 -I
$(call gb_UnpackedTarball_get_dir
,openssl
)/include \
1586 define gb_LinkTarget__use_openssl
1587 $(call gb_LinkTarget_use_package
,$(1),openssl
)
1589 $(call gb_LinkTarget_add_libs
,$(1),\
1590 $(call gb_UnpackedTarball_get_dir
,openssl
)/out32dll
/ssleay32.lib \
1591 $(call gb_UnpackedTarball_get_dir
,openssl
)/out32dll
/libeay32.lib \
1594 $(call gb_LinkTarget_add_libs
,$(1),\
1595 $(call gb_UnpackedTarball_get_dir
,openssl
)/libssl.a \
1596 $(call gb_UnpackedTarball_get_dir
,openssl
)/libcrypto.a \
1598 $(call gb_LinkTarget_use_external_project
,$(1),openssl
)
1599 ifeq ($(OS
),SOLARIS
)
1600 $(call gb_LinkTarget_add_libs
,$(1),\
1609 endif # SYSTEM_OPENSSL
1610 endif # DISABLE_OPENSSL
1613 ifeq ($(DISABLE_OPENSSL
),TRUE
)
1615 define gb_LinkTarget__use_gnutls
1616 $(call gb_LinkTarget_set_include
,$(1),\
1621 $(call gb_LinkTarget_add_defs
,$(1),\
1625 $(call gb_LinkTarget_add_libs
,$(1),$(GNUTLS_LIBS
))
1629 define gb_LinkTarget__use_libgcrypt
1630 $(call gb_LinkTarget_set_include
,$(1),\
1632 $(LIBGCRYPT_CFLAGS
) \
1635 $(call gb_LinkTarget_add_libs
,$(1),$(LIBGCRYPT_LIBS
))
1639 else # !DISABLE_OPENSSL
1641 gb_LinkTarget__use_gnutls
:=
1642 gb_LinkTarget__use_libgcrypt
:=
1644 endif # DISABLE_OPENSSL
1647 ifneq ($(SYSTEM_CDR
),)
1649 define gb_LinkTarget__use_cdr
1650 $(call gb_LinkTarget_set_include
,$(1),\
1654 $(call gb_LinkTarget_add_libs
,$(1),$(CDR_LIBS
))
1660 define gb_LinkTarget__use_cdr
1661 $(call gb_LinkTarget_set_include
,$(1),\
1662 -I
$(call gb_UnpackedTarball_get_dir
,libcdr
)/inc \
1665 $(call gb_LinkTarget_add_libs
,$(1),\
1666 $(call gb_UnpackedTarball_get_dir
,libcdr
)/src
/lib
/.libs
/libcdr-0.1
$(gb_StaticLibrary_PLAINEXT
) \
1668 $(call gb_LinkTarget_use_external_project
,$(1),libcdr
)
1674 ifneq ($(SYSTEM_EBOOK
),)
1676 define gb_LinkTarget__use_ebook
1677 $(call gb_LinkTarget_set_include
,$(1),\
1681 $(call gb_LinkTarget_add_libs
,$(1),$(EBOOK_LIBS
))
1685 gb_ExternalProject__use_ebook
:=
1687 else # !SYSTEM_EBOOK
1689 define gb_LinkTarget__use_ebook
1690 $(call gb_LinkTarget_set_include
,$(1),\
1691 -I
${WORKDIR}/UnpackedTarball
/libebook
/inc \
1694 $(call gb_LinkTarget_add_libs
,$(1),\
1695 $(call gb_UnpackedTarball_get_dir
,libebook
)/src
/lib
/.libs
/libe-book-0.1
$(gb_StaticLibrary_PLAINEXT
) \
1697 $(call gb_LinkTarget_use_external_project
,$(1),libebook
)
1701 define gb_ExternalProject__use_ebook
1702 $(call gb_ExternalProject_use_external_project
,$(1),libebook
)
1706 endif # SYSTEM_EBOOK
1709 ifneq ($(SYSTEM_ETONYEK
),)
1711 define gb_LinkTarget__use_etonyek
1712 $(call gb_LinkTarget_set_include
,$(1),\
1716 $(call gb_LinkTarget_add_libs
,$(1),$(ETONYEK_LIBS
))
1720 gb_ExternalProject__use_etonyek
:=
1722 else # !SYSTEM_ETONYEK
1726 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
1730 define gb_LinkTarget__use_etonyek
1731 $(call gb_LinkTarget_set_include
,$(1),\
1732 -I
$(call gb_UnpackedTarball_get_dir
,libetonyek
)/inc \
1735 $(call gb_LinkTarget_use_libraries
,$(1),\
1743 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
, \
1747 define gb_LinkTarget__use_etonyek
1748 $(call gb_LinkTarget_use_package
,$(1),libetonyek
)
1750 $(call gb_LinkTarget_set_include
,$(1),\
1751 -I
${WORKDIR}/UnpackedTarball
/libetonyek
/inc \
1752 -DLIBETONYEK_VISIBILITY \
1755 $(call gb_LinkTarget_add_libs
,$(1),\
1756 -L
$(call gb_UnpackedTarball_get_dir
,libetonyek
)/src
/lib
/.libs
-letonyek-0.1 \
1758 $(call gb_LinkTarget_use_external_project
,$(1),libetonyek
)
1762 define gb_ExternalProject__use_etonyek
1763 $(call gb_ExternalProject_use_external_project
,$(1),libetonyek
)
1769 endif # SYSTEM_ETONYEK
1772 ifneq ($(SYSTEM_FREEHAND
),)
1774 define gb_LinkTarget__use_freehand
1775 $(call gb_LinkTarget_set_include
,$(1),\
1777 $(FREEHAND_CFLAGS
) \
1779 $(call gb_LinkTarget_add_libs
,$(1),$(FREEHAND_LIBS
))
1783 gb_ExternalProject__use_freehand
:=
1785 else # !SYSTEM_FREEHAND
1787 define gb_LinkTarget__use_freehand
1788 $(call gb_LinkTarget_set_include
,$(1),\
1789 -I
${WORKDIR}/UnpackedTarball
/libfreehand
/inc \
1792 $(call gb_LinkTarget_add_libs
,$(1),\
1793 $(call gb_UnpackedTarball_get_dir
,libfreehand
)/src
/lib
/.libs
/libfreehand-0.1
$(gb_StaticLibrary_PLAINEXT
) \
1795 $(call gb_LinkTarget_use_external_project
,$(1),libfreehand
)
1799 define gb_ExternalProject__use_freehand
1800 $(call gb_ExternalProject_use_external_project
,$(1),libfreehand
)
1804 endif # SYSTEM_FREEHAND
1807 ifneq ($(SYSTEM_ODFGEN
),)
1809 define gb_LinkTarget__use_odfgen
1810 $(call gb_LinkTarget_set_include
,$(1),\
1814 $(call gb_LinkTarget_add_libs
,$(1),$(ODFGEN_LIBS
))
1818 else # !SYSTEM_ODFGEN
1822 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
1826 define gb_LinkTarget__use_odfgen
1827 $(call gb_LinkTarget_set_include
,$(1),\
1828 -I
$(call gb_UnpackedTarball_get_dir
,libodfgen
)/inc \
1831 $(call gb_LinkTarget_use_libraries
,$(1),\
1839 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
, \
1843 define gb_LinkTarget__use_odfgen
1844 $(call gb_LinkTarget_use_package
,$(1),libodfgen
)
1846 $(call gb_LinkTarget_set_include
,$(1),\
1847 -I
$(call gb_UnpackedTarball_get_dir
,libodfgen
)/inc \
1848 -DLIBODFGEN_VISIBILITY \
1851 $(call gb_LinkTarget_add_libs
,$(1),\
1852 -L
$(call gb_UnpackedTarball_get_dir
,libodfgen
)/src
/.libs
-lodfgen-0.1 \
1859 endif # SYSTEM_ODFGEN
1861 ifneq ($(SYSTEM_EPUBGEN
),)
1863 define gb_LinkTarget__use_epubgen
1864 $(call gb_LinkTarget_set_include
,$(1),\
1868 $(call gb_LinkTarget_add_libs
,$(1),$(EPUBGEN_LIBS
))
1871 gb_ExternalProject__use_epubgen
:=
1873 else # !SYSTEM_EPUBGEN
1875 define gb_LinkTarget__use_epubgen
1876 $(call gb_LinkTarget_set_include
,$(1),\
1877 -I
$(call gb_UnpackedTarball_get_dir
,libepubgen
)/inc \
1880 $(call gb_LinkTarget_add_libs
,$(1),\
1881 $(call gb_UnpackedTarball_get_dir
,libepubgen
)/src
/lib
/.libs
/libepubgen-0.1
$(gb_StaticLibrary_PLAINEXT
) \
1883 $(call gb_LinkTarget_use_external_project
,$(1),libepubgen
)
1886 define gb_ExternalProject__use_epubgen
1887 $(call gb_ExternalProject_use_external_project
,$(1),libepubgen
)
1891 endif # SYSTEM_EPUBGEN
1893 ifneq ($(SYSTEM_REVENGE
),)
1895 define gb_LinkTarget__use_revenge
1896 $(call gb_LinkTarget_set_include
,$(1),\
1900 $(call gb_LinkTarget_add_libs
,$(1),$(REVENGE_LIBS
))
1904 gb_ExternalProject__use_revenge
:=
1906 else # !SYSTEM_REVENGE
1910 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
1914 define gb_LinkTarget__use_revenge
1915 $(call gb_LinkTarget_set_include
,$(1),\
1919 $(call gb_LinkTarget_use_libraries
,$(1),\
1925 define gb_ExternalProject__use_revenge
1926 $(call gb_ExternalProject_get_preparation_target
,$(1)) : $(call gb_Library_get_target
,revenge
)
1932 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
, \
1936 define gb_LinkTarget__use_revenge
1937 $(call gb_LinkTarget_use_package
,$(1),librevenge
)
1939 $(call gb_LinkTarget_set_include
,$(1),\
1941 -DLIBREVENGE_VISIBILITY \
1944 $(call gb_LinkTarget_add_libs
,$(1),\
1949 define gb_ExternalProject__use_revenge
1950 $(call gb_ExternalProject_use_package
,$(1),librevenge
)
1956 endif # SYSTEM_REVENGE
1959 ifneq ($(SYSTEM_ABW
),)
1961 define gb_LinkTarget__use_abw
1962 $(call gb_LinkTarget_set_include
,$(1),\
1966 $(call gb_LinkTarget_add_libs
,$(1),$(ABW_LIBS
))
1969 gb_ExternalProject__use_abw
:=
1973 define gb_LinkTarget__use_abw
1974 $(call gb_LinkTarget_set_include
,$(1),\
1975 -I
$(call gb_UnpackedTarball_get_dir
,libabw
)/inc \
1978 $(call gb_LinkTarget_add_libs
,$(1),\
1979 $(call gb_UnpackedTarball_get_dir
,libabw
)/src
/lib
/.libs
/libabw-0.1
$(gb_StaticLibrary_PLAINEXT
) \
1981 $(call gb_LinkTarget_use_external_project
,$(1),libabw
)
1984 define gb_ExternalProject__use_abw
1985 $(call gb_ExternalProject_use_external_project
,$(1),libabw
)
1992 ifneq ($(SYSTEM_MSPUB
),)
1994 define gb_LinkTarget__use_mspub
1995 $(call gb_LinkTarget_set_include
,$(1),\
1999 $(call gb_LinkTarget_add_libs
,$(1),$(MSPUB_LIBS
))
2003 else # !SYSTEM_MSPUB
2005 define gb_LinkTarget__use_mspub
2006 $(call gb_LinkTarget_set_include
,$(1),\
2007 -I
$(call gb_UnpackedTarball_get_dir
,libmspub
)/inc \
2010 $(call gb_LinkTarget_add_libs
,$(1),\
2011 $(call gb_UnpackedTarball_get_dir
,libmspub
)/src
/lib
/.libs
/libmspub-0.1
$(gb_StaticLibrary_PLAINEXT
) \
2013 $(call gb_LinkTarget_use_external_project
,$(1),libmspub
)
2017 endif # SYSTEM_MSPUB
2020 ifneq ($(SYSTEM_PAGEMAKER
),)
2022 define gb_LinkTarget__use_pagemaker
2023 $(call gb_LinkTarget_set_include
,$(1),\
2025 $(PAGEMAKER_CFLAGS
) \
2027 $(call gb_LinkTarget_add_libs
,$(1),$(PAGEMAKER_LIBS
))
2030 gb_ExternalProject__use_pagemaker
:=
2032 else # !SYSTEM_PAGEMAKER
2034 define gb_LinkTarget__use_pagemaker
2035 $(call gb_LinkTarget_set_include
,$(1),\
2036 -I
$(call gb_UnpackedTarball_get_dir
,libpagemaker
)/inc \
2039 $(call gb_LinkTarget_add_libs
,$(1),\
2040 $(call gb_UnpackedTarball_get_dir
,libpagemaker
)/src
/lib
/.libs
/libpagemaker-0.0
$(gb_StaticLibrary_PLAINEXT
) \
2042 $(call gb_LinkTarget_use_external_project
,$(1),libpagemaker
)
2045 define gb_ExternalProject__use_pagemaker
2046 $(call gb_ExternalProject_use_external_project
,$(1),libpagemaker
)
2050 endif # SYSTEM_PAGEMAKER
2053 ifneq ($(SYSTEM_QXP
),)
2055 define gb_LinkTarget__use_qxp
2056 $(call gb_LinkTarget_set_include
,$(1),\
2060 $(call gb_LinkTarget_add_libs
,$(1),$(QXP_LIBS
))
2063 gb_ExternalProject__use_qxp
:=
2067 define gb_LinkTarget__use_qxp
2068 $(call gb_LinkTarget_set_include
,$(1),\
2069 -I
$(call gb_UnpackedTarball_get_dir
,libqxp
)/inc \
2072 $(call gb_LinkTarget_add_libs
,$(1),\
2073 $(call gb_UnpackedTarball_get_dir
,libqxp
)/src
/lib
/.libs
/libqxp-0.0
$(gb_StaticLibrary_PLAINEXT
) \
2075 $(call gb_LinkTarget_use_external_project
,$(1),libqxp
)
2078 define gb_ExternalProject__use_qxp
2079 $(call gb_ExternalProject_use_external_project
,$(1),libqxp
)
2086 ifneq ($(SYSTEM_ZMF
),)
2088 define gb_LinkTarget__use_zmf
2089 $(call gb_LinkTarget_set_include
,$(1),\
2093 $(call gb_LinkTarget_add_libs
,$(1),$(ZMF_LIBS
))
2096 gb_ExternalProject__use_zmf
:=
2100 define gb_LinkTarget__use_zmf
2101 $(call gb_LinkTarget_set_include
,$(1),\
2102 -I
$(call gb_UnpackedTarball_get_dir
,libzmf
)/inc \
2105 $(call gb_LinkTarget_add_libs
,$(1),\
2106 $(call gb_UnpackedTarball_get_dir
,libzmf
)/src
/lib
/.libs
/libzmf-0.0
$(gb_StaticLibrary_PLAINEXT
) \
2108 $(call gb_LinkTarget_use_external_project
,$(1),libzmf
)
2111 define gb_ExternalProject__use_zmf
2112 $(call gb_ExternalProject_use_external_project
,$(1),libzmf
)
2119 ifneq ($(SYSTEM_VISIO
),)
2121 define gb_LinkTarget__use_visio
2122 $(call gb_LinkTarget_set_include
,$(1),\
2126 $(call gb_LinkTarget_add_libs
,$(1),$(VISIO_LIBS
))
2130 else # !SYSTEM_VISIO
2132 define gb_LinkTarget__use_visio
2133 $(call gb_LinkTarget_set_include
,$(1),\
2134 -I
$(call gb_UnpackedTarball_get_dir
,libvisio
)/inc \
2137 $(call gb_LinkTarget_add_libs
,$(1),\
2138 $(call gb_UnpackedTarball_get_dir
,libvisio
)/src
/lib
/.libs
/libvisio-0.1
$(gb_StaticLibrary_PLAINEXT
) \
2140 $(call gb_LinkTarget_use_external_project
,$(1),libvisio
)
2144 endif # SYSTEM_VISIO
2147 ifneq ($(SYSTEM_WPD
),)
2149 define gb_LinkTarget__use_wpd
2150 $(call gb_LinkTarget_set_include
,$(1),\
2154 $(call gb_LinkTarget_add_libs
,$(1),$(WPD_LIBS
))
2157 gb_ExternalProject__use_wpd
:=
2163 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
2167 define gb_LinkTarget__use_wpd
2168 $(call gb_LinkTarget_set_include
,$(1),\
2172 $(call gb_LinkTarget_use_libraries
,$(1),\
2178 define gb_ExternalProject__use_wpd
2179 $(call gb_ExternalProject_get_preparation_target
,$(1)) : $(call gb_Library_get_target
,wpd
)
2185 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
, \
2189 define gb_LinkTarget__use_wpd
2190 $(call gb_LinkTarget_use_package
,$(1),libwpd
)
2192 $(call gb_LinkTarget_set_include
,$(1),\
2196 $(call gb_LinkTarget_add_libs
,$(1),\
2202 define gb_ExternalProject__use_wpd
2203 $(call gb_ExternalProject_use_package
,$(1),libwpd
)
2212 ifneq ($(SYSTEM_WPG
),)
2214 define gb_LinkTarget__use_wpg
2215 $(call gb_LinkTarget_set_include
,$(1),\
2219 $(call gb_LinkTarget_add_libs
,$(1),$(WPG_LIBS
))
2222 gb_ExternalProject__use_wpg
:=
2228 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
2232 define gb_LinkTarget__use_wpg
2233 $(call gb_LinkTarget_set_include
,$(1),\
2234 -I
$(call gb_UnpackedTarball_get_dir
,libwpg
)/inc \
2237 $(call gb_LinkTarget_use_libraries
,$(1),\
2245 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
, \
2249 define gb_LinkTarget__use_wpg
2250 $(call gb_LinkTarget_use_package
,$(1),libwpg
)
2252 $(call gb_LinkTarget_set_include
,$(1),\
2253 -I
$(call gb_UnpackedTarball_get_dir
,libwpg
)/inc \
2256 $(call gb_LinkTarget_add_libs
,$(1),\
2257 -L
$(call gb_UnpackedTarball_get_dir
,libwpg
)/src
/lib
/.libs
-lwpg-0.3 \
2267 ifneq ($(SYSTEM_WPS
),)
2269 define gb_LinkTarget__use_wps
2270 $(call gb_LinkTarget_set_include
,$(1),\
2274 $(call gb_LinkTarget_add_libs
,$(1),$(WPS_LIBS
))
2277 gb_ExternalProject__use_wps
:=
2283 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
2287 define gb_LinkTarget__use_wps
2288 $(call gb_LinkTarget_set_include
,$(1),\
2289 -I
$(call gb_UnpackedTarball_get_dir
,libwps
)/inc \
2293 $(call gb_LinkTarget_use_libraries
,$(1),\
2301 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
, \
2305 define gb_LinkTarget__use_wps
2306 $(call gb_LinkTarget_use_package
,$(1),libwps
)
2308 $(call gb_LinkTarget_set_include
,$(1),\
2309 -I
$(call gb_UnpackedTarball_get_dir
,libwps
)/inc \
2312 $(call gb_LinkTarget_add_libs
,$(1),\
2313 -L
$(call gb_UnpackedTarball_get_dir
,libwps
)/src
/lib
/.libs
-lwps-0.4 \
2323 ifneq ($(SYSTEM_MWAW
),)
2325 define gb_LinkTarget__use_mwaw
2326 $(call gb_LinkTarget_set_include
,$(1),\
2330 $(call gb_LinkTarget_add_libs
,$(1),$(MWAW_LIBS
))
2338 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
2342 define gb_LinkTarget__use_mwaw
2343 $(call gb_LinkTarget_set_include
,$(1),\
2344 -I
$(call gb_UnpackedTarball_get_dir
,libmwaw
)/inc \
2348 $(call gb_LinkTarget_use_libraries
,$(1),\
2356 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
2360 define gb_LinkTarget__use_mwaw
2361 $(call gb_LinkTarget_use_package
,$(1),libmwaw
)
2363 $(call gb_LinkTarget_set_include
,$(1),\
2364 -I
$(call gb_UnpackedTarball_get_dir
,libmwaw
)/inc \
2367 $(call gb_LinkTarget_add_libs
,$(1),\
2368 -L
$(call gb_UnpackedTarball_get_dir
,libmwaw
)/src
/lib
/.libs
-lmwaw-0.3 \
2377 ifneq ($(SYSTEM_STAROFFICE
),)
2379 define gb_LinkTarget__use_staroffice
2380 $(call gb_LinkTarget_set_include
,$(1),\
2382 $(STAROFFICE_CFLAGS
) \
2384 $(call gb_LinkTarget_add_libs
,$(1),$(STAROFFICE_LIBS
))
2388 else # !SYSTEM_STAROFFICE
2392 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
2396 define gb_LinkTarget__use_staroffice
2397 $(call gb_LinkTarget_set_include
,$(1),\
2398 -I
$(call gb_UnpackedTarball_get_dir
,libstaroffice
)/inc \
2402 $(call gb_LinkTarget_use_libraries
,$(1),\
2410 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
2414 define gb_LinkTarget__use_staroffice
2415 $(call gb_LinkTarget_use_package
,$(1),libstaroffice
)
2417 $(call gb_LinkTarget_set_include
,$(1),\
2418 -I
$(call gb_UnpackedTarball_get_dir
,libstaroffice
)/inc \
2421 $(call gb_LinkTarget_add_libs
,$(1),\
2422 -L
$(call gb_UnpackedTarball_get_dir
,libstaroffice
)/src
/lib
/.libs
-lstaroffice-0.0 \
2429 endif # SYSTEM_STAROFFICE
2432 ifneq ($(SYSTEM_LCMS2
),)
2434 define gb_LinkTarget__use_lcms2
2435 $(call gb_LinkTarget_set_include
,$(1),\
2439 $(call gb_LinkTarget_add_libs
,$(1),$(LCMS2_LIBS
))
2443 gb_ExternalProject__use_lcms2
:=
2445 else # !SYSTEM_LCMS2
2447 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
2451 define gb_ExternalProject__use_lcms2
2452 $(call gb_ExternalProject_use_package
,$(1),lcms2
)
2456 ifeq ($(OS
),ANDROID
)
2458 define gb_LinkTarget__use_lcms2
2459 $(call gb_LinkTarget_use_package
,$(1),lcms2
)
2460 $(call gb_LinkTarget_set_include
,$(1),\
2461 -I
$(call gb_UnpackedTarball_get_dir
,lcms2
/include) \
2469 define gb_LinkTarget__use_lcms2
2470 $(call gb_LinkTarget_use_package
,$(1),lcms2
)
2471 $(call gb_LinkTarget_set_include
,$(1),\
2472 -I
$(call gb_UnpackedTarball_get_dir
,lcms2
/include) \
2475 $(call gb_LinkTarget_add_libs
,$(1),$(LCMS2_LIBS
))
2480 endif # SYSTEM_LCMS2
2482 ifneq ($(ENABLE_LPSOLVE
),)
2484 ifneq ($(SYSTEM_LPSOLVE
),)
2486 define gb_LinkTarget__use_lpsolve
2487 $(call gb_LinkTarget_add_libs
,$(1),-llpsolve55
)
2488 $(call gb_LinkTarget_add_defs
,$(1),\
2494 else # !SYSTEM_LPSOLVE
2496 define gb_LinkTarget__use_lpsolve
2497 $(call gb_LinkTarget_use_external_project
,$(1),lpsolve
)
2499 $(call gb_LinkTarget_add_libs
,$(1),\
2500 $(call gb_UnpackedTarball_get_dir
,lpsolve
)/lpsolve55
/lpsolve55.lib \
2503 $(call gb_LinkTarget_add_libs
,$(1),\
2504 -L
$(call gb_UnpackedTarball_get_dir
,lpsolve
)/lpsolve55
-llpsolve55 \
2507 $(call gb_LinkTarget_set_include
,$(1),\
2508 -I
$(call gb_UnpackedTarball_get_dir
,lpsolve
) \
2514 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
2518 endif # SYSTEM_LPSOLVE
2522 gb_LinkTarget__use_lpsolve
:=
2524 endif # ENABLE_LPSOLVE
2526 ifneq ($(ENABLE_COINMP
),)
2528 ifneq ($(SYSTEM_COINMP
),TRUE
)
2530 define gb_LinkTarget__use_coinmp
2531 $(call gb_LinkTarget_use_package
,$(1),coinmp
)
2533 $(call gb_LinkTarget_add_libs
,$(1),\
2534 $(call gb_UnpackedTarball_get_dir
,coinmp
)/CoinMP
/MSVisualStudio
/v9
/$(wnt_arch_subdir_optional
)$(if
$(MSVC_USE_DEBUG_RUNTIME
),Debug
,Release
)/CoinMP.lib \
2537 $(call gb_LinkTarget_add_libs
,$(1),\
2538 -L
$(call gb_UnpackedTarball_get_dir
,coinmp
)/Cbc
/src
/.libs
-lCbc
-lCbcSolver \
2539 -L
$(call gb_UnpackedTarball_get_dir
,coinmp
)/Cgl
/src
/.libs
-lCgl \
2540 -L
$(call gb_UnpackedTarball_get_dir
,coinmp
)/Clp
/src
/.libs
-lClp \
2541 -L
$(call gb_UnpackedTarball_get_dir
,coinmp
)/Clp
/src
/OsiClp
/.libs
-lOsiClp \
2542 -L
$(call gb_UnpackedTarball_get_dir
,coinmp
)/CoinMP
/src
/.libs
-lCoinMP \
2543 -L
$(call gb_UnpackedTarball_get_dir
,coinmp
)/CoinUtils
/src
/.libs
-lCoinUtils \
2544 -L
$(call gb_UnpackedTarball_get_dir
,coinmp
)/Osi
/src
/Osi
/.libs
-lOsi \
2547 $(call gb_LinkTarget_set_include
,$(1),\
2548 -I
$(call gb_UnpackedTarball_get_dir
,coinmp
)/CoinMP
/src \
2549 -I
$(call gb_UnpackedTarball_get_dir
,coinmp
)/CoinUtils
/src \
2555 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
2559 else # SYSTEM_COINMP
2561 define gb_LinkTarget__use_coinmp
2562 $(call gb_LinkTarget_set_include
,$(1),\
2566 $(call gb_LinkTarget_add_libs
,$(1),$(COINMP_LIBS
))
2574 gb_LinkTarget__use_coinmp
:=
2576 endif # ENABLE_COINMP
2578 ifneq (,$(filter MDNSRESPONDER
,$(BUILD_TYPE
)))
2580 define gb_LinkTarget__use_mDNSResponder
2581 $(call gb_LinkTarget_set_include
,$(1),\
2582 -I
$(call gb_UnpackedTarball_get_dir
,mDNSResponder
)/mDNSShared \
2585 $(call gb_LinkTarget_use_static_libraries
,$(1),mDNSResponder
)
2588 endif # MDNSRESPONDER
2590 ifeq ($(ENABLE_GIO
),TRUE
)
2592 define gb_LinkTarget__use_gio
2593 $(call gb_LinkTarget_set_include
,$(1),\
2598 $(call gb_LinkTarget_add_libs
,$(1),$(GIO_LIBS
))
2604 define gb_LinkTarget__use_gio
2610 ifeq ($(ENABLE_AVAHI
),TRUE
)
2612 define gb_LinkTarget__use_avahi
2613 $(call gb_LinkTarget_set_include
,$(1),\
2618 $(call gb_LinkTarget_add_defs
,$(1),\
2622 $(call gb_LinkTarget_add_libs
,$(1),$(AVAHI_LIBS
))
2628 gb_LinkTarget__use_avahi
:=
2630 endif # ENABLE_AVAHI
2633 define gb_LinkTarget__use_gtk
2634 $(call gb_LinkTarget_set_include
,$(1),\
2639 $(call gb_LinkTarget_add_libs
,$(1),$(GTK_LIBS
))
2641 ifeq ($(ENABLE_GTK_PRINT
),TRUE
)
2643 $(call gb_LinkTarget_add_defs
,$(1),-DENABLE_GTK_PRINT
)
2645 $(call gb_LinkTarget_set_include
,$(1),\
2647 $(GTK_PRINT_CFLAGS
) \
2650 $(call gb_LinkTarget_add_libs
,$(1),$(GTK_PRINT_LIBS
))
2656 define gb_LinkTarget__use_gthread
2657 $(call gb_LinkTarget_add_libs
,$(1),$(GTHREAD_LIBS
))
2660 ifeq ($(ENABLE_CUPS
),TRUE
)
2662 define gb_LinkTarget__use_cups
2663 $(call gb_LinkTarget_add_defs
,$(1),\
2667 $(call gb_LinkTarget_add_libs
,$(1),\
2675 define gb_LinkTarget__use_cups
2681 ifeq ($(ENABLE_DBUS
),TRUE
)
2683 define gb_LinkTarget__use_dbus
2684 $(call gb_LinkTarget_set_include
,$(1),\
2689 $(call gb_LinkTarget_add_libs
,$(1),\
2697 define gb_LinkTarget__use_dbus
2704 ifneq ($(SYSTEM_LIBPNG
),)
2706 define gb_LinkTarget__use_libpng
2707 $(call gb_LinkTarget_set_include
,$(1),\
2712 $(call gb_LinkTarget_add_libs
,$(1),\
2718 gb_ExternalProject__use_libpng
:=
2720 else # !SYSTEM_LIBPNG
2722 define gb_LinkTarget__use_libpng
2723 $(call gb_LinkTarget_set_include
,$(1),\
2727 $(call gb_LinkTarget_use_static_libraries
,$(1),\
2730 $(call gb_LinkTarget__use_zlib
,$(1))
2734 define gb_ExternalProject__use_libpng
2735 $(call gb_ExternalProject_use_static_libraries
,$(1),\
2741 endif # !SYSTEM_LIBPNG
2744 ifneq ($(SYSTEM_CURL
),)
2746 define gb_LinkTarget__use_curl
2747 $(call gb_LinkTarget_add_defs
,$(1),\
2750 $(call gb_LinkTarget_set_include
,$(1),\
2754 $(call gb_LinkTarget_add_libs
,$(1),$(CURL_LIBS
))
2760 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
2764 define gb_LinkTarget__use_curl
2765 $(call gb_LinkTarget_use_package
,$(1),curl
)
2766 $(call gb_LinkTarget_set_include
,$(1),\
2767 -I
$(call gb_UnpackedTarball_get_dir
,curl
/include) \
2772 $(call gb_LinkTarget_add_libs
,$(1),\
2773 $(call gb_UnpackedTarball_get_dir
,curl
)/builds
/libcurl-vc12-
$(if
$(filter X86_64
,$(CPUNAME
)),x64
,x86
)-$(if
$(MSVC_USE_DEBUG_RUNTIME
),debug
,release
)-dll-ipv6-sspi-winssl
/lib
/libcurl
$(if
$(MSVC_USE_DEBUG_RUNTIME
),_debug
).lib \
2776 $(call gb_LinkTarget_add_libs
,$(1),\
2777 -L
$(call gb_UnpackedTarball_get_dir
,curl
)/lib
/.libs
-lcurl \
2785 ifeq ($(ENABLE_VALGRIND
),TRUE
)
2787 define gb_LinkTarget__use_valgrind
2788 $(call gb_LinkTarget_add_defs
,$(1),\
2789 -DHAVE_VALGRIND_HEADERS \
2792 $(call gb_LinkTarget_set_include
,$(1),\
2794 $(VALGRIND_CFLAGS
) \
2799 else # !ENABLE_VALGRIND
2801 define gb_LinkTarget__use_valgrind
2805 endif # ENABLE_VALGRIND
2807 ifneq ($(SYSTEM_POPPLER
),)
2809 define gb_LinkTarget__use_poppler
2810 $(call gb_LinkTarget_set_include
,$(1),\
2815 $(call gb_LinkTarget_add_libs
,$(1),\
2821 else # !SYSTEM_POPPLER
2823 define gb_LinkTarget__use_poppler
2824 $(call gb_LinkTarget_use_external_project
,$(1),poppler
,full
)
2826 $(call gb_LinkTarget_set_include
,$(1),\
2827 -I
$(call gb_UnpackedTarball_get_dir
,poppler
) \
2828 -I
$(call gb_UnpackedTarball_get_dir
,poppler
)/poppler \
2829 -I
$(call gb_UnpackedTarball_get_dir
,poppler
)/goo \
2833 $(call gb_LinkTarget_use_static_libraries
,$(1),poppler
)
2835 $(call gb_LinkTarget_use_external
,$(1),libjpeg
)
2838 $(call gb_LinkTarget_add_libs
,$(1),\
2841 else ifeq ($(OS
),LINUX
)
2842 $(call gb_LinkTarget_add_libs
,$(1),\
2845 else ifeq ($(OS
),WNT
)
2846 $(call gb_LinkTarget_use_system_win32_libs
,$(1),\
2854 endif # SYSTEM_POPPLER
2857 ifneq ($(SYSTEM_CLUCENE
),)
2859 define gb_LinkTarget__use_clucene
2860 $(call gb_LinkTarget_add_defs
,$(1),\
2861 $(filter-out -I
% -isystem
%,$(subst -isystem
/,-isystem
/,$(CLUCENE_CFLAGS
))) \
2864 $(call gb_LinkTarget_set_include
,$(1),\
2865 $(subst -isystem
/,-isystem
/,$(filter -I
% -isystem
%,$(subst -isystem
/,-isystem
/,$(CLUCENE_CFLAGS
)))) \
2869 $(call gb_LinkTarget_add_libs
,$(1),\
2875 else # !SYSTEM_CLUCENE
2877 define gb_LinkTarget__use_clucene
2878 $(call gb_LinkTarget_set_include
,$(1),\
2879 -I
$(call gb_UnpackedTarball_get_dir
,clucene
)/src
/core \
2880 -I
$(call gb_UnpackedTarball_get_dir
,clucene
)/src
/shared \
2881 -I
$(call gb_UnpackedTarball_get_dir
,clucene
)/src
/contribs-lib \
2885 $(call gb_LinkTarget_use_libraries
,$(1),\
2891 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
2895 endif # SYSTEM_CLUCENE
2897 define gb_LinkTarget__use_gobject
2898 $(call gb_LinkTarget_add_libs
,$(1),\
2902 $(call gb_LinkTarget_set_include
,$(1),\
2908 ifneq ($(SYSTEM_HSQLDB
),)
2910 define gb_LinkTarget__use_hsqldb
2912 $(call gb_LinkTarget_add_defs
,$(1),\
2914 -DHSQLDB_JAR
=\""file://$(HSQLDB_JAR)"\" \
2919 else # !SYSTEM_HSQLDB
2921 define gb_LinkTarget__use_hsqldb
2925 endif # SYSTEM_HSQLDB
2928 ifneq ($(SYSTEM_OPENLDAP
),)
2930 define gb_LinkTarget__use_openldap
2932 $(call gb_LinkTarget_add_libs
,$(1),\
2939 gb_ExternalProject__use_openldap
:=
2941 else # !SYSTEM_OPENLDAP
2943 define gb_LinkTarget__use_openldap
2944 $(call gb_LinkTarget_use_unpacked
,$(1),openldap
)
2945 $(call gb_LinkTarget_set_include
,$(1),\
2946 -I
$(call gb_UnpackedTarball_get_dir
,openldap
/include) \
2949 $(call gb_LinkTarget_use_external_project
,$(1),openldap
,full
)
2950 $(call gb_LinkTarget_add_libs
,$(1), \
2951 $(call gb_UnpackedTarball_get_dir
,openldap
)/libraries
/libldap
/.libs
/libldap.a \
2952 $(call gb_UnpackedTarball_get_dir
,openldap
)/libraries
/liblber
/.libs
/liblber.a \
2957 define gb_ExternalProject__use_openldap
2958 $(call gb_ExternalProject_use_external_project
,$(1),openldap
)
2962 endif # SYSTEM_OPENLDAP
2964 ifneq ($(SYSTEM_LIBTOMMATH
),)
2966 define gb_LinkTarget__use_libtommath
2967 $(call gb_LinkTarget_set_include
,$(1),\
2968 $(LIBTOMMATH_CFLAGS
) \
2971 $(call gb_LinkTarget_add_libs
,$(1),$(LIBTOMMATH_LIBS
))
2975 else # !SYSTEM_LIBTOMMATH
2976 define gb_LinkTarget__use_libtommath
2977 $(call gb_LinkTarget_set_include
,$(1),\
2978 -I
${WORKDIR}/UnpackedTarball
/libtommath \
2981 $(call gb_LinkTarget_add_libs
,$(1),\
2982 $(call gb_UnpackedTarball_get_dir
,libtommath
)/libtommath
$(gb_StaticLibrary_PLAINEXT
) \
2984 $(call gb_LinkTarget_use_external_project
,$(1),libtommath
)
2988 endif # SYSTEM_LIBTOMMATH
2990 define gb_ExternalProject__use_libtommath
2991 $(call gb_ExternalProject_use_external_project
,$(1),libtommath
)
2995 ifeq ($(ENABLE_FIREBIRD_SDBC
),TRUE
)
2997 ifneq ($(SYSTEM_FIREBIRD
),)
2999 define gb_LinkTarget__use_libfbembed
3000 $(call gb_LinkTarget_set_include
,$(1),\
3001 $(FIREBIRD_CFLAGS
) \
3004 $(call gb_LinkTarget_add_libs
,$(1),$(FIREBIRD_LIBS
))
3008 else # !SYSTEM_FIREBIRD
3010 $(eval
$(call gb_Helper_register_packages_for_install
,firebirdsdbc
,\
3014 #$(call gb_LinkTarget__use_libatomic_ops,$(1))
3015 #$(call gb_LinkTarget__use_libtommath,$(1))
3017 define gb_LinkTarget__use_libfbembed
3018 $(call gb_LinkTarget_use_package
,$(1),firebird
)
3019 $(call gb_LinkTarget_set_include
,$(1),\
3020 -I
$(call gb_UnpackedTarball_get_dir
,firebird
)/gen
/$(if
$(ENABLE_DEBUG
),Debug
,Release
)/firebird
/include \
3024 $(call gb_LinkTarget_add_libs
,$(1),\
3025 $(call gb_UnpackedTarball_get_dir
,firebird
)/gen
/$(if
$(ENABLE_DEBUG
),Debug
,Release
)/firebird
/bin
/ifbclient.lib \
3028 $(call gb_LinkTarget_add_libs
,$(1),\
3029 -L
$(call gb_UnpackedTarball_get_dir
,firebird
)/gen
/$(if
$(ENABLE_DEBUG
),Debug
,Release
)/firebird
/lib
-lfbclient \
3038 endif # SYSTEM_FIREBIRD
3040 else # !ENABLE_FIREBIRD_SDBC
3042 gb_LinkTarget__use_firebird
:=
3043 # gb_LinkTarget__use_atomic_ops :=
3044 # gb_LinkTarget__use_libtommath :=
3046 endif # ENABLE_FIREBIRD_SDBC
3049 ifneq ($(SYSTEM_POSTGRESQL
),)
3051 define gb_LinkTarget__use_postgresql
3053 $(call gb_LinkTarget_set_include
,$(1),\
3058 $(call gb_LinkTarget_add_libs
,$(1),\
3062 $(call gb_LinkTarget_add_ldflags
,$(1),\
3068 else # !SYSTEM_POSTGRESQL
3070 define gb_LinkTarget__use_postgresql
3072 $(call gb_LinkTarget_use_external_project
,$(1),postgresql
)
3074 $(call gb_LinkTarget_set_include
,$(1),\
3075 -I
$(call gb_UnpackedTarball_get_dir
,postgresql
)/src
/include \
3076 -I
$(call gb_UnpackedTarball_get_dir
,postgresql
)/src
/interfaces
/libpq \
3080 $(call gb_LinkTarget_add_libs
,$(1),\
3081 $(call gb_UnpackedTarball_get_dir
,postgresql
)/src
/interfaces
/libpq
/libpq
$(gb_StaticLibrary_PLAINEXT
) \
3085 $(call gb_LinkTarget_use_external
,$(1),openssl
)
3087 $(call gb_LinkTarget_use_system_win32_libs
,$(1),\
3096 endif # SYSTEM_POSTGRESQL
3098 ifeq ($(ENABLE_KDE4
),TRUE
)
3100 define gb_LinkTarget__use_kde4
3101 $(call gb_LinkTarget_set_include
,$(1),\
3102 $(subst -isystem
/,-isystem
/,$(filter -I
% -isystem
%,$(subst -isystem
/,-isystem
/,$(KDE4_CFLAGS
)))) \
3106 $(call gb_LinkTarget_add_defs
,$(1),\
3107 $(filter-out -I
% -isystem
%,$(subst -isystem
/,-isystem
/,$(KDE4_CFLAGS
))) \
3110 $(call gb_LinkTarget_add_libs
,$(1),\
3118 define gb_LinkTarget__use_kde4
3125 ifeq ($(ENABLE_KDE5
),TRUE
)
3127 define gb_LinkTarget__use_kde5
3128 $(call gb_LinkTarget_set_include
,$(1),\
3129 $(subst -isystem
/,-isystem
/,$(filter -I
% -isystem
%,$(subst -isystem
/,-isystem
/,$(KF5_CFLAGS
)))) \
3133 $(call gb_LinkTarget_add_defs
,$(1),\
3134 $(filter-out -I
% -isystem
%,$(subst -isystem
/,-isystem
/,$(KF5_CFLAGS
))) \
3137 $(call gb_LinkTarget_add_libs
,$(1),\
3142 $(call gb_LinkTarget_add_cxxflags
,$(1),\
3151 define gb_LinkTarget__use_kde5
3159 ifeq ($(ENABLE_QT5
),TRUE
)
3161 define gb_LinkTarget__use_qt5
3162 $(call gb_LinkTarget_set_include
,$(1),\
3163 $(subst -isystem
/,-isystem
/,$(filter -I
% -isystem
%,$(subst -isystem
/,-isystem
/,$(QT5_CFLAGS
)))) \
3167 $(call gb_LinkTarget_add_defs
,$(1),\
3168 $(filter-out -I
% -isystem
%,$(subst -isystem
/,-isystem
/,$(QT5_CFLAGS
))) \
3171 $(call gb_LinkTarget_add_libs
,$(1),\
3176 $(call gb_LinkTarget_add_cxxflags
,$(1),\
3185 define gb_LinkTarget__use_qt5
3192 # extra python_headers external because pyuno wrapper must not link python
3193 ifneq ($(SYSTEM_PYTHON
),)
3195 define gb_LinkTarget__use_python_headers
3196 $(call gb_LinkTarget_add_defs
,$(1),\
3197 $(filter-out -I
% -isystem
%,$(subst -isystem
/,-isystem
/,$(PYHTON_CFLAGS
)))) \
3200 $(call gb_LinkTarget_set_include
,$(1),\
3201 $(subst -isystem
/,-isystem
/,$(filter -I
% -isystem
%,$(subst -isystem
/,-isystem
/,$(PYTHON_CFLAGS
)))) \
3207 define gb_LinkTarget__use_python
3208 $(call gb_LinkTarget__use_python_headers
,$(1))
3210 $(call gb_LinkTarget_add_libs
,$(1),\
3216 else # !SYSTEM_PYTHON
3218 $(eval
$(call gb_Helper_register_packages_for_install
,python
,\
3222 define gb_LinkTarget__use_python_headers
3223 $(call gb_LinkTarget_use_external_project
,$(1),python3
,full
)
3224 $(call gb_LinkTarget_set_include
,$(1),\
3225 -I
$(call gb_UnpackedTarball_get_dir
,python3
) \
3226 -I
$(call gb_UnpackedTarball_get_dir
,python3
)/PC \
3227 -I
$(call gb_UnpackedTarball_get_dir
,python3
)/Include \
3233 define gb_LinkTarget__use_python
3234 $(call gb_LinkTarget__use_python_headers
,$(1))
3236 $(call gb_LinkTarget_use_generated_package
,$(1),python3
)
3238 $(call gb_LinkTarget_use_package
,$(1),python3
)
3242 $(call gb_LinkTarget_add_libs
,$(1),\
3243 $(call gb_UnpackedTarball_get_dir
,python3
)/PCbuild
/$(if
$(filter X86_64
,$(CPUNAME
)),amd64
,win32
)/python
$(PYTHON_VERSION_MAJOR
)$(PYTHON_VERSION_MINOR
)$(if
$(MSVC_USE_DEBUG_RUNTIME
),_d
).lib \
3245 else ifeq ($(OS
),MACOSX
)
3246 $(call gb_LinkTarget_add_libs
,$(1),\
3247 -F
$(call gb_UnpackedTarball_get_dir
,python3
)/python-inst
/@__________________________________________________OOO
-framework LibreOfficePython \
3250 $(call gb_LinkTarget_add_libs
,$(1),\
3251 -L
$(call gb_UnpackedTarball_get_dir
,python3
) \
3252 -lpython
$(PYTHON_VERSION_MAJOR
).
$(PYTHON_VERSION_MINOR
)m \
3258 endif # SYSTEM_PYTHON
3261 ifneq ($(SYSTEM_LIBORCUS
),)
3263 define gb_LinkTarget__use_orcus
3264 $(call gb_LinkTarget_set_include
,$(1),\
3268 $(call gb_LinkTarget_add_libs
,$(1),$(ORCUS_LIBS
))
3271 define gb_LinkTarget__use_orcus-parser
3275 else # !SYSTEM_LIBORCUS
3279 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
3284 define gb_LinkTarget__use_orcus
3285 $(call gb_LinkTarget_set_include
,$(1),\
3286 -I
$(call gb_UnpackedTarball_get_dir
,liborcus
/include) \
3290 $(call gb_LinkTarget_use_libraries
,$(1),\
3296 define gb_LinkTarget__use_orcus-parser
3297 $(call gb_LinkTarget_set_include
,$(1),\
3298 -I
$(call gb_UnpackedTarball_get_dir
,liborcus
/include) \
3302 $(call gb_LinkTarget_use_libraries
,$(1),\
3310 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
3314 define gb_LinkTarget__use_orcus
3315 $(call gb_LinkTarget_use_package
,$(1),liborcus
)
3317 $(call gb_LinkTarget_set_include
,$(1),\
3318 -I
$(call gb_UnpackedTarball_get_dir
,liborcus
/include) \
3322 $(call gb_LinkTarget_add_libs
,$(1),\
3323 -L
$(call gb_UnpackedTarball_get_dir
,liborcus
)/src
/liborcus
/.libs
-lorcus-0.13 \
3326 $(if
$(SYSTEM_BOOST
), \
3327 $(call gb_LinkTarget_add_ldflags
,$(1),$(BOOST_LDFLAGS
)) \
3328 $(call gb_LinkTarget_add_libs
,$(1),$(BOOST_SYSTEM_LIB
)) \
3333 define gb_LinkTarget__use_orcus-parser
3334 $(call gb_LinkTarget_use_package
,$(1),liborcus
)
3336 $(call gb_LinkTarget_set_include
,$(1),\
3337 -I
$(call gb_UnpackedTarball_get_dir
,liborcus
/include) \
3341 $(call gb_LinkTarget_add_libs
,$(1),\
3342 -L
$(call gb_UnpackedTarball_get_dir
,liborcus
)/src
/parser
/.libs
-lorcus-parser-0.13 \
3349 endif # SYSTEM_LIBORCUS
3351 ifeq ($(ENABLE_EOT
),TRUE
)
3353 ifneq ($(SYSTEM_LIBEOT
),)
3355 define gb_LinkTarget__use_libeot
3356 $(call gb_LinkTarget_set_include
,$(1),\
3360 $(call gb_LinkTarget_add_libs
,$(1),$(LIBEOT_LIBS
))
3364 gb_ExternalProject__use_libeot
:=
3366 else # !SYSTEM_LIBEOT
3368 define gb_LinkTarget__use_libeot
3369 $(call gb_LinkTarget_set_include
,$(1),\
3370 -I
$(call gb_UnpackedTarball_get_dir
,libeot
)/inc \
3373 $(call gb_LinkTarget_add_libs
,$(1),\
3374 $(call gb_UnpackedTarball_get_dir
,libeot
)/.libs
/libeot
$(gb_StaticLibrary_PLAINEXT
) \
3376 $(call gb_LinkTarget_use_external_project
,$(1),libeot
)
3380 define gb_ExternalProject__use_libeot
3381 $(call gb_ExternalProject_use_external_project
,$(1),libeot
)
3385 endif # SYSTEM_LIBEOT
3389 gb_LinkTarget__use_libeot
:=
3390 gb_ExternalProject__use_libeot
:=
3396 ifeq ($(USING_X11
), TRUE
)
3398 define gb_LinkTarget__use_Xrandr
3399 $(call gb_LinkTarget_set_include
,$(1),\
3404 $(call gb_LinkTarget_add_libs
,$(1),\
3409 define gb_LinkTarget__use_Xrender
3410 $(call gb_LinkTarget_set_include
,$(1),\
3415 $(call gb_LinkTarget_add_libs
,$(1),\
3423 gb_ExternalProject__use_nss3
:=
3426 ifneq ($(SYSTEM_NSS
),)
3428 define gb_LinkTarget__use_nss3
3429 $(call gb_LinkTarget_add_defs
,$(1),\
3433 $(call gb_LinkTarget_set_include
,$(1),\
3438 $(call gb_LinkTarget_add_libs
,$(1),\
3444 define gb_LinkTarget__use_plc4
3445 $(call gb_LinkTarget__use_nss3
,$(1))
3449 define gb_LinkTarget__use_ssl3
3450 $(call gb_LinkTarget__use_nss3
,$(1))
3456 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
, \
3460 define gb_LinkTarget__use_nss3
3461 $(call gb_LinkTarget_use_package
,$(1),nss
)
3462 $(call gb_LinkTarget_set_include
,$(1),\
3464 -I
$(call gb_UnpackedTarball_get_dir
,nss
)/dist/public
/nss \
3465 -I
$(call gb_UnpackedTarball_get_dir
,nss
)/dist/out
/include \
3469 $(call gb_LinkTarget_add_libs
,$(1),\
3470 $(call gb_UnpackedTarball_get_dir
,nss
)/dist/out
/lib
/nspr4.lib \
3471 $(call gb_UnpackedTarball_get_dir
,nss
)/dist/out
/lib
/nss3.lib \
3472 $(call gb_UnpackedTarball_get_dir
,nss
)/dist/out
/lib
/smime3.lib \
3475 $(call gb_LinkTarget_add_libs
,$(1),\
3476 -L
$(call gb_UnpackedTarball_get_dir
,nss
)/dist/out
/lib \
3485 define gb_LinkTarget__use_plc4
3486 $(call gb_LinkTarget_use_package
,$(1),nss
)
3488 $(call gb_LinkTarget_add_libs
,$(1),\
3489 $(call gb_UnpackedTarball_get_dir
,nss
)/dist/out
/lib
/plc4.lib \
3492 $(call gb_LinkTarget_add_libs
,$(1),\
3493 -L
$(call gb_UnpackedTarball_get_dir
,nss
)/dist/out
/lib
-lplc4 \
3499 define gb_LinkTarget__use_ssl3
3500 $(call gb_LinkTarget_use_package
,$(1),nss
)
3502 $(call gb_LinkTarget_add_libs
,$(1),\
3503 $(call gb_UnpackedTarball_get_dir
,nss
)/dist/out
/lib
/ssl3.lib \
3506 $(call gb_LinkTarget_add_libs
,$(1),\
3507 -L
$(call gb_UnpackedTarball_get_dir
,nss
)/dist/out
/lib
-lssl3 \
3513 define gb_ExternalProject__use_nss3
3514 $(call gb_ExternalProject_use_package
,$(1),nss
)
3520 ifeq ($(ENABLE_BREAKPAD
),TRUE
)
3522 define gb_LinkTarget__use_breakpad
3523 $(call gb_LinkTarget_set_include
,$(1),\
3524 -I
$(call gb_UnpackedTarball_get_dir
,breakpad
)/src \
3529 $(call gb_LinkTarget_use_static_libraries
,$(1),\
3533 $(call gb_LinkTarget_add_libs
,$(1),\
3534 $(call gb_UnpackedTarball_get_dir
,breakpad
)/src
/client
/linux
/libbreakpad_client.a \
3538 $(call gb_LinkTarget_use_external_project
,$(1),breakpad
)
3542 endif # ENABLE_BREAKPAD
3544 ifeq ($(ENABLE_GPGMEPP
),TRUE
)
3546 ifneq ($(SYSTEM_GPGMEPP
),)
3548 gb_ExternalProject__use_gpgmepp
:=
3549 gb_ExternalProject__use_libassuan
:=
3550 gb_ExternalProject__use_libgpg-error
:=
3552 define gb_LinkTarget__use_gpgmepp
3553 $(call gb_LinkTarget_set_include
,$(1),\
3555 $$(GPGMEPP_CFLAGS
) \
3558 $(call gb_LinkTarget_add_libs
,$(1),\
3564 else ifneq ($(filter GPGMEPP
,$(BUILD_TYPE
)),) # NON-SYSTEM_GPGME
3566 define gb_ExternalProject__use_gpgmepp
3567 $(call gb_ExternalProject_use_external_project
,$(1),gpgmepp
)
3570 define gb_ExternalProject__use_libassuan
3571 $(call gb_ExternalProject_use_external_project
,$(1),libassuan
)
3574 define gb_ExternalProject__use_libgpg-error
3575 $(call gb_ExternalProject_use_external_project
,$(1),libgpg-error
)
3579 ifneq ($(filter WNT
,$(OS
)),)
3581 define gb_LinkTarget__use_libgpg-error
3582 $(call gb_LinkTarget_use_package
,$(1),libgpg-error
)
3584 $(call gb_LinkTarget_set_include
,$(1),\
3585 $(GPG_ERROR_CFLAGS
) \
3588 $(call gb_LinkTarget_add_libs
,$(1),\
3589 -LIBPATH
:$(call gb_UnpackedTarball_get_dir
,libgpg-error
)/src
/.libs libgpg-error.lib \
3594 define gb_LinkTarget__use_libassuan
3595 $(call gb_LinkTarget_use_package
,$(1),libassuan
)
3597 $(call gb_LinkTarget_set_include
,$(1),\
3598 $(LIBASSUAN_CFLAGS
) \
3601 $(call gb_LinkTarget_add_libs
,$(1),\
3602 -LIBPATH
:$(call gb_UnpackedTarball_get_dir
,libassuan
)/src
/.libs libassuan.lib \
3607 define gb_LinkTarget__use_gpgmepp
3608 $(call gb_LinkTarget_set_include
,$(1),\
3609 -I
$(call gb_UnpackedTarball_get_dir
,gpgmepp
)/lang
/cpp/src \
3610 -I
$(call gb_UnpackedTarball_get_dir
,gpgmepp
)/src \
3611 $$(GPG_ERROR_CFLAGS
) \
3614 $(call gb_LinkTarget_use_libraries
,$(1),\
3620 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
3625 $(eval
$(call gb_Helper_register_libraries_for_install
,PLAINLIBS_OOO
,ooo
,\
3629 $(eval
$(call gb_Helper_register_executables_for_install
,OOO
,ooo
, \
3635 ifneq ($(filter MACOSX LINUX
,$(OS
)),)
3637 define gb_LinkTarget__use_gpgmepp
3638 $(call gb_LinkTarget_use_package
,$(1),gpgmepp
)
3640 $(call gb_LinkTarget_set_include
,$(1),\
3641 -I
$(call gb_UnpackedTarball_get_dir
,gpgmepp
)/lang
/cpp/src \
3642 -I
$(call gb_UnpackedTarball_get_dir
,gpgmepp
)/src \
3643 $$(GPG_ERROR_CFLAGS
) \
3646 $(call gb_LinkTarget_add_libs
,$(1),\
3647 -L
$(call gb_UnpackedTarball_get_dir
,gpgmepp
)/lang
/cpp/src
/.libs
/ -lgpgmepp \
3648 $(if
$(filter TRUE
,$(DISABLE_DYNLOADING
)),-L
$(call gb_UnpackedTarball_get_dir
,gpgmepp
)/src
/.libs
/ -lgpgme
) \
3649 $(if
$(filter TRUE
,$(DISABLE_DYNLOADING
)),$$(GPG_ERROR_LIBS
)) \
3650 $(if
$(filter TRUE
,$(DISABLE_DYNLOADING
)),$$(LIBASSUAN_LIBS
)) \
3655 $(eval
$(call gb_Helper_register_packages_for_install
,ooo
,\
3665 else # !ENABLE_GPGMEPP
3667 gb_ExternalProject__use_gpgmepp
:=
3668 gb_ExternalProject__use_libassuan
:=
3669 gb_ExternalProject__use_libgpg-error
:=
3671 gb_LinkTarget__use_gpgmepp
:=
3672 gb_LinkTarget__use_libassuan
:=
3673 gb_LinkTarget__use_libgpg-error
:=
3675 endif # ENABLE_GPGMEPP
3677 define gb_LinkTarget__use_dconf
3678 $(call gb_LinkTarget_add_defs
,$(1),$(DCONF_CFLAGS
))
3679 $(call gb_LinkTarget_add_libs
,$(1),$(DCONF_LIBS
))
3682 ### Jars ############################################################
3684 ifneq ($(SYSTEM_HSQLDB
),)
3686 define gb_Jar__use_hsqldb
3687 $(call gb_Jar_use_system_jar
,$(1),$(HSQLDB_JAR
))
3689 define gb_JunitTest__use_hsqldb
3690 $(call gb_JunitTest_use_system_jar
,$(1),$(HSQLDB_JAR
))
3693 else # !SYSTEM_HSQLDB
3695 ifeq ($(ENABLE_JAVA
),TRUE
)
3696 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,ooo
, \
3701 define gb_Jar__use_hsqldb
3702 $(call gb_Jar_use_jar
,$(1),hsqldb
)
3704 define gb_JunitTest__use_hsqldb
3705 $(call gb_JunitTest_use_jar
,$(1),hsqldb
)
3708 endif # SYSTEM_HSQLDB
3711 ifeq ($(ENABLE_SCRIPTING_BEANSHELL
),TRUE
)
3713 ifneq ($(SYSTEM_BSH
),)
3715 define gb_Jar__use_bsh
3716 $(call gb_Jar_use_system_jar
,$(1),$(BSH_JAR
))
3721 ifeq ($(ENABLE_JAVA
),TRUE
)
3722 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_bsh
, \
3727 define gb_Jar__use_bsh
3728 $(call gb_Jar_use_jar
,$(1),bsh
)
3735 ifeq ($(ENABLE_SCRIPTING_JAVASCRIPT
),TRUE
)
3737 ifneq ($(SYSTEM_RHINO
),)
3739 define gb_Jar__use_rhino
3740 $(call gb_Jar_use_system_jar
,$(1),$(RHINO_JAR
))
3743 else # !SYSTEM_RHINO
3745 ifeq ($(ENABLE_JAVA
),TRUE
)
3746 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,extensions_rhino
, \
3751 define gb_Jar__use_rhino
3752 $(call gb_Jar_use_jar
,$(1),js
)
3755 endif # SYSTEM_RHINO
3759 ifneq ($(SYSTEM_APACHE_COMMONS
),)
3761 define gb_Jar__use_commons-logging
3762 $(call gb_Jar_use_system_jar
,$(1),$(COMMONS_LOGGING_JAR
))
3764 gb_ExternalProject__use_commons-logging
:=
3766 else # !SYSTEM_APACHE_COMMONS
3768 ifeq ($(ENABLE_JAVA
),TRUE
)
3769 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
,\
3770 commons-logging-
$(COMMONS_LOGGING_VERSION
) \
3774 define gb_Jar__use_commons-logging
3775 $(call gb_Jar_use_external_project
,$(1),apache_commons_logging
)
3776 $(call gb_Jar_use_jar
,$(1),commons-logging-
$(COMMONS_LOGGING_VERSION
))
3778 define gb_ExternalProject__use_commons-logging
3779 $(call gb_ExternalProject_use_external_project
,$(1),apache_commons_logging
)
3782 endif # SYSTEM_APACHE_COMMONS
3785 ifneq ($(SYSTEM_JFREEREPORT
),)
3787 define gb_Jar__use_flow-engine
3788 $(call gb_Jar_use_system_jar
,$(1),$(JFREEREPORT_JAR
))
3791 define gb_Jar__use_flute
3792 $(call gb_Jar_use_system_jar
,$(1),$(FLUTE_JAR
))
3795 define gb_Jar__use_libbase
3796 $(call gb_Jar_use_system_jar
,$(1),$(LIBBASE_JAR
))
3799 define gb_Jar__use_libfonts
3800 $(call gb_Jar_use_system_jar
,$(1),$(LIBFONTS_JAR
))
3803 define gb_Jar__use_libformula
3804 $(call gb_Jar_use_system_jar
,$(1),$(LIBFORMULA_JAR
))
3807 define gb_Jar__use_liblayout
3808 $(call gb_Jar_use_system_jar
,$(1),$(LIBLAYOUT_JAR
))
3811 define gb_Jar__use_libloader
3812 $(call gb_Jar_use_system_jar
,$(1),$(LIBLOADER_JAR
))
3815 define gb_Jar__use_librepository
3816 $(call gb_Jar_use_system_jar
,$(1),$(LIBREPOSITORY_JAR
))
3819 define gb_Jar__use_libserializer
3820 $(call gb_Jar_use_system_jar
,$(1),$(LIBSERIALIZER_JAR
))
3823 define gb_Jar__use_libxml
3824 $(call gb_Jar_use_system_jar
,$(1),$(LIBXML_JAR
))
3827 define gb_Jar__use_sac
3828 $(call gb_Jar_use_system_jar
,$(1),$(SAC_JAR
))
3831 else # !SYSTEM_JFREEREPORT
3833 ifeq ($(ENABLE_JAVA
),TRUE
)
3834 $(eval
$(call gb_Helper_register_jars_for_install
,OOO
,reportbuilder
,\
3842 librepository-1.1
.6 \
3843 libserializer-1.1
.6 \
3849 define gb_Jar__use_flow-engine
3850 $(call gb_Jar_use_jar
,$(1),flow-engine
)
3853 define gb_Jar__use_flute
3854 $(call gb_Jar_use_jar
,$(1),flute-1.1
.6)
3857 define gb_Jar__use_libbase
3858 $(call gb_Jar_use_jar
,$(1),libbase-1.1
.6)
3861 define gb_Jar__use_libfonts
3862 $(call gb_Jar_use_jar
,$(1),libfonts-1.1
.6)
3865 define gb_Jar__use_libformula
3866 $(call gb_Jar_use_jar
,$(1),libformula-1.1
.7)
3869 define gb_Jar__use_liblayout
3870 $(call gb_Jar_use_jar
,$(1),liblayout
)
3873 define gb_Jar__use_libloader
3874 $(call gb_Jar_use_jar
,$(1),libloader-1.1
.6)
3877 define gb_Jar__use_librepository
3878 $(call gb_Jar_use_jar
,$(1),librepository-1.1
.6)
3881 define gb_Jar__use_libserializer
3882 $(call gb_Jar_use_jar
,$(1),libserializer-1.1
.6)
3885 define gb_Jar__use_libxml
3886 $(call gb_Jar_use_jar
,$(1),libxml-1.1
.7)
3889 define gb_Jar__use_sac
3890 $(call gb_Jar_use_jar
,$(1),sac
)
3893 endif # SYSTEM_JFREEREPORT
3898 # FIXME: the library target should be for build too
3899 define gb_Executable__register_bestreversemap
3900 $(call gb_Executable_add_runtime_dependencies
,bestreversemap
,\
3901 $(if
$(filter $(OS
),ANDROID
),,$(if
$(filter TRUE
,$(DISABLE_DYNLOADING
)),,$(call gb_Library_get_target
,sal_textenc
))) \
3905 # TODO depending on the whole URE might be overkill, but I do not have a
3906 # Windows machine to debug it...
3907 # FIXME: the library target should be for build too
3908 define gb_Executable__register_climaker
3909 $(call gb_Executable_add_runtime_dependencies
,climaker
,\
3910 $(call gb_Library_get_target
,$(gb_CPPU_ENV
)_uno
) \
3911 $(INSTROOT_FOR_BUILD
)/$(LIBO_URE_MISC_FOLDER
)/services.rdb \
3912 $(call gb_UnoApi_get_target
,udkapi
) \
3913 $(INSTROOT_FOR_BUILD
)/$(LIBO_URE_ETC_FOLDER
)/$(call gb_Helper_get_rcfile
,uno
)
3917 define gb_Executable__register_cppumaker
3918 $(call gb_Executable_add_runtime_dependencies
,cppumaker
,\
3919 $(if
$(filter $(OS
),ANDROID
),,$(if
$(filter TRUE
,$(DISABLE_DYNLOADING
)),,$(call gb_Library_get_target
,sal_textenc
))) \
3923 # This is used to determine what we need for 'build' platform.
3924 # FIXME: the library target should be for build too
3925 define gb_Executable__register_gengal
3926 $(call gb_Executable_add_runtime_dependencies
,gengal
,\
3927 $(call gb_Library_get_target
,$(gb_CPPU_ENV
)_uno
) \
3928 $(call gb_Package_get_target_for_build
,postprocess_images
) \
3929 $(call gb_Package_get_target_for_build
,postprocess_registry
) \
3930 $(INSTROOT_FOR_BUILD
)/$(LIBO_URE_ETC_FOLDER
)/$(call gb_Helper_get_rcfile
,uno
) \
3931 $(INSTROOT_FOR_BUILD
)/$(LIBO_ETC_FOLDER
)/$(call gb_Helper_get_rcfile
,fundamental
) \
3932 $(INSTROOT_FOR_BUILD
)/$(LIBO_ETC_FOLDER
)/$(call gb_Helper_get_rcfile
,louno
) \
3933 $(INSTROOT_FOR_BUILD
)/$(LIBO_URE_MISC_FOLDER
)/services.rdb \
3934 $(INSTROOT_FOR_BUILD
)/$(LIBO_ETC_FOLDER
)/services
/services.rdb \
3935 $(call gb_UnoApi_get_target
,offapi
) \
3936 $(call gb_UnoApi_get_target
,udkapi
) \
3940 ifeq ($(SYSTEM_ICU
),)
3942 define gb_Executable__register_gendict
3943 $(call gb_Executable_add_runtime_dependencies
,gendict
,\
3944 $(call gb_Package_get_target_for_build
,icu
) \
3945 $(call gb_Package_get_target_for_build
,icu_ure
) \
3951 define gb_Executable__register_idlc
3952 $(call gb_Executable_add_runtime_dependencies
,idlc
,\
3953 $(call gb_ExternalExecutable_get_dependencies
,ucpp
) \
3957 define gb_Executable__register_localize
3958 $(call gb_Executable_add_runtime_dependencies
,localize
,\
3959 $(foreach exec
,cfgex helpex propex treex ulfex xrmex
,\
3960 $(call gb_Executable_get_runtime_dependencies
,$(exec
)) \
3965 # FIXME ure/services.rdb needs cleanup
3966 # The dependencies on ure/services.rdb and udkapi.rdb are implicitly required
3967 # due to the settings for URE_SERVICES and URE_TYPES in cppuhelper/source/unorc:
3968 # FIXME: the library target should be for build too
3969 define gb_Executable__register_saxparser
3970 $(call gb_Executable_add_runtime_dependencies
,saxparser
,\
3971 $(call gb_Library_get_target
,$(gb_CPPU_ENV
)_uno
) \
3972 $(call gb_Package_get_target_for_build
,instsetoo_native_setup_ure
) \
3973 $(call gb_Rdb_get_target_for_build
,saxparser
) \
3974 $(INSTROOT_FOR_BUILD
)/$(LIBO_URE_MISC_FOLDER_FOR_BUILD
)/services.rdb \
3975 $(call gb_UnoApi_get_target
,udkapi
) \
3979 # NOTE: the dependencies on ure/services.rdb and udkapi.rdb are implicitly
3980 # required due to the settings for URE_SERVICES and URE_TYPES in
3981 # cppuhelper/source/unorc
3982 # FIXME: the library target should be for build too
3983 define gb_Executable__register_uno
3984 $(call gb_Executable_add_runtime_dependencies
,uno
,\
3985 $(call gb_Library_get_target
,$(gb_CPPU_ENV
)_uno
) \
3986 $(INSTROOT_FOR_BUILD
)/$(LIBO_URE_MISC_FOLDER
)/services.rdb \
3987 $(call gb_UnoApi_get_target
,udkapi
) \
3992 # External executables
3994 ifneq ($(SYSTEM_LIBXML_FOR_BUILD
),)
3996 gb_ExternalExecutable__register_xmllint
:=
3998 else # ! SYSTEM_LIBXML_FOR_BUILD
4000 define gb_ExternalExecutable__register_xmllint
4001 $(call gb_ExternalExecutable_set_internal
,xmllint
,$(WORKDIR_FOR_BUILD
)/UnpackedTarball
/libxml2
/$(if
$(filter MSC
,$(COM
)),win32
/bin.msvc
)/xmllint
$(gb_Executable_EXT_for_build
),libxml2
)
4002 $(call gb_ExternalExecutable_add_dependencies
,xmllint
,\
4003 $(if
$(filter WNT
,$(OS
)),$(call gb_Package_get_target
,icu_ure
)) \
4004 $(call gb_Package_get_target
,libxml2
) \
4009 endif # SYSTEM_LIBXML_FOR_BUILD
4011 ifneq ($(SYSTEM_LIBXSLT_FOR_BUILD
),)
4013 gb_ExternalExecutable__register_xsltproc
:=
4015 else # ! SYSTEM_LIBXSLT_FOR_BUILD
4017 define gb_ExternalExecutable__register_xsltproc
4018 $(call gb_ExternalExecutable_set_internal
,xsltproc
,$(WORKDIR_FOR_BUILD
)/UnpackedTarball
/libxslt
/$(if
$(filter MSC
,$(COM
)),win32
/bin.msvc
,xsltproc
)/xsltproc
$(gb_Executable_EXT_for_build
),libxslt
)
4019 $(call gb_ExternalExecutable_add_dependencies
,xsltproc
,\
4020 $(if
$(filter WNT
,$(OS
)),$(call gb_Package_get_target
,icu_ure
)) \
4021 $(call gb_Package_get_target
,libxml2
) \
4022 $(call gb_Package_get_target
,libxslt
) \
4027 endif # SYSTEM_LIBXSLT_FOR_BUILD
4029 ifneq (,$(SYSTEM_UCPP
))
4031 gb_ExternalExecutable__register_ucpp
:=
4033 else # ! SYSTEM_UCPP
4035 define gb_ExternalExecutable__register_ucpp
4036 $(call gb_ExternalExecutable_set_internal
,ucpp
,$(INSTDIR_FOR_BUILD
)/$(SDKDIRNAME
)/bin
/ucpp
$(gb_Executable_EXT_for_build
))
4042 ifeq (,$(PYTHON_FOR_BUILD
))
4044 define gb_ExternalExecutable__register_python
4047 # use set_external, to avoid having the command added as prerequisite for the
4048 # targets that make use of it. (Otherwise make will choke as it doesn't have a
4049 # matching rule to build that specific file)
4050 $(call gb_ExternalExecutable_set_external
,python
,$(call gb_UnpackedTarball_get_dir
,python3
)/python-inst
/@__________________________________________________OOO
/LibreOfficePython.framework
/Versions
/$(PYTHON_VERSION_MAJOR
).
$(PYTHON_VERSION_MINOR
)/bin
/python
$(PYTHON_VERSION_MAJOR
).
$(PYTHON_VERSION_MINOR
))
4051 # the Zip ensures that internal python has been built (cannot use the Package
4052 # target, as that is not used on Mac)
4053 $(call gb_ExternalExecutable_add_dependencies
,python
,$(call gb_GeneratedPackage_get_target_for_build
,python3
))
4057 $(call gb_ExternalExecutable_set_internal
,python
,$(INSTROOT
)/$(LIBO_BIN_FOLDER
)/$(if
$(filter WNT
,$(OS
)),python-core-
$(PYTHON_VERSION
)/bin
/python.exe
,python.bin
))
4058 $(call gb_ExternalExecutable_set_precommand
,python
,$(subst $$,$$$$,$(gb_Python_PRECOMMAND
)))
4059 $(call gb_ExternalExecutable_add_dependencies
,python
,$(call gb_Package_get_target_for_build
,python3
))
4067 define gb_ExternalExecutable__register_python
4068 $(call gb_ExternalExecutable_set_external
,python
,$(PYTHON_FOR_BUILD
))
4069 $(call gb_ExternalExecutable_set_precommand
,python
,PYTHONPATH
=$$$$PYTHONPATH$$$${PYTHONPATH
:+$$$${PYPATH
:+:}}$$$$PYPATH)
4073 endif # PYTHON_FOR_BUILD
4075 ifneq ($(SYSTEM_GENBRK
),)
4077 define gb_ExternalExecutable__register_genbrk
4078 $(call gb_ExternalExecutable_set_external
,genbrk
,$(SYSTEM_GENBRK
))
4082 else # ! SYSTEM_GENBRK
4084 define gb_ExternalExecutable__register_genbrk
4085 $(call gb_ExternalExecutable_set_internal
,genbrk
,$(WORKDIR_FOR_BUILD
)/UnpackedTarball
/icu
/source
/bin
/genbrk
$(gb_Executable_EXT_for_build
),icu
)
4086 $(call gb_ExternalExecutable_set_precommand
,genbrk
,$(subst $$,$$$$,$(gb_ICU_PRECOMMAND
)))
4087 $(call gb_ExternalExecutable_add_dependencies
,genbrk
,\
4088 $(call gb_Package_get_target_for_build
,icu
) \
4089 $(call gb_Package_get_target_for_build
,icu_ure
) \
4096 ifneq ($(SYSTEM_GENCCODE
),)
4098 define gb_ExternalExecutable__register_genccode
4099 $(call gb_ExternalExecutable_set_external
,genccode
,$(SYSTEM_GENCCODE
))
4103 else # ! SYSTEM_GENCCODE
4105 define gb_ExternalExecutable__register_genccode
4106 $(call gb_ExternalExecutable_set_internal
,genccode
,$(WORKDIR_FOR_BUILD
)/UnpackedTarball
/icu
/source
/bin
/genccode
$(gb_Executable_EXT_for_build
),icu
)
4107 $(call gb_ExternalExecutable_set_precommand
,genccode
,$(subst $$,$$$$,$(gb_ICU_PRECOMMAND
)))
4108 $(call gb_ExternalExecutable_add_dependencies
,genccode
,\
4109 $(call gb_Package_get_target_for_build
,icu
) \
4110 $(call gb_Package_get_target_for_build
,icu_ure
) \
4117 ifneq ($(SYSTEM_GENCMN
),)
4119 define gb_ExternalExecutable__register_gencmn
4120 $(call gb_ExternalExecutable_set_external
,gencmn
,$(SYSTEM_GENCMN
))
4124 else # ! SYSTEM_GENCMN
4126 define gb_ExternalExecutable__register_gencmn
4127 $(call gb_ExternalExecutable_set_internal
,gencmn
,$(WORKDIR_FOR_BUILD
)/UnpackedTarball
/icu
/source
/bin
/gencmn
$(gb_Executable_EXT_for_build
),icu
)
4128 $(call gb_ExternalExecutable_set_precommand
,gencmn
,$(subst $$,$$$$,$(gb_ICU_PRECOMMAND
)))
4129 $(call gb_ExternalExecutable_add_dependencies
,gencmn
,\
4130 $(call gb_Package_get_target_for_build
,icu
) \
4131 $(call gb_Package_get_target_for_build
,icu_ure
) \
4138 ifeq (OWNCLOUD_ANDROID_LIB
,$(filter OWNCLOUD_ANDROID_LIB
,$(BUILD_TYPE
)))
4140 $(eval
$(call gb_Helper_register_jars
,OXT
,\
4141 owncloud-android-library \
4144 define gb_Jar__use_owncloud_android_lib
4145 $(call gb_Jar_use_external_project
,$(1),owncloud-android-lib
)
4146 $(call gb_Jar_use_external_jar
,$(1),$(call gb_UnpackedTarball_get_dir
,owncloud-android-lib
)/bin
/owncloud-android-library.jar
)
4148 define gb_ExternalProject__use_owncloud_android_lib
4149 $(call gb_ExternalProject_use_external_project
,$(1),owncloud_android_lib
)
4154 ifneq ($(ENABLE_ONLINE_UPDATE_MAR
),)
4155 ifneq ($(SYSTEM_BZIP2
),)
4157 define gb_LinkTarget__use_bzip2
4158 $(call gb_LinkTarget_set_include
,$(1),\
4162 $(call gb_LinkTarget_add_libs
,$(1),$(BZIP2_LIBS
))
4166 gb_ExternalProject__use_bzip2
:=
4168 else # !SYSTEM_BZIP2
4170 define gb_LinkTarget__use_bzip2
4171 $(call gb_LinkTarget_set_include
,$(1),\
4172 -I
$(call gb_UnpackedTarball_get_dir
,bzip2
) \
4177 $(call gb_LinkTarget_add_libs
,$(1),\
4178 $(call gb_UnpackedTarball_get_dir
,bzip2
)/libbz2.lib \
4181 $(call gb_LinkTarget_add_libs
,$(1),\
4182 -L
$(call gb_UnpackedTarball_get_dir
,bzip2
) -lbz2 \
4186 $(call gb_LinkTarget_use_external_project
,$(1),bzip2
)
4189 define gb_ExternalProject__use_bzip2
4190 $(call gb_ExternalProject_use_external_project
,$(1),bzip2
)
4196 define gb_LinkTarget__use_clew
4197 $(call gb_LinkTarget_set_include
,$(1), \
4198 -I
$(SRCDIR
)/external
/clew
/source
/include \
4201 $(call gb_LinkTarget_use_libraries
,$(1),clew
)
4204 ifneq ($(ENABLE_PDFIUM
),)
4205 define gb_LinkTarget__use_pdfium
4206 $(call gb_LinkTarget_set_include
,$(1),\
4207 -I
$(call gb_UnpackedTarball_get_dir
,pdfium
)/public \
4210 $(call gb_LinkTarget_use_libraries
,$(1),pdfium
)
4212 $(eval
$(call gb_Helper_register_libraries_for_install
,OOOLIBS
,ooo
,\
4217 $(eval
$(call gb_Helper_register_packages_for_install
,ucrt_binarytable
,\
4218 $(if
$(UCRT_REDISTDIR
),ucrt
) \
4221 # vim: set noet sw=4 ts=4: