Remove duplicated include
[LibreOffice.git] / package / Library_package2.mk
blob16ef09af5f6dde303150446c58eb423f128f001c
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 argon2 \
45 zlib \
48 $(eval $(call gb_Library_add_exception_objects,package2,\
49 package/source/manifest/ManifestExport \
50 package/source/manifest/ManifestImport \
51 package/source/manifest/ManifestReader \
52 package/source/manifest/ManifestWriter \
53 package/source/zipapi/blowfishcontext \
54 package/source/zipapi/ByteChucker \
55 package/source/zipapi/ByteGrabber \
56 package/source/zipapi/CRC32 \
57 package/source/zipapi/Deflater \
58 package/source/zipapi/Inflater \
59 package/source/zipapi/sha1context \
60 package/source/zipapi/ThreadedDeflater \
61 package/source/zipapi/XBufferedThreadedStream \
62 package/source/zipapi/XUnbufferedStream \
63 package/source/zipapi/ZipEnumeration \
64 package/source/zipapi/ZipFile \
65 package/source/zipapi/ZipOutputEntry \
66 package/source/zipapi/ZipOutputStream \
67 package/source/zippackage/wrapstreamforshare \
68 package/source/zippackage/zipfileaccess \
69 package/source/zippackage/ZipPackageBuffer \
70 package/source/zippackage/ZipPackage \
71 package/source/zippackage/ZipPackageEntry \
72 package/source/zippackage/ZipPackageFolder \
73 package/source/zippackage/ZipPackageFolderEnumeration \
74 package/source/zippackage/ZipPackageSink \
75 package/source/zippackage/ZipPackageStream \
78 ifneq ($(SYSTEM_ZLIB),)
79 $(eval $(call gb_Library_add_defs,package2,\
80 -DSYSTEM_ZLIB \
82 endif
84 # vim: set noet sw=4 ts=4: