Update git submodules
[LibreOffice.git] / package / Library_package2.mk
blobc78786632555a6e2f2e7f29f19d9827abe0137eb
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_libraries,package2,\
28 comphelper \
29 cppu \
30 cppuhelper \
31 sal \
32 sax \
33 salhelper \
34 ucbhelper \
35 tl \
36 utl \
39 $(eval $(call gb_Library_use_externals,package2,\
40 boost_headers \
41 zlib \
44 $(eval $(call gb_Library_add_exception_objects,package2,\
45 package/source/manifest/ManifestExport \
46 package/source/manifest/ManifestImport \
47 package/source/manifest/ManifestReader \
48 package/source/manifest/ManifestWriter \
49 package/source/zipapi/blowfishcontext \
50 package/source/zipapi/ByteChucker \
51 package/source/zipapi/ByteGrabber \
52 package/source/zipapi/CRC32 \
53 package/source/zipapi/Deflater \
54 package/source/zipapi/Inflater \
55 package/source/zipapi/sha1context \
56 package/source/zipapi/ThreadedDeflater \
57 package/source/zipapi/XBufferedThreadedStream \
58 package/source/zipapi/XUnbufferedStream \
59 package/source/zipapi/ZipEnumeration \
60 package/source/zipapi/ZipFile \
61 package/source/zipapi/ZipOutputEntry \
62 package/source/zipapi/ZipOutputStream \
63 package/source/zippackage/wrapstreamforshare \
64 package/source/zippackage/zipfileaccess \
65 package/source/zippackage/ZipPackageBuffer \
66 package/source/zippackage/ZipPackage \
67 package/source/zippackage/ZipPackageEntry \
68 package/source/zippackage/ZipPackageFolder \
69 package/source/zippackage/ZipPackageFolderEnumeration \
70 package/source/zippackage/ZipPackageSink \
71 package/source/zippackage/ZipPackageStream \
74 ifneq ($(SYSTEM_ZLIB),)
75 $(eval $(call gb_Library_add_defs,package2,\
76 -DSYSTEM_ZLIB \
78 endif
80 # vim: set noet sw=4 ts=4: