Makefile revision 128
32N/A#
32N/A# CDDL HEADER START
911N/A#
851N/A# The contents of this file are subject to the terms of the
32N/A# Common Development and Distribution License (the "License").
32N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/Ainclude ../../make-rules/shared-macros.mk
32N/A
32N/ACOMPONENT_NAME = neon
32N/ACOMPONENT_VERSION = 0.29.5
32N/ACOMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION)
493N/ACOMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz
32N/ACOMPONENT_ARCHIVE_HASH = sha1:46e85922b2dad60f50393e7d8d4075c880c7e03e
32N/ACOMPONENT_ARCHIVE_URL = http://webdav.org/neon/$(COMPONENT_ARCHIVE)
851N/A
32N/Ainclude ../../make-rules/prep.mk
911N/Ainclude ../../make-rules/configure.mk
911N/Ainclude ../../make-rules/ips.mk
911N/A
911N/APATCH_LEVEL = 0
32N/A
606N/ACC += $(CC_BITS)
32N/ACPPFLAGS += $(CPP_LARGEFILES)
32N/A
32N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
CONFIGURE_OPTIONS += --localstatedir=/var
CONFIGURE_OPTIONS += --mandir=/usr/share/man
CONFIGURE_OPTIONS += --infodir=/usr/share/info
CONFIGURE_OPTIONS += --enable-shared
CONFIGURE_OPTIONS += --disable-static
CONFIGURE_OPTIONS += --enable-webdav
CONFIGURE_OPTIONS += --enable-threadsafe-ssl=posix
CONFIGURE_OPTIONS += --enable-nls
CONFIGURE_OPTIONS += --disable-warnings
CONFIGURE_OPTIONS += --disable-ld-version-script
CONFIGURE_OPTIONS += --with-zlib
CONFIGURE_OPTIONS += --with-ssl=openssl
CONFIGURE_OPTIONS += --with-libproxy
CONFIGURE_OPTIONS += --with-libxml2
build: $(BUILD_32) $(BUILD_64)
GSED = /usr/gnu/bin/sed
include ../../make-rules/shared-targets.mk
install: $(INSTALL_32) $(INSTALL_64)
$(GSED) -f oracleman-stability $(PROTOUSRSHAREMAN3DIR)/neon.3 > \
$(PROTOUSRSHAREMAN3DIR)/neon.3.sed
cp -fp $(PROTOUSRSHAREMAN3DIR)/neon.3.sed \
$(PROTOUSRSHAREMAN3DIR)/neon.3
rm -f $(PROTOUSRSHAREMAN3DIR)/neon.3.sed
test: $(BUILD_32_and_64)
@cd $(BUILD_DIR_32); env PATH="$(GNUBIN):$(PATH)" $(GMAKE) check
@cd $(BUILD_DIR_64); env PATH="$(GNUBIN):$(PATH)" $(GMAKE) check
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk