components/libevent/Makefile
author Shawn Walker-Salas <shawn.walker@oracle.com>
Wed, 30 Mar 2016 13:33:31 -0700
changeset 5682 94c0ca64c022
parent 4339 6501cf9c29f9
child 5921 cf3796081ab1
permissions -rw-r--r--
15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh 22228656 remove redundant declarations and additions from makefiles 22252545 simplify build rules for components from common upstream 22378457 tclConfig.sh compiler settings are too specific 22727315 httping curses gui missing 22750630 procmail ignores userland cflags and may use private strstr function 22758725 wdiff uses diff from PATH instead of /usr/gnu/bin/diff 22926847 cloog Makefile typo when setting ASLR_MODE 22935090 tk config script has wrong linker flags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
209
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     1
#
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     3
#
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     7
#
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    12
#
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    18
#
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    20
#
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    21
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    22
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    23
# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
209
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    24
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    25
BUILD_BITS= 64_and_32
209
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    26
include ../../make-rules/shared-macros.mk
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    27
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_NAME=		libevent
604
c25824a87b1f 6674902 a lot of superfluous calls to clock_gettime if timed events is not used
Milan Jurik <Milan.Jurik@oracle.com>
parents: 209
diff changeset
    29
COMPONENT_VERSION=	1.4.14b
c25824a87b1f 6674902 a lot of superfluous calls to clock_gettime if timed events is not used
Milan Jurik <Milan.Jurik@oracle.com>
parents: 209
diff changeset
    30
IPS_COMPONENT_VERSION=	1.4.14.2
609
775168282b2f 7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents: 604
diff changeset
    31
COMPONENT_PROJECT_URL=	http://monkey.org/~provos/libevent/
604
c25824a87b1f 6674902 a lot of superfluous calls to clock_gettime if timed events is not used
Milan Jurik <Milan.Jurik@oracle.com>
parents: 209
diff changeset
    32
COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable
800
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    33
COMPONENT_ARCHIVE_HASH=	\
2ad056ed89ec 7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents: 609
diff changeset
    34
    sha256:afa61b476a222ba43fc7cca2d24849ab0bbd940124400cb699915d3c60e46301
604
c25824a87b1f 6674902 a lot of superfluous calls to clock_gettime if timed events is not used
Milan Jurik <Milan.Jurik@oracle.com>
parents: 209
diff changeset
    35
COMPONENT_ARCHIVE_URL=	http://cloud.github.com/downloads/libevent/libevent/$(COMPONENT_ARCHIVE)
1058
34d7aaa03423 15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents: 800
diff changeset
    36
COMPONENT_BUGDB=	library/libevent
209
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    37
1948
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1434
diff changeset
    38
TPNO=			5581
2d1537e7942d 18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents: 1434
diff changeset
    39
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    40
include $(WS_MAKE_RULES)/common.mk
209
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    41
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    42
COMPONENT_PRE_CONFIGURE_ACTION =  \
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    43
	($(CLONEY) $(SOURCE_DIR) $(@D))
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    44
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    45
# The original manpage is in a format that the Solaris man command does not
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    46
# understand. Hence it has been manually converted.
209
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    47
#
5682
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    48
# List of files from the original package that are not being delivered
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    49
#
94c0ca64c022 15558602 TCL_LD_SEARCH_FLAGS is wrongly defined in tclConfig.sh
Shawn Walker-Salas <shawn.walker@oracle.com>
parents: 4339
diff changeset
    50
# /usr/bin/event_rpcgen.py
209
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    51
604
c25824a87b1f 6674902 a lot of superfluous calls to clock_gettime if timed events is not used
Milan Jurik <Milan.Jurik@oracle.com>
parents: 209
diff changeset
    52
CONFIGURE_OPTIONS	+= --disable-static
209
2961eca161ad 7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff changeset
    53
3750
60902b5c3237 20217381 libevent should run its tests
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    54
COMPONENT_TEST_TARGETS =	verify
60902b5c3237 20217381 libevent should run its tests
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    55
60902b5c3237 20217381 libevent should run its tests
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    56
# \x24 represents the character '$'
60902b5c3237 20217381 libevent should run its tests
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    57
COMPONENT_TEST_TRANSFORMS += \
60902b5c3237 20217381 libevent should run its tests
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    58
	'-e "s/^type: .* OKAY\x24/TYPE-COUNT-LINE OKAY/" '
60902b5c3237 20217381 libevent should run its tests
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    59
60902b5c3237 20217381 libevent should run its tests
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    60
# Master test results are the same for 32-bit and 64-bit, so override
60902b5c3237 20217381 libevent should run its tests
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    61
# here, rather than create multiple identical master files.
60902b5c3237 20217381 libevent should run its tests
April Chin <april.chin@oracle.com>
parents: 2225
diff changeset
    62
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master