author | Milan Jurik <Milan.Jurik@oracle.com> |
Wed, 30 Nov 2011 06:39:13 -0800 | |
changeset 604 | c25824a87b1f |
parent 209 | 2961eca161ad |
child 609 | 775168282b2f |
permissions | -rw-r--r-- |
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 |
# |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
23 |
# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
24 |
# |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
25 |
|
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 |
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
|
31 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)-stable |
209
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
32 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
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
|
33 |
COMPONENT_ARCHIVE_HASH= sha1:4a834364c28ad652ddeb00b5f83872506eede7d4 |
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
|
34 |
COMPONENT_ARCHIVE_URL= http://cloud.github.com/downloads/libevent/libevent/$(COMPONENT_ARCHIVE) |
209
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
35 |
|
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
36 |
include ../../make-rules/prep.mk |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
37 |
include ../../make-rules/configure.mk |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
38 |
include ../../make-rules/ips.mk |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
39 |
include ../../make-rules/lint-libraries.mk |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
40 |
|
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
41 |
COMPONENT_PRE_CONFIGURE_ACTION = \ |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
42 |
($(CLONEY) $(SOURCE_DIR) $(@D)) |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
43 |
|
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
44 |
#The original manpage is in a format that the Solaris man command does |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
45 |
#not understand. Hence it has been manually converted. |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
46 |
# |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
47 |
#List of files from the original package that are not being delivered |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
48 |
# |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
49 |
#/usr/bin/event_rpcgen.py |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
50 |
|
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
51 |
CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)" |
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 |
|
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
54 |
build: $(BUILD_32_and_64) |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
55 |
|
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
56 |
install: $(INSTALL_32_and_64) |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
57 |
|
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
58 |
# this isn't really true - there _are_ tests, but we can't run |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
59 |
# them because we delete things that the tests want (see above). |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
60 |
test: $(NO_TESTS) |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
61 |
|
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
62 |
BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS) |
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
63 |
|
2961eca161ad
7040066 move libevent to userland
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
diff
changeset
|
64 |
include ../../make-rules/depend.mk |