Makefile revision 3661
a727cdff50383b98a150922e16a470cc63225309Tinderbox User#
268c4e79c40845fb0005c44d177497bf5fad4518Mark Andrews# CDDL HEADER START
268c4e79c40845fb0005c44d177497bf5fad4518Mark Andrews#
c8821d124c532e0a65752b378f924d4259499fd3Mark Andrews# The contents of this file are subject to the terms of the
c8821d124c532e0a65752b378f924d4259499fd3Mark Andrews# Common Development and Distribution License (the "License").
c8821d124c532e0a65752b378f924d4259499fd3Mark Andrews# You may not use this file except in compliance with the License.
63042d5b579ae3d43104133007e55c224c698904Evan Hunt#
c8821d124c532e0a65752b378f924d4259499fd3Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# or http://www.opensolaris.org/os/licensing.
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# See the License for the specific language governing permissions
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# and limitations under the License.
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman#
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# When distributing Covered Code, include this CDDL HEADER in each
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9b17fd447c684a84b2f5fbfb04ad6e890ae2078cMukund Sivaraman# If applicable, add the following below this CDDL HEADER, with the
9b17fd447c684a84b2f5fbfb04ad6e890ae2078cMukund Sivaraman# fields enclosed by brackets "[]" replaced with your own identifying
9b17fd447c684a84b2f5fbfb04ad6e890ae2078cMukund Sivaraman# information: Portions Copyright [yyyy] [name of copyright owner]
9b17fd447c684a84b2f5fbfb04ad6e890ae2078cMukund Sivaraman#
9b17fd447c684a84b2f5fbfb04ad6e890ae2078cMukund Sivaraman# CDDL HEADER END
e13d04fda918c0c14c2247475bb99e0760d9a6a4Evan Hunt#
e13d04fda918c0c14c2247475bb99e0760d9a6a4Evan Hunt
b51391848127d0303bd385a555c76aef57d1b4ebEvan Hunt#
b51391848127d0303bd385a555c76aef57d1b4ebEvan Hunt# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
b51391848127d0303bd385a555c76aef57d1b4ebEvan Hunt#
bfd4b9e11aa9e8c2b43022a6b7a896b26bd5d7a0Witold Krecicki
bfd4b9e11aa9e8c2b43022a6b7a896b26bd5d7a0Witold Krecickiinclude ../../make-rules/shared-macros.mk
bfd4b9e11aa9e8c2b43022a6b7a896b26bd5d7a0Witold Krecicki
29868ebbe3c7bc06f833e329ea190dc442331bf1Mark AndrewsCOMPONENT_NAME= libevent
29868ebbe3c7bc06f833e329ea190dc442331bf1Mark AndrewsCOMPONENT_VERSION= 1.4.14b
29868ebbe3c7bc06f833e329ea190dc442331bf1Mark AndrewsIPS_COMPONENT_VERSION= 1.4.14.2
2f450fcd295795fb1771432e098af3d6e52c8a0bMark AndrewsCOMPONENT_PROJECT_URL= http://monkey.org/~provos/libevent/
2f450fcd295795fb1771432e098af3d6e52c8a0bMark AndrewsCOMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable
2f450fcd295795fb1771432e098af3d6e52c8a0bMark AndrewsCOMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
e939674d53a127ddeeaf4b41fd72933f0b493308Mark AndrewsCOMPONENT_ARCHIVE_HASH= \
e939674d53a127ddeeaf4b41fd72933f0b493308Mark Andrews sha256:afa61b476a222ba43fc7cca2d24849ab0bbd940124400cb699915d3c60e46301
e939674d53a127ddeeaf4b41fd72933f0b493308Mark AndrewsCOMPONENT_ARCHIVE_URL= http://cloud.github.com/downloads/libevent/libevent/$(COMPONENT_ARCHIVE)
e939674d53a127ddeeaf4b41fd72933f0b493308Mark AndrewsCOMPONENT_BUGDB= library/libevent
6b8519147a5c24b4a5942042e83fd539d0d445ccEvan Hunt
6b8519147a5c24b4a5942042e83fd539d0d445ccEvan HuntTPNO= 5581
6b8519147a5c24b4a5942042e83fd539d0d445ccEvan Hunt
09f82f50798e170b172e6ba358ed123536243839Evan Huntinclude ../../make-rules/prep.mk
09f82f50798e170b172e6ba358ed123536243839Evan Huntinclude ../../make-rules/configure.mk
09f82f50798e170b172e6ba358ed123536243839Evan Huntinclude ../../make-rules/ips.mk
8475bed9de77920f884f1ae296f581efbd1e42f8Mark Andrewsinclude ../../make-rules/lint-libraries.mk
861aa4e9039e6f354545177c4c2323b485549602Mark Andrews
8475bed9de77920f884f1ae296f581efbd1e42f8Mark AndrewsCOMPONENT_PRE_CONFIGURE_ACTION = \
821ff5e8fa1df2e09fea157ee3e298eef6cf4ec9Evan Hunt ($(CLONEY) $(SOURCE_DIR) $(@D))
821ff5e8fa1df2e09fea157ee3e298eef6cf4ec9Evan Hunt
821ff5e8fa1df2e09fea157ee3e298eef6cf4ec9Evan Hunt#The original manpage is in a format that the Solaris man command does
821ff5e8fa1df2e09fea157ee3e298eef6cf4ec9Evan Hunt#not understand. Hence it has been manually converted.
f06b6a9b14509a3b473f52dd797bc490f6f6511dMark Andrews#
f06b6a9b14509a3b473f52dd797bc490f6f6511dMark Andrews#List of files from the original package that are not being delivered
f06b6a9b14509a3b473f52dd797bc490f6f6511dMark Andrews#
aa9b64060fb6e946a920e957805f564d149e88e0Evan Hunt#/usr/bin/event_rpcgen.py
aa9b64060fb6e946a920e957805f564d149e88e0Evan Hunt
aa9b64060fb6e946a920e957805f564d149e88e0Evan HuntCONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
412f873b9fafa0f8161a1203e7731d9d67052e49Mark AndrewsCONFIGURE_OPTIONS += --disable-static
412f873b9fafa0f8161a1203e7731d9d67052e49Mark Andrews
72ac929f2bfe186ab4fe2d9425685d6ef419f200Mark Andrewsbuild: $(BUILD_32_and_64)
72ac929f2bfe186ab4fe2d9425685d6ef419f200Mark Andrews
72ac929f2bfe186ab4fe2d9425685d6ef419f200Mark Andrewsinstall: $(INSTALL_32_and_64)
a70fc47e9dc165175e77f091076559748858a488Mark Andrews
a70fc47e9dc165175e77f091076559748858a488Mark Andrews# this isn't really true - there _are_ tests, but we can't run
0526268c2b2806ceb67032e0bfee708b6e70e004Mark Andrews# them because we delete things that the tests want (see above).
0526268c2b2806ceb67032e0bfee708b6e70e004Mark Andrewstest: $(NO_TESTS)
0526268c2b2806ceb67032e0bfee708b6e70e004Mark Andrews
abf9790162ae88bf74d3959f5ac0dd2090a9a9fcTinderbox UserBUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
932715fbbe449e814612a9ae39eac885548de5bfEvan Hunt
932715fbbe449e814612a9ae39eac885548de5bfEvan Huntinclude ../../make-rules/depend.mk
9d8169cbf8390c9e2e9707026fd078e282811069Mark Andrews