components/libneon/Makefile
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 11 Mar 2013 10:38:09 -0700
branchs11-update
changeset 2520 ceec631e74d1
parent 2446 aabe313bb2a2
child 3661 47545fb8aed4
permissions -rw-r--r--
Close of build 10.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
128
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     1
#
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     2
# CDDL HEADER START
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     3
#
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     7
#
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    11
# and limitations under the License.
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    12
#
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    18
#
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    19
# CDDL HEADER END
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    20
#
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    21
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
128
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    22
#
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    23
include ../../make-rules/shared-macros.mk
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    24
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents: 2422
diff changeset
    25
COMPONENT_NAME = libneon
2422
c2dac4420bc6 15822924 SUNBT7204859-11.2 Upgrade neon to 0.29.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 800
diff changeset
    26
COMPONENT_VERSION = 0.29.6
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    27
COMPONENT_PROJECT_URL=	http://www.webdav.org/neon/
2434
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents: 2422
diff changeset
    28
COMPONENT_SRC_NAME = neon
6c9bb5cf5610 15930486 - Auto-generation of Userland gate list for the Solaris 11 Update Release
Rich Burridge <rich.burridge@oracle.com>
parents: 2422
diff changeset
    29
COMPONENT_SRC = $(COMPONENT_SRC_NAME)-$(COMPONENT_VERSION)
128
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    30
COMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    31
COMPONENT_ARCHIVE_HASH = \
2422
c2dac4420bc6 15822924 SUNBT7204859-11.2 Upgrade neon to 0.29.6
Stefan Teleman <stefan.teleman@oracle.com>
parents: 800
diff changeset
    32
    sha256:9c640b728d6dc80ef1e48f83181166ab6bc95309cece5537e01ffdd01b96eb43
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 181
diff changeset
    33
COMPONENT_ARCHIVE_URL = $(COMPONENT_PROJECT_URL)$(COMPONENT_ARCHIVE)
2446
aabe313bb2a2 15959414 Several Userland components are using the wrong BugDB cat/subcat.
Rich Burridge <rich.burridge@oracle.com>
parents: 2434
diff changeset
    34
COMPONENT_BUGDB=	library/neon
128
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    35
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    36
include ../../make-rules/prep.mk
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    37
include ../../make-rules/configure.mk
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    38
include ../../make-rules/ips.mk
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    39
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    40
PATCH_LEVEL = 0
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    41
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    42
CC += $(CC_BITS)
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    43
CPPFLAGS += $(CPP_LARGEFILES)
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    44
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    45
CONFIGURE_ENV += CFLAGS="$(CFLAGS)"
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    46
CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    47
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    48
CONFIGURE_OPTIONS += --localstatedir=/var
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    49
CONFIGURE_OPTIONS += --mandir=/usr/share/man
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    50
CONFIGURE_OPTIONS += --infodir=/usr/share/info
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    51
CONFIGURE_OPTIONS += --enable-shared
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    52
CONFIGURE_OPTIONS += --disable-static
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    53
CONFIGURE_OPTIONS += --enable-webdav
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    54
CONFIGURE_OPTIONS += --enable-threadsafe-ssl=posix
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    55
CONFIGURE_OPTIONS += --enable-nls
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    56
CONFIGURE_OPTIONS += --disable-warnings
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    57
CONFIGURE_OPTIONS += --disable-ld-version-script
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    58
CONFIGURE_OPTIONS += --with-zlib
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    59
CONFIGURE_OPTIONS += --with-ssl=openssl
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    60
CONFIGURE_OPTIONS += --with-libproxy
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    61
CONFIGURE_OPTIONS += --with-libxml2
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    62
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 128
diff changeset
    63
COMPONENT_TEST_ENV +=	PATH="$(GNUBIN):$(PATH)"
128
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    64
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 128
diff changeset
    65
build:		$(BUILD_32_and_64)
128
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    66
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 128
diff changeset
    67
install:	$(INSTALL_32_and_64)
128
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    68
181
87e11e685b1f 7003927 userland should postprocess packaged files
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents: 128
diff changeset
    69
test:		$(TEST_32_and_64)
128
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    70
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    71
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    72
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    73
include ../../make-rules/depend.mk
07d15f3ddf16 7003241 Upgrade libneon to 0.29.5
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    74