Adapt prev 4f78696117ebe4f729880b5d9bfc2f5817b73543 to 3.5 rtl::OUString
[LibreOffice.git] / package / Library_package2.mk
blob306887ebc3b5a29fdaf79b7c9432e850a067b073
1 # -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
2 # Version: MPL 1.1 / GPLv3+ / LGPLv3+
4 # The contents of this file are subject to the Mozilla Public License Version
5 # 1.1 (the "License"); you may not use this file except in compliance with
6 # the License or as specified alternatively below. You may obtain a copy of
7 # the License at http://www.mozilla.org/MPL/
9 # Software distributed under the License is distributed on an "AS IS" basis,
10 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 # for the specific language governing rights and limitations under the
12 # License.
14 # The Initial Developer of the Original Code is
15 # Matúš Kukan <matus.kukan@gmail.com>
16 # Portions created by the Initial Developer are Copyright (C) 2011 the
17 # Initial Developer. All Rights Reserved.
19 # Major Contributor(s):
21 # For minor contributions see the git repository.
23 # Alternatively, the contents of this file may be used under the terms of
24 # either the GNU General Public License Version 3 or later (the "GPLv3+"), or
25 # the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
26 # in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
27 # instead of those above.
29 $(eval $(call gb_Library_Library,package2))
31 $(eval $(call gb_Library_add_package_headers,package2,package_inc))
33 $(eval $(call gb_Library_set_componentfile,package2,package/util/package2))
35 $(eval $(call gb_Library_set_include,package2,\
36 $$(INCLUDE) \
37 -I$(realpath $(SRCDIR)/package/inc) \
40 $(eval $(call gb_Library_add_api,package2,\
41 udkapi \
42 offapi \
45 $(eval $(call gb_Library_add_defs,package2,\
46 -DDLLIMPLEMENTATION_PACKAGE \
49 $(eval $(call gb_Library_add_linked_libs,package2,\
50 comphelper \
51 cppu \
52 cppuhelper \
53 sal \
54 ucbhelper \
55 $(gb_STDLIBS) \
58 $(eval $(call gb_Library_use_externals,package2,\
59 zlib \
62 $(eval $(call gb_Library_add_exception_objects,package2,\
63 package/source/manifest/Base64Codec \
64 package/source/manifest/ManifestExport \
65 package/source/manifest/ManifestImport \
66 package/source/manifest/ManifestReader \
67 package/source/manifest/ManifestWriter \
68 package/source/manifest/UnoRegister \
69 package/source/zipapi/blowfishcontext \
70 package/source/zipapi/ByteChucker \
71 package/source/zipapi/ByteGrabber \
72 package/source/zipapi/CRC32 \
73 package/source/zipapi/Deflater \
74 package/source/zipapi/Inflater \
75 package/source/zipapi/sha1context \
76 package/source/zipapi/XUnbufferedStream \
77 package/source/zipapi/ZipEnumeration \
78 package/source/zipapi/ZipFile \
79 package/source/zipapi/ZipOutputStream \
80 package/source/zippackage/wrapstreamforshare \
81 package/source/zippackage/zipfileaccess \
82 package/source/zippackage/ZipPackageBuffer \
83 package/source/zippackage/ZipPackage \
84 package/source/zippackage/ZipPackageEntry \
85 package/source/zippackage/ZipPackageFolder \
86 package/source/zippackage/ZipPackageFolderEnumeration \
87 package/source/zippackage/ZipPackageSink \
88 package/source/zippackage/ZipPackageStream \
91 ifeq ($(SYSTEM_ZLIB),YES)
92 $(eval $(call gb_Library_add_defs,package2,\
93 -DSYSTEM_ZLIB \
95 endif
97 # vim: set noet sw=4 ts=4: