Makefile revision 5052
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# CDDL HEADER START
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# The contents of this file are subject to the terms of the
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# Common Development and Distribution License (the "License").
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# You may not use this file except in compliance with the License.
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# See the License for the specific language governing permissions
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# and limitations under the License.
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# When distributing Covered Code, include this CDDL HEADER in each
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# If applicable, add the following below this CDDL HEADER, with the
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# CDDL HEADER END
6e9aa255e3376b2da5824c09c4c62bc233463bfevboxsync# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
6e9aa255e3376b2da5824c09c4c62bc233463bfevboxsyncCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync sha256:d4fb3a64dc592c104caa4e98bc11f209fcb97eecdeb7f506797320dea75b9459
a180a41bba1d50822df23fff0099e90b86638b89vboxsyncCOMPONENT_ARCHIVE_URL= http://launchpadlibrarian.net/33299595/${COMPONENT_ARCHIVE}
a180a41bba1d50822df23fff0099e90b86638b89vboxsyncCOMPONENT_PROJECT_URL= http://libmemcached.org/libMemcached.html
a180a41bba1d50822df23fff0099e90b86638b89vboxsyncCONFIGURE_OPTIONS += --includedir=$(CONFIGURE_INCLUDEDIR)
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# need some files in $(SOURCE_DIR)/docs during build
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# need /usr/perl5/bin on path to access pod2man perl script, used by
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# the build to create docs
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# Libmemcached's configure script sets an incorrect CFLAGS in the Makefiles
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# it generates. Make sure we use the correct one by passing CFLAGS in
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# as a build argument (CFLAGS in the environment won't take precedence
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# over the Makefile one).
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# Similarly, set pkglibdir in the arguments to gmake; otherwise
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# the Makefile sets runpath to a non-existent /usr/lib/libmemcached directory.
a180a41bba1d50822df23fff0099e90b86638b89vboxsync '-e "s|\(bash: line 1:\).*|\1|" ' \
a180a41bba1d50822df23fff0099e90b86638b89vboxsync '-e "s|\(Testing \)\(.*\)\([0-9].[0-9][0-9][0-9]\)\(.*$$\)|\1\2\4|" ' \
a180a41bba1d50822df23fff0099e90b86638b89vboxsync '-e "s|^make.*: Leaving directory.*$$|XXX_REMOVE_XXX|g" ' \
a180a41bba1d50822df23fff0099e90b86638b89vboxsync '-e "s|^make.*: Entering directory.*$$|XXX_REMOVE_XXX|g" ' \
a180a41bba1d50822df23fff0099e90b86638b89vboxsync '-e "/^XXX_REMOVE_XXX$$/d" '
a180a41bba1d50822df23fff0099e90b86638b89vboxsync# Tests fail, probably because memcached is not running.