gcc49: use -j4 on jeffpc's dev box
[unleashed-userland.git] / components / libneon / Makefile
bloba404ffb875d48186038a6e00874f76f25baecba3
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
21 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
23 include ../../make-rules/shared-macros.mk
25 COMPONENT_NAME = libneon
26 COMPONENT_VERSION = 0.29.6
27 COMPONENT_REVISION = 1
28 COMPONENT_PROJECT_URL= http://www.webdav.org/neon/
29 COMPONENT_SRC_NAME = neon
30 COMPONENT_SRC = $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
31 COMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz
32 COMPONENT_ARCHIVE_HASH = \
33 sha256:9c640b728d6dc80ef1e48f83181166ab6bc95309cece5537e01ffdd01b96eb43
34 COMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
35 COMPONENT_BUGDB= library/neon
37 include ../../make-rules/prep.mk
38 include ../../make-rules/configure.mk
39 include ../../make-rules/ips.mk
41 PATCH_LEVEL = 0
43 CC += $(CC_BITS)
44 CPPFLAGS += $(CPP_LARGEFILES)
46 CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
48 CONFIGURE_OPTIONS += --localstatedir=/var
49 CONFIGURE_OPTIONS += --mandir=/usr/share/man
50 CONFIGURE_OPTIONS += --infodir=/usr/share/info
51 CONFIGURE_OPTIONS += --enable-shared
52 CONFIGURE_OPTIONS += --disable-static
53 CONFIGURE_OPTIONS += --enable-webdav
54 CONFIGURE_OPTIONS += --enable-threadsafe-ssl=posix
55 CONFIGURE_OPTIONS += --enable-nls
56 CONFIGURE_OPTIONS += --disable-warnings
57 CONFIGURE_OPTIONS += --disable-ld-version-script
58 CONFIGURE_OPTIONS += --with-zlib
59 CONFIGURE_OPTIONS += --with-ssl=openssl
60 CONFIGURE_OPTIONS += --with-libproxy
61 CONFIGURE_OPTIONS += --with-libxml2
63 COMPONENT_TEST_ENV += PATH="$(GNUBIN):$(PATH)"
65 build: $(BUILD_32_and_64)
67 install: $(INSTALL_32_and_64)
69 test: $(TEST_32_and_64)
71 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
73 include ../../make-rules/depend.mk