Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / neon / Library_neon.mk
blob92b13ac97c1104ec5a24d1ce0454f98bd86eaa17
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 libxml2 \
16 openssl \
17 zlib \
20 $(eval $(call gb_Library_set_visibility_default,neon))
22 # neon has its share of warning... let's spare use
23 # the pointless spamming
24 $(eval $(call gb_Library_add_cflags,neon,\
25 -w \
28 $(eval $(call gb_Library_set_warnings_not_errors,neon))
30 $(eval $(call gb_Library_add_generated_cobjects,neon,\
31 UnpackedTarball/neon/src/ne_207 \
32 UnpackedTarball/neon/src/ne_acl3744 \
33 UnpackedTarball/neon/src/ne_alloc \
34 UnpackedTarball/neon/src/ne_auth \
35 UnpackedTarball/neon/src/ne_basic \
36 UnpackedTarball/neon/src/ne_compress \
37 UnpackedTarball/neon/src/ne_dates \
38 UnpackedTarball/neon/src/ne_i18n \
39 UnpackedTarball/neon/src/ne_locks \
40 UnpackedTarball/neon/src/ne_md5 \
41 UnpackedTarball/neon/src/ne_props \
42 UnpackedTarball/neon/src/ne_redirect \
43 UnpackedTarball/neon/src/ne_request \
44 UnpackedTarball/neon/src/ne_session \
45 UnpackedTarball/neon/src/ne_socket \
46 UnpackedTarball/neon/src/ne_socks \
47 UnpackedTarball/neon/src/ne_string \
48 UnpackedTarball/neon/src/ne_uri \
49 UnpackedTarball/neon/src/ne_utils \
50 UnpackedTarball/neon/src/ne_xml \
51 UnpackedTarball/neon/src/ne_xmlreq \
52 UnpackedTarball/neon/src/ne_openssl \
55 ifeq ($(OS),WNT)
56 $(eval $(call gb_Library_use_system_win32_libs,neon,\
57 ws2_32 \
60 ifeq ($(COM),MSC)
61 $(eval $(call gb_Library_add_ldflags,neon,\
62 /DEF:$(SRCDIR)/neon/neon.def \
64 endif
66 $(eval $(call gb_Library_add_generated_cobjects,neon,\
67 UnpackedTarball/neon/src/ne_sspi \
70 else
71 $(eval $(call gb_Library_add_generated_cobjects,neon,\
72 UnpackedTarball/neon/src/ne_ntlm \
75 endif
77 ifeq ($(OS),LINUX)
78 $(eval $(call gb_Library_add_libs,neon,\
79 -ldl \
81 endif
83 # vim: set noet sw=4 ts=4: