Makefile revision 844
195N/A#
195N/A# CDDL HEADER START
195N/A#
195N/A# The contents of this file are subject to the terms of the
195N/A# Common Development and Distribution License (the "License").
195N/A# You may not use this file except in compliance with the License.
195N/A#
195N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
195N/A# or http://www.opensolaris.org/os/licensing.
195N/A# See the License for the specific language governing permissions
195N/A# and limitations under the License.
195N/A#
195N/A# When distributing Covered Code, include this CDDL HEADER in each
195N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
195N/A# If applicable, add the following below this CDDL HEADER, with the
195N/A# fields enclosed by brackets "[]" replaced with your own identifying
195N/A# information: Portions Copyright [yyyy] [name of copyright owner]
195N/A#
195N/A# CDDL HEADER END
195N/A#
778N/A
195N/A#
195N/A# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
195N/A#
195N/A
778N/Ainclude ../../make-rules/shared-macros.mk
618N/A
195N/ACOMPONENT_NAME= memcached
195N/ACOMPONENT_VERSION= 1.4.5
844N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
844N/ACOMPONENT_PROJECT_URL= http://memcached.org/
195N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
195N/ACOMPONENT_ARCHIVE_HASH= \
778N/A sha256:9571b4b85484e46b3b10f07ccba77a1fa97d60660b32859f990effefb3005f91
778N/ACOMPONENT_ARCHIVE_URL= http://memcached.googlecode.com/files/$(COMPONENT_ARCHIVE)
844N/A
844N/Ainclude ../../make-rules/prep.mk
778N/Ainclude ../../make-rules/configure.mk
778N/Ainclude ../../make-rules/ips.mk
195N/A
195N/APATH=/usr/bin:/usr/gnu/bin:/usr/perl5/bin
195N/A
195N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
195N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
195N/A
195N/ACOMPONENT_TEST_TARGETS= test
195N/A
195N/Astudio_OPT = -xO5
195N/A
195N/ACFLAGS += -D__ATTRIBUTE_DISABLED
195N/A
195N/ACONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/lib/$(MACH64)
195N/ACONFIGURE_OPTIONS.64 += --with-libevent=/usr/lib/${MACH64}
778N/ACONFIGURE_OPTIONS += --enable-dtrace --disable-docs --disable-coverage
195N/ACONFIGURE_OPTIONS += --localstatedir=/var
195N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
195N/A
195N/A# common targets
195N/Abuild: $(BUILD_64)
778N/A
195N/Ainstall: $(INSTALL_64)
195N/A
195N/Atest: $(TEST_64)
195N/A
195N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
195N/A
include ../../make-rules/depend.mk