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