Makefile revision 460
174N/A#
174N/A# CDDL HEADER START
943N/A#
174N/A# The contents of this file are subject to the terms of the
174N/A# Common Development and Distribution License (the "License").
919N/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
919N/A#
174N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
174N/A#
174N/A
493N/Ainclude ../../make-rules/shared-macros.mk
493N/A
174N/ACOMPONENT_NAME= memcached
174N/ACOMPONENT_VERSION= 1.4.5
851N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
174N/ACOMPONENT_PROJECT_URL= http://memcached.org/
911N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
911N/ACOMPONENT_ARCHIVE_HASH= sha1:c7d6517764b82d23ae2de76b56c2494343c53f02
911N/ACOMPONENT_ARCHIVE_URL= http://memcached.googlecode.com/files/$(COMPONENT_ARCHIVE)
911N/A
174N/Ainclude ../../make-rules/prep.mk
598N/Ainclude ../../make-rules/configure.mk
174N/Ainclude ../../make-rules/ips.mk
910N/A
910N/APATH=/usr/bin:/usr/gnu/bin:/usr/perl5/bin
910N/A
174N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
493N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
174N/A
493N/ACOMPONENT_TEST_TARGETS= test
493N/A
493N/Astudio_OPT = -xO5
910N/A
493N/ACONFIGURE_BINDIR.64 = $(CONFIGURE_PREFIX)/lib/$(MACH64)
493N/ACONFIGURE_OPTIONS.64 += --with-libevent=/usr/lib/${MACH64}
599N/ACONFIGURE_OPTIONS += --enable-dtrace --disable-docs --disable-coverage
493N/ACONFIGURE_OPTIONS += --localstatedir=/var
493N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
493N/A
# common targets
build: $(BUILD_64)
install: $(INSTALL_64)
test: $(TEST_64)
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
include ../../make-rules/depend.mk