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_StaticLibrary_StaticLibrary
,zlib
))
12 $(eval
$(call gb_StaticLibrary_use_unpacked
,zlib
,zlib
))
14 $(eval
$(call gb_StaticLibrary_set_warnings_disabled
,zlib
))
16 $(eval
$(call gb_StaticLibrary_add_generated_cobjects
,zlib
,\
17 UnpackedTarball
/zlib
/adler32 \
18 UnpackedTarball
/zlib
/compress \
19 UnpackedTarball
/zlib
/crc32 \
20 UnpackedTarball
/zlib
/deflate \
21 UnpackedTarball
/zlib
/gzclose \
22 UnpackedTarball
/zlib
/gzlib \
23 UnpackedTarball
/zlib
/gzread \
24 UnpackedTarball
/zlib
/gzwrite \
25 UnpackedTarball
/zlib
/inffast \
26 UnpackedTarball
/zlib
/inflate \
27 UnpackedTarball
/zlib
/inftrees \
28 UnpackedTarball
/zlib
/trees \
29 UnpackedTarball
/zlib
/zutil \
32 ifeq ($(ENABLE_DEBUG
),TRUE
)
33 $(eval
$(call gb_StaticLibrary_add_cflags
,zlib
,-DZLIB_DEBUG
))
36 # vim: set noet sw=4 ts=4: