bump product version to 4.1.6.2
[LibreOffice.git] / neon / Library_neon.mk
blob2dad2ed8f30a1a23fcb5fcbb02dac367b9b8c0af
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,neon))
12 $(eval $(call gb_Library_use_unpacked,neon,neon))
14 $(eval $(call gb_Library_use_externals,neon,\
15 gnutls \
16 libxml2 \
17 libgcrypt \
18 openssl \
19 openssl_headers \
20 zlib \
23 $(eval $(call gb_Library_set_visibility_default,neon))
25 # neon has its share of warning... let's spare use
26 # the pointless spamming
27 $(eval $(call gb_Library_add_cflags,neon,\
28 -w \
31 ifneq ($(debug),)
32 $(eval $(call gb_Library_add_cflags,neon,\
33 -DNE_DEBUGGING \
35 endif
37 $(eval $(call gb_Library_set_warnings_not_errors,neon))
39 $(eval $(call gb_Library_add_generated_cobjects,neon,\
40 UnpackedTarball/neon/src/ne_207 \
41 UnpackedTarball/neon/src/ne_acl3744 \
42 UnpackedTarball/neon/src/ne_alloc \
43 UnpackedTarball/neon/src/ne_auth \
44 UnpackedTarball/neon/src/ne_basic \
45 UnpackedTarball/neon/src/ne_compress \
46 UnpackedTarball/neon/src/ne_dates \
47 UnpackedTarball/neon/src/ne_i18n \
48 UnpackedTarball/neon/src/ne_locks \
49 UnpackedTarball/neon/src/ne_md5 \
50 UnpackedTarball/neon/src/ne_props \
51 UnpackedTarball/neon/src/ne_redirect \
52 UnpackedTarball/neon/src/ne_request \
53 UnpackedTarball/neon/src/ne_session \
54 UnpackedTarball/neon/src/ne_socket \
55 UnpackedTarball/neon/src/ne_socks \
56 UnpackedTarball/neon/src/ne_string \
57 UnpackedTarball/neon/src/ne_uri \
58 UnpackedTarball/neon/src/ne_utils \
59 UnpackedTarball/neon/src/ne_xml \
60 UnpackedTarball/neon/src/ne_xmlreq \
64 ifneq ($(DISABLE_OPENSSL),YES)
65 $(eval $(call gb_Library_add_generated_cobjects,neon,\
66 UnpackedTarball/neon/src/ne_openssl \
68 else
69 $(eval $(call gb_Library_add_generated_cobjects,neon,\
70 UnpackedTarball/neon/src/ne_gnutls \
72 endif
75 ifeq ($(OS),WNT)
76 $(eval $(call gb_Library_use_system_win32_libs,neon,\
77 ws2_32 \
78 crypt32 \
81 ifeq ($(COM),MSC)
82 $(eval $(call gb_Library_add_ldflags,neon,\
83 /DEF:$(SRCDIR)/neon/neon.def \
85 endif
87 $(eval $(call gb_Library_add_generated_cobjects,neon,\
88 UnpackedTarball/neon/src/ne_sspi \
91 else
92 ifneq ($(DISABLE_OPENSSL),YES)
93 $(eval $(call gb_Library_add_generated_cobjects,neon,\
94 UnpackedTarball/neon/src/ne_ntlm \
96 endif
98 endif
100 ifeq ($(OS),LINUX)
101 $(eval $(call gb_Library_add_libs,neon,\
102 -ldl \
104 endif
106 # vim: set noet sw=4 ts=4: