Update git submodules
[LibreOffice.git] / package / Library_package2.mk
blob2ddbc31caf8584afad64ddac5460970929faf3be
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_Library_Library,package2))
12 $(eval $(call gb_Library_set_componentfile,package2,package/util/package2,services))
14 $(eval $(call gb_Library_set_include,package2,\
15 $$(INCLUDE) \
16 -I$(SRCDIR)/package/inc \
19 $(eval $(call gb_Library_use_sdk_api,package2))
21 $(eval $(call gb_Library_add_defs,package2,\
22 -DDLLIMPLEMENTATION_PACKAGE \
25 $(eval $(call gb_Library_set_precompiled_header,package2,package/inc/pch/precompiled_package2))
27 $(eval $(call gb_Library_use_custom_headers,package2,\
28 officecfg/registry \
31 $(eval $(call gb_Library_use_libraries,package2,\
32 comphelper \
33 cppu \
34 cppuhelper \
35 sal \
36 sax \
37 salhelper \
38 ucbhelper \
39 tl \
40 utl \
43 $(eval $(call gb_Library_use_externals,package2,\
44 boost_headers \
45 argon2 \
46 zlib \
49 $(eval $(call gb_Library_add_exception_objects,package2,\
50 package/source/manifest/ManifestExport \
51 package/source/manifest/ManifestImport \
52 package/source/manifest/ManifestReader \
53 package/source/manifest/ManifestWriter \
54 package/source/zipapi/blowfishcontext \
55 package/source/zipapi/ByteChucker \
56 package/source/zipapi/ByteGrabber \
57 package/source/zipapi/CRC32 \
58 package/source/zipapi/Deflater \
59 package/source/zipapi/Inflater \
60 package/source/zipapi/sha1context \
61 package/source/zipapi/ThreadedDeflater \
62 package/source/zipapi/XBufferedThreadedStream \
63 package/source/zipapi/XUnbufferedStream \
64 package/source/zipapi/ZipEnumeration \
65 package/source/zipapi/ZipFile \
66 package/source/zipapi/ZipOutputEntry \
67 package/source/zipapi/ZipOutputStream \
68 package/source/zippackage/wrapstreamforshare \
69 package/source/zippackage/zipfileaccess \
70 package/source/zippackage/ZipPackageBuffer \
71 package/source/zippackage/ZipPackage \
72 package/source/zippackage/ZipPackageEntry \
73 package/source/zippackage/ZipPackageFolder \
74 package/source/zippackage/ZipPackageFolderEnumeration \
75 package/source/zippackage/ZipPackageSink \
76 package/source/zippackage/ZipPackageStream \
79 ifneq ($(SYSTEM_ZLIB),)
80 $(eval $(call gb_Library_add_defs,package2,\
81 -DSYSTEM_ZLIB \
83 endif
85 # vim: set noet sw=4 ts=4: