loplugin:passstringbyref
[LibreOffice.git] / package / Library_package2.mk
blob4f3a2155e5941d38fd5ff5ac6ea49a7a12e617c8
1 # -*- Mode: makefile; 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))
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_use_libraries,package2,\
26 comphelper \
27 cppu \
28 cppuhelper \
29 sal \
30 sax \
31 ucbhelper \
32 $(gb_UWINAPI) \
35 $(eval $(call gb_Library_use_externals,package2,\
36 boost_headers \
37 zlib \
40 $(eval $(call gb_Library_add_exception_objects,package2,\
41 package/source/manifest/ManifestExport \
42 package/source/manifest/ManifestImport \
43 package/source/manifest/ManifestReader \
44 package/source/manifest/ManifestWriter \
45 package/source/manifest/UnoRegister \
46 package/source/zipapi/blowfishcontext \
47 package/source/zipapi/ByteChucker \
48 package/source/zipapi/ByteGrabber \
49 package/source/zipapi/CRC32 \
50 package/source/zipapi/Deflater \
51 package/source/zipapi/Inflater \
52 package/source/zipapi/sha1context \
53 package/source/zipapi/XUnbufferedStream \
54 package/source/zipapi/ZipEnumeration \
55 package/source/zipapi/ZipFile \
56 package/source/zipapi/ZipOutputStream \
57 package/source/zippackage/wrapstreamforshare \
58 package/source/zippackage/zipfileaccess \
59 package/source/zippackage/ZipPackageBuffer \
60 package/source/zippackage/ZipPackage \
61 package/source/zippackage/ZipPackageEntry \
62 package/source/zippackage/ZipPackageFolder \
63 package/source/zippackage/ZipPackageFolderEnumeration \
64 package/source/zippackage/ZipPackageSink \
65 package/source/zippackage/ZipPackageStream \
68 ifneq ($(SYSTEM_ZLIB),)
69 $(eval $(call gb_Library_add_defs,package2,\
70 -DSYSTEM_ZLIB \
72 endif
74 # vim: set noet sw=4 ts=4: