Makefile revision 209
209N/A#
209N/A# CDDL HEADER START
209N/A#
209N/A# The contents of this file are subject to the terms of the
209N/A# Common Development and Distribution License (the "License").
209N/A# You may not use this file except in compliance with the License.
209N/A#
209N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
209N/A# or http://www.opensolaris.org/os/licensing.
209N/A# See the License for the specific language governing permissions
209N/A# and limitations under the License.
209N/A#
209N/A# When distributing Covered Code, include this CDDL HEADER in each
209N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
209N/A# If applicable, add the following below this CDDL HEADER, with the
209N/A# fields enclosed by brackets "[]" replaced with your own identifying
209N/A# information: Portions Copyright [yyyy] [name of copyright owner]
209N/A#
209N/A# CDDL HEADER END
209N/A#
209N/A
209N/A#
209N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
209N/A#
209N/A
209N/Ainclude ../../make-rules/shared-macros.mk
209N/A
209N/ACOMPONENT_NAME= libevent
209N/ACOMPONENT_VERSION= 1.3e
209N/AIPS_COMPONENT_VERSION= 1.3.5
209N/ACOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
209N/ACOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
209N/ACOMPONENT_ARCHIVE_HASH= sha1:67b064a4533c640dfb86e3d81c0cca9247427353
209N/ACOMPONENT_ARCHIVE_URL= http://monkey.org/~provos/$(COMPONENT_ARCHIVE)
209N/A
209N/Ainclude ../../make-rules/prep.mk
209N/Ainclude ../../make-rules/configure.mk
209N/Ainclude ../../make-rules/ips.mk
209N/Ainclude ../../make-rules/lint-libraries.mk
209N/A
209N/ACOMPONENT_PRE_CONFIGURE_ACTION = \
209N/A ($(CLONEY) $(SOURCE_DIR) $(@D))
209N/A
209N/A#The libevent that is bundled with Solaris is a trimed down version.
209N/A#It does not contain the evhttp*, evdns* functions. The man page 'event.3'
209N/A#is patched to remove descriptions regarding these functions.
209N/A#
209N/A#The original manpage is in a format that the Solaris man command does
209N/A#not understand. Hence it has been manually converted.
209N/A#
209N/A#List of files from the original package that are not being delivered
209N/A#
209N/A#/usr/share/man/man3/evdns.3
209N/A#/usr/include/evhttp.h
209N/A#/usr/include/evdns.h
209N/A#/usr/bin/event_rpcgen.py
209N/A
209N/ACONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
209N/ACONFIGURE_OPTIONS += --enable-threads
209N/A
209N/Abuild: $(BUILD_32_and_64)
209N/A
209N/Ainstall: $(INSTALL_32_and_64)
209N/A
209N/A# this isn't really true - there _are_ tests, but we can't run
209N/A# them because we delete things that the tests want (see above).
209N/Atest: $(NO_TESTS)
209N/A
209N/ABUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
209N/A
209N/Ainclude ../../make-rules/depend.mk