Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src add external framework for libevent



details:   https://anonhg.NetBSD.org/src/rev/99defd5e6fe3
branches:  trunk
changeset: 748702:99defd5e6fe3
user:      plunky <plunky%NetBSD.org@localhost>
date:      Mon Nov 02 10:03:56 2009 +0000

description:
add external framework for libevent

diffstat:

 compat/external/bsd/libevent/Makefile         |   11 +
 compat/external/bsd/libevent/Makefile.inc     |    9 +
 compat/external/bsd/libevent/include/Makefile |   37 +++
 compat/external/bsd/libevent/lib/Makefile     |   37 +++
 external/bsd/libevent/Makefile                |    5 +
 external/bsd/libevent/Makefile.inc            |   12 +
 external/bsd/libevent/include/Makefile        |    8 +
 external/bsd/libevent/include/config.h        |  255 +++++++++++++++++++++++++
 external/bsd/libevent/include/event-config.h  |  263 ++++++++++++++++++++++++++
 external/bsd/libevent/lib/Makefile            |   98 +++++++++
 external/bsd/libevent/lib/shlib_version       |    6 +
 external/bsd/libevent/prepare-import.sh       |   63 ++++++
 12 files changed, 804 insertions(+), 0 deletions(-)

diffs (truncated from 852 to 300 lines):

diff -r d84060040bb5 -r 99defd5e6fe3 compat/external/bsd/libevent/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/compat/external/bsd/libevent/Makefile     Mon Nov 02 10:03:56 2009 +0000
@@ -0,0 +1,11 @@
+#      $NetBSD: Makefile,v 1.1 2009/11/02 10:03:57 plunky Exp $
+
+.include <bsd.own.mk>
+
+_CURDIR:= ${.CURDIR}
+
+.CURDIR:=${NETBSDSRCDIR}/external/bsd/libevent
+
+.include "${.CURDIR}/Makefile"
+
+.CURDIR:= ${_CURDIR}
diff -r d84060040bb5 -r 99defd5e6fe3 compat/external/bsd/libevent/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/compat/external/bsd/libevent/Makefile.inc Mon Nov 02 10:03:56 2009 +0000
@@ -0,0 +1,9 @@
+#      $NetBSD: Makefile.inc,v 1.1 2009/11/02 10:03:57 plunky Exp $
+
+.include <bsd.own.mk>
+
+_CURDIR:= ${.CURDIR}
+
+.include "${NETBSDSRCDIR}/external/bsd/libevent/Makefile.inc"
+
+.CURDIR:= ${_CURDIR}
diff -r d84060040bb5 -r 99defd5e6fe3 compat/external/bsd/libevent/include/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/compat/external/bsd/libevent/include/Makefile     Mon Nov 02 10:03:56 2009 +0000
@@ -0,0 +1,37 @@
+#      $NetBSD: Makefile,v 1.1 2009/11/02 10:03:57 plunky Exp $
+#      Generated from: NetBSD: build-makefiles,v 1.8 2009/07/21 01:05:35 mrg Exp 
+
+NOLINT= # defined
+NOMAN= # defined
+NONLS= # defined
+NOINFO=        # defined
+NOSHARE=       # defined
+
+NOCHECKVER=    # defined
+
+.include <bsd.obj.mk>
+
+# Resolve pathnames in variables.
+_RESOLVE_VARS=  CFLAGS CPPFLAGS DPADD LDADD LIBDPLIBS LIB_ROOT_DIR
+.for var in ${_RESOLVE_VARS}
+${var}:=        ${${var}}
+.endfor
+
+.include <bsd.own.mk>
+
+_CURDIR:= ${.CURDIR}
+
+.PATH: ${NETBSDSRCDIR}/external/bsd/libevent/include
+.CURDIR:=${NETBSDSRCDIR}/external/bsd/libevent/include
+
+.include "${NETBSDSRCDIR}/compat/Makefile.compat"
+.include "${.CURDIR}/Makefile"
+
+# Resolve pathnames from "real" Makefile, and switch .CURDIR back.
+_RESOLVE_VARS=  CFLAGS CPPFLAGS DPADD LDADD ARCHDIR COMPATDIR COMPATARCHDIR LIBCDIR RPC_INCS RPC_XDIR LIBEDITDIR MODOBJDIR RUMPTOP
+.for var in ${_RESOLVE_VARS}
+${var}:=        ${${var}}
+.endfor
+
+.CURDIR:=       ${_CURDIR}
+.undef          _CURDIR
diff -r d84060040bb5 -r 99defd5e6fe3 compat/external/bsd/libevent/lib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/compat/external/bsd/libevent/lib/Makefile Mon Nov 02 10:03:56 2009 +0000
@@ -0,0 +1,37 @@
+#      $NetBSD: Makefile,v 1.1 2009/11/02 10:03:57 plunky Exp $
+#      Generated from: NetBSD: build-makefiles,v 1.8 2009/07/21 01:05:35 mrg Exp 
+
+NOLINT= # defined
+NOMAN= # defined
+NONLS= # defined
+NOINFO=        # defined
+NOSHARE=       # defined
+
+NOCHECKVER=    # defined
+
+.include <bsd.obj.mk>
+
+# Resolve pathnames in variables.
+_RESOLVE_VARS=  CFLAGS CPPFLAGS DPADD LDADD LIBDPLIBS LIB_ROOT_DIR
+.for var in ${_RESOLVE_VARS}
+${var}:=        ${${var}}
+.endfor
+
+.include <bsd.own.mk>
+
+_CURDIR:= ${.CURDIR}
+
+.PATH: ${NETBSDSRCDIR}/external/bsd/libevent/lib
+.CURDIR:=${NETBSDSRCDIR}/external/bsd/libevent/lib
+
+.include "${NETBSDSRCDIR}/compat/Makefile.compat"
+.include "${.CURDIR}/Makefile"
+
+# Resolve pathnames from "real" Makefile, and switch .CURDIR back.
+_RESOLVE_VARS=  CFLAGS CPPFLAGS DPADD LDADD ARCHDIR COMPATDIR COMPATARCHDIR LIBCDIR RPC_INCS RPC_XDIR LIBEDITDIR MODOBJDIR RUMPTOP
+.for var in ${_RESOLVE_VARS}
+${var}:=        ${${var}}
+.endfor
+
+.CURDIR:=       ${_CURDIR}
+.undef          _CURDIR
diff -r d84060040bb5 -r 99defd5e6fe3 external/bsd/libevent/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/libevent/Makefile    Mon Nov 02 10:03:56 2009 +0000
@@ -0,0 +1,5 @@
+#      $NetBSD: Makefile,v 1.1 2009/11/02 10:03:56 plunky Exp $
+
+SUBDIR=                include lib
+
+.include <bsd.subdir.mk>
diff -r d84060040bb5 -r 99defd5e6fe3 external/bsd/libevent/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/libevent/Makefile.inc        Mon Nov 02 10:03:56 2009 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile.inc,v 1.1 2009/11/02 10:03:56 plunky Exp $
+
+.include <bsd.own.mk>
+
+LIBEVENT_DIR=  ${NETBSDSRCDIR}/external/bsd/libevent
+
+CPPFLAGS+=     -DHAVE_CONFIG_H
+CPPFLAGS+=     -I${LIBEVENT_DIR}/dist -I${LIBEVENT_DIR}/include
+
+WARNS?=                4
+
+.PATH:         ${LIBEVENT_DIR}/dist
diff -r d84060040bb5 -r 99defd5e6fe3 external/bsd/libevent/include/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/libevent/include/Makefile    Mon Nov 02 10:03:56 2009 +0000
@@ -0,0 +1,8 @@
+#      $NetBSD: Makefile,v 1.1 2009/11/02 10:03:56 plunky Exp $
+
+.include <bsd.init.mk>
+
+INCS=          evdns.h event.h evhttp.h evrpc.h evutil.h event-config.h
+INCSDIR=       /usr/include
+
+.include <bsd.prog.mk>
diff -r d84060040bb5 -r 99defd5e6fe3 external/bsd/libevent/include/config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/bsd/libevent/include/config.h    Mon Nov 02 10:03:56 2009 +0000
@@ -0,0 +1,255 @@
+/*     $NetBSD: config.h,v 1.1 2009/11/02 10:03:56 plunky Exp $        */
+/* config.h.  Generated from config.h.in by configure.  */
+/* config.h.in.  Generated from configure.in by autoheader.  */
+
+/* Define if clock_gettime is available in libc */
+#define DNS_USE_CPU_CLOCK_FOR_ID 1
+
+/* Define is no secure id variant is available */
+/* #undef DNS_USE_GETTIMEOFDAY_FOR_ID */
+
+/* Define to 1 if you have the `clock_gettime' function. */
+#define HAVE_CLOCK_GETTIME 1
+
+/* Define if /dev/poll is available */
+/* #undef HAVE_DEVPOLL */
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define if your system supports the epoll system calls */
+/* #undef HAVE_EPOLL */
+
+/* Define to 1 if you have the `epoll_ctl' function. */
+/* #undef HAVE_EPOLL_CTL */
+
+/* Define if your system supports event ports */
+/* #undef HAVE_EVENT_PORTS */
+
+/* Define to 1 if you have the `fcntl' function. */
+#define HAVE_FCNTL 1
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define to 1 if you have the `getaddrinfo' function. */
+#define HAVE_GETADDRINFO 1
+
+/* Define to 1 if you have the `getnameinfo' function. */
+#define HAVE_GETNAMEINFO 1
+
+/* Define to 1 if you have the `gettimeofday' function. */
+#define HAVE_GETTIMEOFDAY 1
+
+/* Define to 1 if you have the `inet_ntop' function. */
+#define HAVE_INET_NTOP 1
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the `kqueue' function. */
+#define HAVE_KQUEUE 1
+
+/* Define to 1 if you have the `nsl' library (-lnsl). */
+/* #undef HAVE_LIBNSL */
+
+/* Define to 1 if you have the `resolv' library (-lresolv). */
+#define HAVE_LIBRESOLV 1
+
+/* Define to 1 if you have the `rt' library (-lrt). */
+#define HAVE_LIBRT 1
+
+/* Define to 1 if you have the `socket' library (-lsocket). */
+/* #undef HAVE_LIBSOCKET */
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the <netinet/in6.h> header file. */
+/* #undef HAVE_NETINET_IN6_H */
+
+/* Define to 1 if you have the `poll' function. */
+#define HAVE_POLL 1
+
+/* Define to 1 if you have the <poll.h> header file. */
+#define HAVE_POLL_H 1
+
+/* Define to 1 if you have the `port_create' function. */
+/* #undef HAVE_PORT_CREATE */
+
+/* Define to 1 if you have the <port.h> header file. */
+/* #undef HAVE_PORT_H */
+
+/* Define to 1 if you have the `select' function. */
+#define HAVE_SELECT 1
+
+/* Define if F_SETFD is defined in <fcntl.h> */
+#define HAVE_SETFD 1
+
+/* Define to 1 if you have the `sigaction' function. */
+#define HAVE_SIGACTION 1
+
+/* Define to 1 if you have the `signal' function. */
+#define HAVE_SIGNAL 1
+
+/* Define to 1 if you have the <signal.h> header file. */
+#define HAVE_SIGNAL_H 1
+
+/* Define to 1 if you have the <stdarg.h> header file. */
+#define HAVE_STDARG_H 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the `strlcpy' function. */
+#define HAVE_STRLCPY 1
+
+/* Define to 1 if you have the `strsep' function. */
+#define HAVE_STRSEP 1
+
+/* Define to 1 if you have the `strtok_r' function. */
+#define HAVE_STRTOK_R 1
+
+/* Define to 1 if you have the `strtoll' function. */
+#define HAVE_STRTOLL 1
+
+/* Define to 1 if the system has the type `struct in6_addr'. */
+#define HAVE_STRUCT_IN6_ADDR 1
+
+/* Define to 1 if you have the <sys/devpoll.h> header file. */
+/* #undef HAVE_SYS_DEVPOLL_H */
+
+/* Define to 1 if you have the <sys/epoll.h> header file. */
+/* #undef HAVE_SYS_EPOLL_H */
+
+/* Define to 1 if you have the <sys/event.h> header file. */
+#define HAVE_SYS_EVENT_H 1
+
+/* Define to 1 if you have the <sys/ioctl.h> header file. */
+#define HAVE_SYS_IOCTL_H 1
+
+/* Define to 1 if you have the <sys/param.h> header file. */
+#define HAVE_SYS_PARAM_H 1
+
+/* Define to 1 if you have the <sys/queue.h> header file. */
+#define HAVE_SYS_QUEUE_H 1
+
+/* Define to 1 if you have the <sys/select.h> header file. */
+#define HAVE_SYS_SELECT_H 1
+
+/* Define to 1 if you have the <sys/socket.h> header file. */



Home | Main Index | Thread Index | Old Index