Makefile revision 128
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# CDDL HEADER START
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# The contents of this file are subject to the terms of the
080575042aba2197b425ebfd52061dea061a9aa1xy# Common Development and Distribution License (the "License").
080575042aba2197b425ebfd52061dea061a9aa1xy# You may not use this file except in compliance with the License.
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d5c3073dbbd835e1e9b7dca0c6c770cf3cc20afachenlu chen - Sun Microsystems - Beijing China# or http://www.opensolaris.org/os/licensing.
080575042aba2197b425ebfd52061dea061a9aa1xy# See the License for the specific language governing permissions
080575042aba2197b425ebfd52061dea061a9aa1xy# and limitations under the License.
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# When distributing Covered Code, include this CDDL HEADER in each
080575042aba2197b425ebfd52061dea061a9aa1xy# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
080575042aba2197b425ebfd52061dea061a9aa1xy# If applicable, add the following below this CDDL HEADER, with the
080575042aba2197b425ebfd52061dea061a9aa1xy# fields enclosed by brackets "[]" replaced with your own identifying
080575042aba2197b425ebfd52061dea061a9aa1xy# information: Portions Copyright [yyyy] [name of copyright owner]
080575042aba2197b425ebfd52061dea061a9aa1xy#
080575042aba2197b425ebfd52061dea061a9aa1xy# CDDL HEADER END
080575042aba2197b425ebfd52061dea061a9aa1xy#
d5c3073dbbd835e1e9b7dca0c6c770cf3cc20afachenlu chen - Sun Microsystems - Beijing China# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
f0f2c3a5cf65a61de34af42edac38b2a7bda3416Girish Moodalbail#
080575042aba2197b425ebfd52061dea061a9aa1xyinclude ../../make-rules/shared-macros.mk
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_NAME = neon
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_VERSION = 0.29.5
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION)
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_ARCHIVE_HASH = sha1:46e85922b2dad60f50393e7d8d4075c880c7e03e
080575042aba2197b425ebfd52061dea061a9aa1xyCOMPONENT_ARCHIVE_URL = http://webdav.org/neon/$(COMPONENT_ARCHIVE)
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyinclude ../../make-rules/prep.mk
080575042aba2197b425ebfd52061dea061a9aa1xyinclude ../../make-rules/configure.mk
080575042aba2197b425ebfd52061dea061a9aa1xyinclude ../../make-rules/ips.mk
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyPATCH_LEVEL = 0
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyCC += $(CC_BITS)
080575042aba2197b425ebfd52061dea061a9aa1xyCPPFLAGS += $(CPP_LARGEFILES)
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_ENV += CFLAGS="$(CFLAGS)"
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --localstatedir=/var
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --mandir=/usr/share/man
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --infodir=/usr/share/info
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --enable-shared
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --disable-static
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --enable-webdav
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --enable-threadsafe-ssl=posix
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --enable-nls
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --disable-warnings
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --disable-ld-version-script
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --with-zlib
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --with-ssl=openssl
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --with-libproxy
080575042aba2197b425ebfd52061dea061a9aa1xyCONFIGURE_OPTIONS += --with-libxml2
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xybuild: $(BUILD_32) $(BUILD_64)
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyGSED = /usr/gnu/bin/sed
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyinclude ../../make-rules/shared-targets.mk
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyinstall: $(INSTALL_32) $(INSTALL_64)
080575042aba2197b425ebfd52061dea061a9aa1xy $(GSED) -f oracleman-stability $(PROTOUSRSHAREMAN3DIR)/neon.3 > \
080575042aba2197b425ebfd52061dea061a9aa1xy $(PROTOUSRSHAREMAN3DIR)/neon.3.sed
080575042aba2197b425ebfd52061dea061a9aa1xy cp -fp $(PROTOUSRSHAREMAN3DIR)/neon.3.sed \
080575042aba2197b425ebfd52061dea061a9aa1xy $(PROTOUSRSHAREMAN3DIR)/neon.3
080575042aba2197b425ebfd52061dea061a9aa1xy rm -f $(PROTOUSRSHAREMAN3DIR)/neon.3.sed
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xytest: $(BUILD_32_and_64)
080575042aba2197b425ebfd52061dea061a9aa1xy @cd $(BUILD_DIR_32); env PATH="$(GNUBIN):$(PATH)" $(GMAKE) check
080575042aba2197b425ebfd52061dea061a9aa1xy @cd $(BUILD_DIR_64); env PATH="$(GNUBIN):$(PATH)" $(GMAKE) check
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xyinclude ../../make-rules/depend.mk
080575042aba2197b425ebfd52061dea061a9aa1xy
080575042aba2197b425ebfd52061dea061a9aa1xy