Makefile revision 611
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# CDDL HEADER START
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# The contents of this file are subject to the terms of the
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# Common Development and Distribution License (the "License").
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# You may not use this file except in compliance with the License.
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# or http://www.opensolaris.org/os/licensing.
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# See the License for the specific language governing permissions
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# and limitations under the License.
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# When distributing Covered Code, include this CDDL HEADER in each
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# If applicable, add the following below this CDDL HEADER, with the
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# fields enclosed by brackets "[]" replaced with your own identifying
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# information: Portions Copyright [yyyy] [name of copyright owner]
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# CDDL HEADER END
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeperinclude ../../make-rules/shared-macros.mk
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper
0595fb660c93faf1fdbaad7e1300eb342b5baf31Mark de ReeperCOMPONENT_NAME= libevent
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de ReeperCOMPONENT_VERSION= 1.4.14b
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de ReeperIPS_COMPONENT_VERSION= 1.4.14.2
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de ReeperCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de ReeperCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de ReeperCOMPONENT_ARCHIVE_HASH= sha1:4a834364c28ad652ddeb00b5f83872506eede7d4
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de ReeperCOMPONENT_ARCHIVE_URL= http://cloud.github.com/downloads/libevent/libevent/$(COMPONENT_ARCHIVE)
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeperinclude ../../make-rules/prep.mk
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeperinclude ../../make-rules/configure.mk
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeperinclude ../../make-rules/ips.mk
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeperinclude ../../make-rules/lint-libraries.mk
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de ReeperCOMPONENT_PRE_CONFIGURE_ACTION = \
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper ($(CLONEY) $(SOURCE_DIR) $(@D))
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#The original manpage is in a format that the Solaris man command does
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#not understand. Hence it has been manually converted.
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#List of files from the original package that are not being delivered
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper#/usr/bin/event_rpcgen.py
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de ReeperCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de ReeperCONFIGURE_OPTIONS += --disable-static
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeperbuild: $(BUILD_32_and_64)
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeperinstall: $(INSTALL_32_and_64)
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# this isn't really true - there _are_ tests, but we can't run
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper# them because we delete things that the tests want (see above).
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reepertest: $(NO_TESTS)
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de ReeperBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeperinclude ../../make-rules/depend.mk
6406210b71fd4a97800f32f3613eea9b6a6a12ceMark de Reeper