Makefile revision 128
3109N/A#
3109N/A# CDDL HEADER START
3109N/A#
3109N/A# The contents of this file are subject to the terms of the
3109N/A# Common Development and Distribution License (the "License").
3109N/A# You may not use this file except in compliance with the License.
3109N/A#
3109N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3109N/A# or http://www.opensolaris.org/os/licensing.
3109N/A# See the License for the specific language governing permissions
3109N/A# and limitations under the License.
3109N/A#
3109N/A# When distributing Covered Code, include this CDDL HEADER in each
3109N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3109N/A# If applicable, add the following below this CDDL HEADER, with the
3109N/A# fields enclosed by brackets "[]" replaced with your own identifying
3109N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3109N/A#
3109N/A# CDDL HEADER END
3109N/A#
3817N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
3109N/A#
3109N/Ainclude ../../make-rules/shared-macros.mk
3109N/A
3109N/ACOMPONENT_NAME = neon
3109N/ACOMPONENT_VERSION = 0.29.5
3109N/ACOMPONENT_SRC = $(COMPONENT_NAME)-$(COMPONENT_VERSION)
3109N/ACOMPONENT_ARCHIVE = $(COMPONENT_SRC).tar.gz
3109N/ACOMPONENT_ARCHIVE_HASH = sha1:46e85922b2dad60f50393e7d8d4075c880c7e03e
3109N/ACOMPONENT_ARCHIVE_URL = http://webdav.org/neon/$(COMPONENT_ARCHIVE)
3109N/A
3109N/Ainclude ../../make-rules/prep.mk
3109N/Ainclude ../../make-rules/configure.mk
3109N/Ainclude ../../make-rules/ips.mk
3109N/A
3109N/APATCH_LEVEL = 0
3109N/A
3109N/ACC += $(CC_BITS)
3109N/ACPPFLAGS += $(CPP_LARGEFILES)
3109N/A
3817N/ACONFIGURE_ENV += CFLAGS="$(CFLAGS)"
3817N/ACONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
3817N/A
3109N/ACONFIGURE_OPTIONS += --localstatedir=/var
3109N/ACONFIGURE_OPTIONS += --mandir=/usr/share/man
3109N/ACONFIGURE_OPTIONS += --infodir=/usr/share/info
3109N/ACONFIGURE_OPTIONS += --enable-shared
3109N/ACONFIGURE_OPTIONS += --disable-static
3109N/ACONFIGURE_OPTIONS += --enable-webdav
3109N/ACONFIGURE_OPTIONS += --enable-threadsafe-ssl=posix
3109N/ACONFIGURE_OPTIONS += --enable-nls
3109N/ACONFIGURE_OPTIONS += --disable-warnings
3109N/ACONFIGURE_OPTIONS += --disable-ld-version-script
3817N/ACONFIGURE_OPTIONS += --with-zlib
3817N/ACONFIGURE_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