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