1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # Makefile.am for libevent
19 # Copyright 2000-2007 Niels Provos
20 # Copyright 2007-2012 Niels Provos and Nick Mathewson
22 # See LICENSE for copying information.
28 pkgdatadir = $(datadir)/@PACKAGE@
29 pkgincludedir = $(includedir)/@PACKAGE@
30 pkglibdir = $(libdir)/@PACKAGE@
31 pkglibexecdir = $(libexecdir)/@PACKAGE@
32 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
33 install_sh_DATA = $(install_sh) -c -m 644
34 install_sh_PROGRAM = $(install_sh) -c
35 install_sh_SCRIPT = $(install_sh) -c
36 INSTALL_HEADER = $(INSTALL_DATA)
37 transform = $(program_transform_name)
44 build_triplet = @build@
46 @PTHREADS_TRUE@am__append_1 = libevent_pthreads.la
47 @PTHREADS_TRUE@am__append_2 = libevent_pthreads.pc
48 @OPENSSL_TRUE@am__append_3 = libevent_openssl.la
49 @OPENSSL_TRUE@am__append_4 = libevent_openssl.pc
50 @SELECT_BACKEND_TRUE@am__append_5 = select.c
51 @POLL_BACKEND_TRUE@am__append_6 = poll.c
52 @DEVPOLL_BACKEND_TRUE@am__append_7 = devpoll.c
53 @KQUEUE_BACKEND_TRUE@am__append_8 = kqueue.c
54 @EPOLL_BACKEND_TRUE@am__append_9 = epoll.c
55 @EVPORT_BACKEND_TRUE@am__append_10 = evport.c
56 @SIGNAL_SUPPORT_TRUE@am__append_11 = signal.c
57 @INSTALL_LIBEVENT_FALSE@am__append_12 = $(EVENT1_HDRS)
59 DIST_COMMON = README $(am__configure_deps) \
60 $(am__dist_bin_SCRIPTS_DIST) $(am__include_HEADERS_DIST) \
61 $(am__noinst_HEADERS_DIST) $(srcdir)/Makefile.am \
62 $(srcdir)/Makefile.in $(srcdir)/config.h.in \
63 $(srcdir)/libevent.pc.in $(srcdir)/libevent_openssl.pc.in \
64 $(srcdir)/libevent_pthreads.pc.in $(top_srcdir)/configure \
65 ChangeLog compile config.guess config.sub depcomp epoll_sub.c \
66 install-sh ltmain.sh missing
67 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
68 am__aclocal_m4_deps = $(top_srcdir)/m4/acx_pthread.m4 \
69 $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
70 $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
71 $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/configure.in
72 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
74 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
75 configure.lineno config.status.lineno
76 mkinstalldirs = $(install_sh) -d
77 CONFIG_HEADER = config.h
78 CONFIG_CLEAN_FILES = libevent.pc libevent_openssl.pc \
80 CONFIG_CLEAN_VPATH_FILES =
81 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
82 am__vpath_adj = case $$p in \
83 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
86 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
88 am__nobase_strip_setup = \
89 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
91 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
92 am__nobase_list = $(am__nobase_strip_setup); \
93 for p in $$list; do echo "$$p $$p"; done | \
94 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
95 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
96 if (++n[$$2] == $(am__install_max)) \
97 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
98 END { for (dir in files) print dir, files[dir] }'
100 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
101 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
102 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" \
103 "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"
104 LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
106 libevent_la_DEPENDENCIES = @LTLIBOBJS@ $(am__DEPENDENCIES_1)
107 am__libevent_la_SOURCES_DIST = event.c evthread.c buffer.c \
108 bufferevent.c bufferevent_sock.c bufferevent_filter.c \
109 bufferevent_pair.c listener.c bufferevent_ratelim.c evmap.c \
110 log.c evutil.c evutil_rand.c strlcpy.c select.c poll.c \
111 devpoll.c kqueue.c epoll.c evport.c signal.c win32select.c \
112 evthread_win32.c buffer_iocp.c event_iocp.c \
113 bufferevent_async.c event_tagging.c http.c evdns.c evrpc.c
114 @SELECT_BACKEND_TRUE@am__objects_1 = select.lo
115 @POLL_BACKEND_TRUE@am__objects_2 = poll.lo
116 @DEVPOLL_BACKEND_TRUE@am__objects_3 = devpoll.lo
117 @KQUEUE_BACKEND_TRUE@am__objects_4 = kqueue.lo
118 @EPOLL_BACKEND_TRUE@am__objects_5 = epoll.lo
119 @EVPORT_BACKEND_TRUE@am__objects_6 = evport.lo
120 @SIGNAL_SUPPORT_TRUE@am__objects_7 = signal.lo
121 @BUILD_WIN32_FALSE@am__objects_8 = $(am__objects_1) $(am__objects_2) \
122 @BUILD_WIN32_FALSE@ $(am__objects_3) $(am__objects_4) \
123 @BUILD_WIN32_FALSE@ $(am__objects_5) $(am__objects_6) \
124 @BUILD_WIN32_FALSE@ $(am__objects_7)
125 @BUILD_WIN32_TRUE@am__objects_8 = win32select.lo evthread_win32.lo \
126 @BUILD_WIN32_TRUE@ buffer_iocp.lo event_iocp.lo \
127 @BUILD_WIN32_TRUE@ bufferevent_async.lo $(am__objects_1) \
128 @BUILD_WIN32_TRUE@ $(am__objects_2) $(am__objects_3) \
129 @BUILD_WIN32_TRUE@ $(am__objects_4) $(am__objects_5) \
130 @BUILD_WIN32_TRUE@ $(am__objects_6) $(am__objects_7)
131 am__objects_9 = event.lo evthread.lo buffer.lo bufferevent.lo \
132 bufferevent_sock.lo bufferevent_filter.lo bufferevent_pair.lo \
133 listener.lo bufferevent_ratelim.lo evmap.lo log.lo evutil.lo \
134 evutil_rand.lo strlcpy.lo $(am__objects_8)
135 am__objects_10 = event_tagging.lo http.lo evdns.lo evrpc.lo
136 am_libevent_la_OBJECTS = $(am__objects_9) $(am__objects_10)
137 libevent_la_OBJECTS = $(am_libevent_la_OBJECTS)
138 libevent_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
139 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
140 $(libevent_la_LDFLAGS) $(LDFLAGS) -o $@
141 @INSTALL_LIBEVENT_FALSE@am_libevent_la_rpath =
142 @INSTALL_LIBEVENT_TRUE@am_libevent_la_rpath = -rpath $(libdir)
143 libevent_core_la_DEPENDENCIES = @LTLIBOBJS@ $(am__DEPENDENCIES_1)
144 am__libevent_core_la_SOURCES_DIST = event.c evthread.c buffer.c \
145 bufferevent.c bufferevent_sock.c bufferevent_filter.c \
146 bufferevent_pair.c listener.c bufferevent_ratelim.c evmap.c \
147 log.c evutil.c evutil_rand.c strlcpy.c select.c poll.c \
148 devpoll.c kqueue.c epoll.c evport.c signal.c win32select.c \
149 evthread_win32.c buffer_iocp.c event_iocp.c \
151 am_libevent_core_la_OBJECTS = $(am__objects_9)
152 libevent_core_la_OBJECTS = $(am_libevent_core_la_OBJECTS)
153 libevent_core_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
154 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
155 $(libevent_core_la_LDFLAGS) $(LDFLAGS) -o $@
156 @INSTALL_LIBEVENT_FALSE@am_libevent_core_la_rpath =
157 @INSTALL_LIBEVENT_TRUE@am_libevent_core_la_rpath = -rpath $(libdir)
158 @BUILD_WITH_NO_UNDEFINED_TRUE@am__DEPENDENCIES_2 = libevent_core.la
159 libevent_extra_la_DEPENDENCIES = $(am__DEPENDENCIES_2) \
160 $(am__DEPENDENCIES_1)
161 am_libevent_extra_la_OBJECTS = $(am__objects_10)
162 libevent_extra_la_OBJECTS = $(am_libevent_extra_la_OBJECTS)
163 libevent_extra_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
164 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
165 $(libevent_extra_la_LDFLAGS) $(LDFLAGS) -o $@
166 @INSTALL_LIBEVENT_FALSE@am_libevent_extra_la_rpath =
167 @INSTALL_LIBEVENT_TRUE@am_libevent_extra_la_rpath = -rpath $(libdir)
168 @OPENSSL_TRUE@libevent_openssl_la_DEPENDENCIES = \
169 @OPENSSL_TRUE@ $(am__DEPENDENCIES_2) $(am__DEPENDENCIES_1)
170 am__libevent_openssl_la_SOURCES_DIST = bufferevent_openssl.c
171 @OPENSSL_TRUE@am_libevent_openssl_la_OBJECTS = bufferevent_openssl.lo
172 libevent_openssl_la_OBJECTS = $(am_libevent_openssl_la_OBJECTS)
173 libevent_openssl_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
174 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
175 $(libevent_openssl_la_LDFLAGS) $(LDFLAGS) -o $@
176 @INSTALL_LIBEVENT_FALSE@@OPENSSL_TRUE@am_libevent_openssl_la_rpath =
177 @INSTALL_LIBEVENT_TRUE@@OPENSSL_TRUE@am_libevent_openssl_la_rpath = \
178 @INSTALL_LIBEVENT_TRUE@@OPENSSL_TRUE@ -rpath $(libdir)
179 @PTHREADS_TRUE@libevent_pthreads_la_DEPENDENCIES = \
180 @PTHREADS_TRUE@ $(am__DEPENDENCIES_2)
181 am__libevent_pthreads_la_SOURCES_DIST = evthread_pthread.c
182 @PTHREADS_TRUE@am_libevent_pthreads_la_OBJECTS = evthread_pthread.lo
183 libevent_pthreads_la_OBJECTS = $(am_libevent_pthreads_la_OBJECTS)
184 libevent_pthreads_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
185 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
186 $(libevent_pthreads_la_LDFLAGS) $(LDFLAGS) -o $@
187 @INSTALL_LIBEVENT_FALSE@@PTHREADS_TRUE@am_libevent_pthreads_la_rpath =
188 @INSTALL_LIBEVENT_TRUE@@PTHREADS_TRUE@am_libevent_pthreads_la_rpath = \
189 @INSTALL_LIBEVENT_TRUE@@PTHREADS_TRUE@ -rpath $(libdir)
190 am__dist_bin_SCRIPTS_DIST = event_rpcgen.py
191 SCRIPTS = $(dist_bin_SCRIPTS)
192 DEFAULT_INCLUDES = -I.@am__isrc@
193 depcomp = $(SHELL) $(top_srcdir)/depcomp
194 am__depfiles_maybe = depfiles
196 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
197 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
198 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
199 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
200 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
202 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
203 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
205 SOURCES = $(libevent_la_SOURCES) $(libevent_core_la_SOURCES) \
206 $(libevent_extra_la_SOURCES) $(libevent_openssl_la_SOURCES) \
207 $(libevent_pthreads_la_SOURCES)
208 DIST_SOURCES = $(am__libevent_la_SOURCES_DIST) \
209 $(am__libevent_core_la_SOURCES_DIST) \
210 $(libevent_extra_la_SOURCES) \
211 $(am__libevent_openssl_la_SOURCES_DIST) \
212 $(am__libevent_pthreads_la_SOURCES_DIST)
213 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
214 html-recursive info-recursive install-data-recursive \
215 install-dvi-recursive install-exec-recursive \
216 install-html-recursive install-info-recursive \
217 install-pdf-recursive install-ps-recursive install-recursive \
218 installcheck-recursive installdirs-recursive pdf-recursive \
219 ps-recursive uninstall-recursive
220 DATA = $(pkgconfig_DATA)
221 am__include_HEADERS_DIST = event.h evhttp.h evdns.h evrpc.h evutil.h
222 am__noinst_HEADERS_DIST = util-internal.h mm-internal.h \
223 ipv6-internal.h evrpc-internal.h strlcpy-internal.h \
224 evbuffer-internal.h bufferevent-internal.h http-internal.h \
225 event-internal.h evthread-internal.h ht-internal.h \
226 defer-internal.h minheap-internal.h log-internal.h \
227 evsignal-internal.h evmap-internal.h changelist-internal.h \
228 iocp-internal.h ratelim-internal.h \
229 WIN32-Code/event2/event-config.h WIN32-Code/tree.h \
230 compat/sys/queue.h event.h evhttp.h evdns.h evrpc.h evutil.h
231 HEADERS = $(include_HEADERS) $(noinst_HEADERS)
232 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
233 distclean-recursive maintainer-clean-recursive
234 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
235 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
236 distdir dist dist-all distcheck
239 DIST_SUBDIRS = $(SUBDIRS)
240 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
241 distdir = $(PACKAGE)-$(VERSION)
242 top_distdir = $(distdir)
243 am__remove_distdir = \
244 { test ! -d "$(distdir)" \
245 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
246 && rm -fr "$(distdir)"; }; }
249 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
250 sed_rest='s,^[^/]*/*,,'; \
251 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
252 sed_butlast='s,/*[^/]*$$,,'; \
253 while test -n "$$dir1"; do \
254 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
255 if test "$$first" != "."; then \
256 if test "$$first" = ".."; then \
257 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
258 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
260 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
261 if test "$$first2" = "$$first"; then \
262 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
266 dir0="$$dir0"/"$$first"; \
269 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
272 DIST_ARCHIVES = $(distdir).tar.gz
274 distuninstallcheck_listfiles = find . -type f -print
275 distcleancheck_listfiles = find . -type f -print
279 AUTOCONF = @AUTOCONF@
280 AUTOHEADER = @AUTOHEADER@
281 AUTOMAKE = @AUTOMAKE@
284 CCDEPMODE = @CCDEPMODE@
287 CPPFLAGS = @CPPFLAGS@
288 CYGPATH_W = @CYGPATH_W@
292 DSYMUTIL = @DSYMUTIL@
298 EV_LIB_GDI = @EV_LIB_GDI@
299 EV_LIB_WS32 = @EV_LIB_WS32@
304 INSTALL_DATA = @INSTALL_DATA@
305 INSTALL_PROGRAM = @INSTALL_PROGRAM@
306 INSTALL_SCRIPT = @INSTALL_SCRIPT@
307 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
310 LIBEVENT_GC_SECTIONS = @LIBEVENT_GC_SECTIONS@
314 LIBTOOL_DEPS = @LIBTOOL_DEPS@
317 LTLIBOBJS = @LTLIBOBJS@
318 MAKEINFO = @MAKEINFO@
319 MANIFEST_TOOL = @MANIFEST_TOOL@
325 OPENSSL_LIBS = @OPENSSL_LIBS@
329 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
330 PACKAGE_NAME = @PACKAGE_NAME@
331 PACKAGE_STRING = @PACKAGE_STRING@
332 PACKAGE_TARNAME = @PACKAGE_TARNAME@
333 PACKAGE_URL = @PACKAGE_URL@
334 PACKAGE_VERSION = @PACKAGE_VERSION@
335 PATH_SEPARATOR = @PATH_SEPARATOR@
336 PTHREAD_CC = @PTHREAD_CC@
337 PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
338 PTHREAD_LIBS = @PTHREAD_LIBS@
341 SET_MAKE = @SET_MAKE@
345 ZLIB_LIBS = @ZLIB_LIBS@
346 abs_builddir = @abs_builddir@
347 abs_srcdir = @abs_srcdir@
348 abs_top_builddir = @abs_top_builddir@
349 abs_top_srcdir = @abs_top_srcdir@
350 ac_ct_AR = @ac_ct_AR@
351 ac_ct_CC = @ac_ct_CC@
352 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
353 acx_pthread_config = @acx_pthread_config@
354 am__include = @am__include@
355 am__leading_dot = @am__leading_dot@
356 am__quote = @am__quote@
358 am__untar = @am__untar@
361 build_alias = @build_alias@
362 build_cpu = @build_cpu@
363 build_os = @build_os@
364 build_vendor = @build_vendor@
365 builddir = @builddir@
367 datarootdir = @datarootdir@
370 exec_prefix = @exec_prefix@
372 host_alias = @host_alias@
373 host_cpu = @host_cpu@
375 host_vendor = @host_vendor@
377 includedir = @includedir@
379 install_sh = @install_sh@
381 libexecdir = @libexecdir@
382 localedir = @localedir@
383 localstatedir = @localstatedir@
386 oldincludedir = @oldincludedir@
389 program_transform_name = @program_transform_name@
392 sharedstatedir = @sharedstatedir@
394 sysconfdir = @sysconfdir@
395 target_alias = @target_alias@
396 top_build_prefix = @top_build_prefix@
397 top_builddir = @top_builddir@
398 top_srcdir = @top_srcdir@
400 # 'foreign' means that we're not enforcing GNU package rules strictly.
401 # '1.7' means that we need automake 1.7 or later (and we do).
402 AUTOMAKE_OPTIONS = foreign 1.7
403 ACLOCAL_AMFLAGS = -I m4
405 # This is the "Release" of the Libevent ABI. It takes precedence over
406 # the VERSION_INFO, so that two versions of Libevent with the same
407 # "Release" are never binary-compatible.
409 # This number incremented once for the 2.0 release candidate, and
410 # will increment for each series until we revise our interfaces enough
411 # that we can seriously expect ABI compatibility between series.
413 RELEASE = -release 2.0
415 # This is the version info for the libevent binary API. It has three
417 # Current -- the number of the binary API that we're implementing
418 # Revision -- which iteration of the implementation of the binary
419 # API are we supplying?
420 # Age -- How many previous binary API versions do we also
423 # To increment a VERSION_INFO (current:revision:age):
424 # If the ABI didn't change:
425 # Return (current:revision+1:age)
426 # If the ABI changed, but it's backward-compatible:
427 # Return (current+1:0:age+1)
428 # If the ABI changed and it isn't backward-compatible:
429 # Return (current+1:0:0)
431 # Once an RC is out, DO NOT MAKE ANY ABI-BREAKING CHANGES IN THAT SERIES
432 # UNLESS YOU REALLY REALLY HAVE TO.
435 # History: RELEASE VERSION_INFO
436 # 2.0.1-alpha -- 2.0 1:0:0
437 # 2.0.2-alpha -- 2:0:0
438 # 2.0.3-alpha -- 2:0:0 (should have incremented; didn't.)
439 # 2.0.4-alpha -- 3:0:0
440 # 2.0.5-beta -- 4:0:0
441 # 2.0.6-rc -- 2.0 2:0:0
442 # 2.0.7-rc -- 2.0 3:0:1
443 # 2.0.8-rc -- 2.0 4:0:2
444 # 2.0.9-rc -- 2.0 5:0:0 (ABI changed slightly)
445 # 2.0.10-stable-- 2.0 5:1:0 (No ABI change)
446 # 2.0.11-stable-- 2.0 6:0:1 (ABI changed, backward-compatible)
447 # 2.0.12-stable-- 2.0 6:1:1 (No ABI change)
448 # 2.0.13-stable-- 2.0 6:2:1 (No ABI change)
449 # 2.0.14-stable-- 2.0 6:3:1 (No ABI change)
450 # 2.0.15-stable-- 2.0 6:3:1 (Forgot to update :( )
451 # 2.0.16-stable-- 2.0 6:4:1 (No ABI change)
452 # 2.0.17-stable-- 2.0 6:5:1 (No ABI change)
455 # 2.1.1-alpha -- 2.1 1:0:0
457 # ABI version history for this package effectively restarts every time
458 # we change RELEASE. Version 1.4.x had RELEASE of 1.4.
460 # Ideally, we would not be using RELEASE at all; instead we could just
461 # use the VERSION_INFO field to label our backward-incompatible ABI
462 # changes, and those would be few and far between. Unfortunately,
463 # Libevent still exposes far too many volatile structures in its
464 # headers, so we pretty much have to assume that most development
465 # series will break ABI compatibility. For now, it's simplest just to
466 # keep incrementing the RELEASE between series and resetting VERSION_INFO.
468 # Eventually, when we get to the point where the structures in the
469 # headers are all non-changing (or not there at all!), we can shift to
470 # a more normal worldview where backward-incompatible ABI changes are
471 # nice and rare. For the next couple of years, though, 'struct event'
472 # is user-visible, and so we can pretty much guarantee that release
473 # series won't be binary-compatible.
474 @INSTALL_LIBEVENT_TRUE@dist_bin_SCRIPTS = event_rpcgen.py
475 pkgconfigdir = $(libdir)/pkgconfig
476 LIBEVENT_PKGCONFIG = libevent.pc $(am__append_2) $(am__append_4)
478 # These sources are conditionally added by configure.in or conditionally
479 # included from other files.
480 PLATFORM_DEPENDENT_SRC = \
491 Makefile.nmake test/Makefile.nmake \
492 $(PLATFORM_DEPENDENT_SRC)
494 LIBEVENT_LIBS_LA = libevent.la libevent_core.la libevent_extra.la \
495 $(am__append_1) $(am__append_3)
496 @INSTALL_LIBEVENT_TRUE@lib_LTLIBRARIES = $(LIBEVENT_LIBS_LA)
497 @INSTALL_LIBEVENT_TRUE@pkgconfig_DATA = $(LIBEVENT_PKGCONFIG)
498 @INSTALL_LIBEVENT_FALSE@noinst_LTLIBRARIES = $(LIBEVENT_LIBS_LA)
499 SUBDIRS = . include sample test
500 @BUILD_WIN32_FALSE@SYS_LIBS =
501 @BUILD_WIN32_TRUE@SYS_LIBS = -lws2_32 -lshell32 -ladvapi32
502 @BUILD_WIN32_FALSE@SYS_SRC = $(am__append_5) $(am__append_6) \
503 @BUILD_WIN32_FALSE@ $(am__append_7) $(am__append_8) \
504 @BUILD_WIN32_FALSE@ $(am__append_9) $(am__append_10) \
505 @BUILD_WIN32_FALSE@ $(am__append_11)
506 @BUILD_WIN32_TRUE@SYS_SRC = win32select.c evthread_win32.c \
507 @BUILD_WIN32_TRUE@ buffer_iocp.c event_iocp.c \
508 @BUILD_WIN32_TRUE@ bufferevent_async.c $(am__append_5) \
509 @BUILD_WIN32_TRUE@ $(am__append_6) $(am__append_7) \
510 @BUILD_WIN32_TRUE@ $(am__append_8) $(am__append_9) \
511 @BUILD_WIN32_TRUE@ $(am__append_10) $(am__append_11)
512 @BUILD_WIN32_FALSE@SYS_INCLUDES =
513 @BUILD_WIN32_TRUE@SYS_INCLUDES = -IWIN32-Code
514 BUILT_SOURCES = ./include/event2/event-config.h
515 CORE_SRC = event.c evthread.c buffer.c \
516 bufferevent.c bufferevent_sock.c bufferevent_filter.c \
517 bufferevent_pair.c listener.c bufferevent_ratelim.c \
518 evmap.c log.c evutil.c evutil_rand.c strlcpy.c $(SYS_SRC)
520 EXTRA_SRC = event_tagging.c http.c evdns.c evrpc.c
521 @BUILD_WITH_NO_UNDEFINED_FALSE@NO_UNDEFINED =
522 @BUILD_WITH_NO_UNDEFINED_TRUE@NO_UNDEFINED = -no-undefined
523 @BUILD_WITH_NO_UNDEFINED_FALSE@MAYBE_CORE =
524 @BUILD_WITH_NO_UNDEFINED_TRUE@MAYBE_CORE = libevent_core.la
525 GENERIC_LDFLAGS = -version-info $(VERSION_INFO) $(RELEASE) $(NO_UNDEFINED)
526 libevent_la_SOURCES = $(CORE_SRC) $(EXTRA_SRC)
527 libevent_la_LIBADD = @LTLIBOBJS@ $(SYS_LIBS)
528 libevent_la_LDFLAGS = $(GENERIC_LDFLAGS)
529 libevent_core_la_SOURCES = $(CORE_SRC)
530 libevent_core_la_LIBADD = @LTLIBOBJS@ $(SYS_LIBS)
531 libevent_core_la_LDFLAGS = $(GENERIC_LDFLAGS)
532 @PTHREADS_TRUE@libevent_pthreads_la_SOURCES = evthread_pthread.c
533 @PTHREADS_TRUE@libevent_pthreads_la_LIBADD = $(MAYBE_CORE)
534 @PTHREADS_TRUE@libevent_pthreads_la_LDFLAGS = $(GENERIC_LDFLAGS)
535 libevent_extra_la_SOURCES = $(EXTRA_SRC)
536 libevent_extra_la_LIBADD = $(MAYBE_CORE) $(SYS_LIBS)
537 libevent_extra_la_LDFLAGS = $(GENERIC_LDFLAGS)
538 @OPENSSL_TRUE@libevent_openssl_la_SOURCES = bufferevent_openssl.c
539 @OPENSSL_TRUE@libevent_openssl_la_LIBADD = $(MAYBE_CORE) $(OPENSSL_LIBS)
540 @OPENSSL_TRUE@libevent_openssl_la_LDFLAGS = $(GENERIC_LDFLAGS)
541 noinst_HEADERS = util-internal.h mm-internal.h ipv6-internal.h \
542 evrpc-internal.h strlcpy-internal.h evbuffer-internal.h \
543 bufferevent-internal.h http-internal.h event-internal.h \
544 evthread-internal.h ht-internal.h defer-internal.h \
545 minheap-internal.h log-internal.h evsignal-internal.h \
546 evmap-internal.h changelist-internal.h iocp-internal.h \
547 ratelim-internal.h WIN32-Code/event2/event-config.h \
548 WIN32-Code/tree.h compat/sys/queue.h $(am__append_12)
549 EVENT1_HDRS = event.h evhttp.h evdns.h evrpc.h evutil.h
550 @INSTALL_LIBEVENT_TRUE@include_HEADERS = $(EVENT1_HDRS)
551 AM_CPPFLAGS = -I$(srcdir)/compat -I$(srcdir)/include -I./include $(SYS_INCLUDES)
552 DISTCLEANFILES = *~ libevent.pc ./include/event2/event-config.h
553 all: $(BUILT_SOURCES) config.h
554 $(MAKE) $(AM_MAKEFLAGS) all-recursive
557 .SUFFIXES: .c .lo .o .obj
560 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
562 case '$(am__configure_deps)' in \
564 echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
565 $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
570 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
571 $(am__cd) $(top_srcdir) && \
572 $(AUTOMAKE) --foreign Makefile
574 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
577 echo ' $(SHELL) ./config.status'; \
578 $(SHELL) ./config.status;; \
580 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
581 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
584 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
585 $(SHELL) ./config.status --recheck
587 $(top_srcdir)/configure: $(am__configure_deps)
588 $(am__cd) $(srcdir) && $(AUTOCONF)
589 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
590 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
591 $(am__aclocal_m4_deps):
594 @if test ! -f $@; then \
596 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
599 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
601 cd $(top_builddir) && $(SHELL) ./config.status config.h
602 $(srcdir)/config.h.in: $(am__configure_deps)
603 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
608 -rm -f config.h stamp-h1
609 libevent.pc: $(top_builddir)/config.status $(srcdir)/libevent.pc.in
610 cd $(top_builddir) && $(SHELL) ./config.status $@
611 libevent_openssl.pc: $(top_builddir)/config.status $(srcdir)/libevent_openssl.pc.in
612 cd $(top_builddir) && $(SHELL) ./config.status $@
613 libevent_pthreads.pc: $(top_builddir)/config.status $(srcdir)/libevent_pthreads.pc.in
614 cd $(top_builddir) && $(SHELL) ./config.status $@
615 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
617 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
618 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
619 list2=; for p in $$list; do \
620 if test -f $$p; then \
621 list2="$$list2 $$p"; \
624 test -z "$$list2" || { \
625 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
626 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
629 uninstall-libLTLIBRARIES:
631 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
632 for p in $$list; do \
634 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
635 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
638 clean-libLTLIBRARIES:
639 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
640 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
641 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
642 test "$$dir" != "$$p" || dir=.; \
643 echo "rm -f \"$${dir}/so_locations\""; \
644 rm -f "$${dir}/so_locations"; \
647 clean-noinstLTLIBRARIES:
648 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
649 @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
650 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
651 test "$$dir" != "$$p" || dir=.; \
652 echo "rm -f \"$${dir}/so_locations\""; \
653 rm -f "$${dir}/so_locations"; \
655 libevent.la: $(libevent_la_OBJECTS) $(libevent_la_DEPENDENCIES)
656 $(libevent_la_LINK) $(am_libevent_la_rpath) $(libevent_la_OBJECTS) $(libevent_la_LIBADD) $(LIBS)
657 libevent_core.la: $(libevent_core_la_OBJECTS) $(libevent_core_la_DEPENDENCIES)
658 $(libevent_core_la_LINK) $(am_libevent_core_la_rpath) $(libevent_core_la_OBJECTS) $(libevent_core_la_LIBADD) $(LIBS)
659 libevent_extra.la: $(libevent_extra_la_OBJECTS) $(libevent_extra_la_DEPENDENCIES)
660 $(libevent_extra_la_LINK) $(am_libevent_extra_la_rpath) $(libevent_extra_la_OBJECTS) $(libevent_extra_la_LIBADD) $(LIBS)
661 libevent_openssl.la: $(libevent_openssl_la_OBJECTS) $(libevent_openssl_la_DEPENDENCIES)
662 $(libevent_openssl_la_LINK) $(am_libevent_openssl_la_rpath) $(libevent_openssl_la_OBJECTS) $(libevent_openssl_la_LIBADD) $(LIBS)
663 libevent_pthreads.la: $(libevent_pthreads_la_OBJECTS) $(libevent_pthreads_la_DEPENDENCIES)
664 $(libevent_pthreads_la_LINK) $(am_libevent_pthreads_la_rpath) $(libevent_pthreads_la_OBJECTS) $(libevent_pthreads_la_LIBADD) $(LIBS)
665 install-dist_binSCRIPTS: $(dist_bin_SCRIPTS)
667 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
668 @list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || list=; \
669 for p in $$list; do \
670 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
671 if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
673 sed -e 'p;s,.*/,,;n' \
675 -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
676 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
677 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
678 if ($$2 == $$4) { files[d] = files[d] " " $$1; \
679 if (++n[d] == $(am__install_max)) { \
680 print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
681 else { print "f", d "/" $$4, $$1 } } \
682 END { for (d in files) print "f", d, files[d] }' | \
683 while read type dir files; do \
684 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
685 test -z "$$files" || { \
686 echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(bindir)$$dir'"; \
687 $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
691 uninstall-dist_binSCRIPTS:
693 @list='$(dist_bin_SCRIPTS)'; test -n "$(bindir)" || exit 0; \
694 files=`for p in $$list; do echo "$$p"; done | \
695 sed -e 's,.*/,,;$(transform)'`; \
696 test -n "$$list" || exit 0; \
697 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
698 cd "$(DESTDIR)$(bindir)" && rm -f $$files
706 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/epoll_sub.Plo@am__quote@
707 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/buffer.Plo@am__quote@
708 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/buffer_iocp.Plo@am__quote@
709 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bufferevent.Plo@am__quote@
710 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bufferevent_async.Plo@am__quote@
711 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bufferevent_filter.Plo@am__quote@
712 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bufferevent_openssl.Plo@am__quote@
713 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bufferevent_pair.Plo@am__quote@
714 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bufferevent_ratelim.Plo@am__quote@
715 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bufferevent_sock.Plo@am__quote@
716 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/devpoll.Plo@am__quote@
717 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/epoll.Plo@am__quote@
718 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evdns.Plo@am__quote@
719 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/event.Plo@am__quote@
720 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/event_iocp.Plo@am__quote@
721 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/event_tagging.Plo@am__quote@
722 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evmap.Plo@am__quote@
723 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evport.Plo@am__quote@
724 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evrpc.Plo@am__quote@
725 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evthread.Plo@am__quote@
726 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evthread_pthread.Plo@am__quote@
727 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evthread_win32.Plo@am__quote@
728 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evutil.Plo@am__quote@
729 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/evutil_rand.Plo@am__quote@
730 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/http.Plo@am__quote@
731 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/kqueue.Plo@am__quote@
732 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/listener.Plo@am__quote@
733 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/log.Plo@am__quote@
734 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/poll.Plo@am__quote@
735 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/select.Plo@am__quote@
736 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/signal.Plo@am__quote@
737 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/strlcpy.Plo@am__quote@
738 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/win32select.Plo@am__quote@
741 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
742 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
743 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
744 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
745 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
748 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
749 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
750 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
751 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
752 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
755 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
756 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
757 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
758 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
759 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
768 -rm -f libtool config.lt
769 install-pkgconfigDATA: $(pkgconfig_DATA)
771 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
772 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
773 for p in $$list; do \
774 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
776 done | $(am__base_list) | \
777 while read files; do \
778 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
779 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
782 uninstall-pkgconfigDATA:
784 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
785 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
786 test -n "$$files" || exit 0; \
787 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
788 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
789 install-includeHEADERS: $(include_HEADERS)
791 test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
792 @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
793 for p in $$list; do \
794 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
796 done | $(am__base_list) | \
797 while read files; do \
798 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
799 $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
802 uninstall-includeHEADERS:
804 @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
805 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
806 test -n "$$files" || exit 0; \
807 echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
808 cd "$(DESTDIR)$(includedir)" && rm -f $$files
810 # This directory's subdirectories are mostly independent; you can cd
811 # into them and run `make' without going through this Makefile.
812 # To change the values of `make' variables: instead of editing Makefiles,
813 # (1) if the variable is set in `config.status', edit `config.status'
814 # (which will cause the Makefiles to be regenerated when you run `make');
815 # (2) otherwise, pass the desired values on the `make' command line.
816 $(RECURSIVE_TARGETS):
817 @fail= failcom='exit 1'; \
818 for f in x $$MAKEFLAGS; do \
821 *k*) failcom='fail=yes';; \
825 target=`echo $@ | sed s/-recursive//`; \
826 list='$(SUBDIRS)'; for subdir in $$list; do \
827 echo "Making $$target in $$subdir"; \
828 if test "$$subdir" = "."; then \
830 local_target="$$target-am"; \
832 local_target="$$target"; \
834 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
837 if test "$$dot_seen" = "no"; then \
838 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
841 $(RECURSIVE_CLEAN_TARGETS):
842 @fail= failcom='exit 1'; \
843 for f in x $$MAKEFLAGS; do \
846 *k*) failcom='fail=yes';; \
851 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
852 *) list='$(SUBDIRS)' ;; \
854 rev=''; for subdir in $$list; do \
855 if test "$$subdir" = "."; then :; else \
856 rev="$$subdir $$rev"; \
860 target=`echo $@ | sed s/-recursive//`; \
861 for subdir in $$rev; do \
862 echo "Making $$target in $$subdir"; \
863 if test "$$subdir" = "."; then \
864 local_target="$$target-am"; \
866 local_target="$$target"; \
868 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
870 done && test -z "$$fail"
872 list='$(SUBDIRS)'; for subdir in $$list; do \
873 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
876 list='$(SUBDIRS)'; for subdir in $$list; do \
877 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
880 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
881 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
882 unique=`for i in $$list; do \
883 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
885 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
886 END { if (nonempty) { for (i in files) print i; }; }'`; \
890 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
891 $(TAGS_FILES) $(LISP)
894 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
895 include_option=--etags-include; \
898 include_option=--include; \
901 list='$(SUBDIRS)'; for subdir in $$list; do \
902 if test "$$subdir" = .; then :; else \
903 test ! -f $$subdir/TAGS || \
904 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
907 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
908 unique=`for i in $$list; do \
909 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
911 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
912 END { if (nonempty) { for (i in files) print i; }; }'`; \
914 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
915 test -n "$$unique" || unique=$$empty_fix; \
916 if test $$# -gt 0; then \
917 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
920 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
925 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
926 $(TAGS_FILES) $(LISP)
927 list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
928 unique=`for i in $$list; do \
929 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
931 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
932 END { if (nonempty) { for (i in files) print i; }; }'`; \
933 test -z "$(CTAGS_ARGS)$$unique" \
934 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
938 here=`$(am__cd) $(top_builddir) && pwd` \
939 && $(am__cd) $(top_srcdir) \
940 && gtags -i $(GTAGS_ARGS) "$$here"
943 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
945 distdir: $(DISTFILES)
946 $(am__remove_distdir)
947 test -d "$(distdir)" || mkdir "$(distdir)"
948 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
949 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
950 list='$(DISTFILES)'; \
951 dist_files=`for file in $$list; do echo $$file; done | \
952 sed -e "s|^$$srcdirstrip/||;t" \
953 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
954 case $$dist_files in \
955 */*) $(MKDIR_P) `echo "$$dist_files" | \
956 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
959 for file in $$dist_files; do \
960 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
961 if test -d $$d/$$file; then \
962 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
963 if test -d "$(distdir)/$$file"; then \
964 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
966 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
967 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
968 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
970 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
972 test -f "$(distdir)/$$file" \
973 || cp -p $$d/$$file "$(distdir)/$$file" \
977 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
978 if test "$$subdir" = .; then :; else \
979 test -d "$(distdir)/$$subdir" \
980 || $(MKDIR_P) "$(distdir)/$$subdir" \
984 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
985 if test "$$subdir" = .; then :; else \
986 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
988 new_distdir=$$reldir; \
989 dir1=$$subdir; dir2="$(top_distdir)"; \
991 new_top_distdir=$$reldir; \
992 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
993 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
994 ($(am__cd) $$subdir && \
995 $(MAKE) $(AM_MAKEFLAGS) \
996 top_distdir="$$new_top_distdir" \
997 distdir="$$new_distdir" \
998 am__remove_distdir=: \
999 am__skip_length_check=: \
1000 am__skip_mode_fix=: \
1005 -test -n "$(am__skip_mode_fix)" \
1006 || find "$(distdir)" -type d ! -perm -755 \
1007 -exec chmod u+rwx,go+rx {} \; -o \
1008 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1009 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1010 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1011 || chmod -R a+r "$(distdir)"
1013 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1014 $(am__remove_distdir)
1017 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
1018 $(am__remove_distdir)
1021 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
1022 $(am__remove_distdir)
1025 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
1026 $(am__remove_distdir)
1029 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1030 $(am__remove_distdir)
1033 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1034 $(am__remove_distdir)
1037 -rm -f $(distdir).zip
1038 zip -rq $(distdir).zip $(distdir)
1039 $(am__remove_distdir)
1041 dist dist-all: distdir
1042 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1043 $(am__remove_distdir)
1045 # This target untars the dist file and tries a VPATH configuration. Then
1046 # it guarantees that the distribution is self-contained by making another
1049 case '$(DIST_ARCHIVES)' in \
1051 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1053 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1055 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
1057 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1059 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1061 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1063 unzip $(distdir).zip ;;\
1065 chmod -R a-w $(distdir); chmod a+w $(distdir)
1066 mkdir $(distdir)/_build
1067 mkdir $(distdir)/_inst
1068 chmod a-w $(distdir)
1069 test -d $(distdir)/_build || exit 0; \
1070 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1071 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1073 && $(am__cd) $(distdir)/_build \
1074 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
1075 $(DISTCHECK_CONFIGURE_FLAGS) \
1076 && $(MAKE) $(AM_MAKEFLAGS) \
1077 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1078 && $(MAKE) $(AM_MAKEFLAGS) check \
1079 && $(MAKE) $(AM_MAKEFLAGS) install \
1080 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1081 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1082 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1083 distuninstallcheck \
1084 && chmod -R a-w "$$dc_install_base" \
1086 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1087 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1088 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1089 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1090 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1091 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1092 && rm -rf "$$dc_destdir" \
1093 && $(MAKE) $(AM_MAKEFLAGS) dist \
1094 && rm -rf $(DIST_ARCHIVES) \
1095 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1098 $(am__remove_distdir)
1099 @(echo "$(distdir) archives ready for distribution: "; \
1100 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1101 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1103 @$(am__cd) '$(distuninstallcheck_dir)' \
1104 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
1105 || { echo "ERROR: files left after uninstall:" ; \
1106 if test -n "$(DESTDIR)"; then \
1107 echo " (check DESTDIR support)"; \
1109 $(distuninstallcheck_listfiles) ; \
1111 distcleancheck: distclean
1112 @if test '$(srcdir)' = . ; then \
1113 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1116 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1117 || { echo "ERROR: files left in build directory after distclean:" ; \
1118 $(distcleancheck_listfiles) ; \
1121 check: $(BUILT_SOURCES)
1122 $(MAKE) $(AM_MAKEFLAGS) check-recursive
1123 all-am: Makefile $(LTLIBRARIES) $(SCRIPTS) $(DATA) $(HEADERS) config.h
1124 installdirs: installdirs-recursive
1126 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \
1127 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1129 install: $(BUILT_SOURCES)
1130 $(MAKE) $(AM_MAKEFLAGS) install-recursive
1131 install-exec: install-exec-recursive
1132 install-data: install-data-recursive
1133 uninstall: uninstall-recursive
1136 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1138 installcheck: installcheck-recursive
1140 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1141 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1142 `test -z '$(STRIP)' || \
1143 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1144 mostlyclean-generic:
1149 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1150 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1151 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1153 maintainer-clean-generic:
1154 @echo "This command is intended for maintainers to use"
1155 @echo "it deletes files that may require special tools to rebuild."
1156 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1157 clean: clean-recursive
1159 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
1160 clean-noinstLTLIBRARIES mostlyclean-am
1162 distclean: distclean-recursive
1163 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1164 -rm -rf $(DEPDIR) ./$(DEPDIR)
1166 distclean-am: clean-am distclean-compile distclean-generic \
1167 distclean-hdr distclean-libtool distclean-tags
1173 html: html-recursive
1177 info: info-recursive
1181 install-data-am: install-includeHEADERS install-pkgconfigDATA
1183 install-dvi: install-dvi-recursive
1187 install-exec-am: install-dist_binSCRIPTS install-libLTLIBRARIES
1189 install-html: install-html-recursive
1193 install-info: install-info-recursive
1199 install-pdf: install-pdf-recursive
1203 install-ps: install-ps-recursive
1209 maintainer-clean: maintainer-clean-recursive
1210 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1211 -rm -rf $(top_srcdir)/autom4te.cache
1212 -rm -rf $(DEPDIR) ./$(DEPDIR)
1214 maintainer-clean-am: distclean-am maintainer-clean-generic
1216 mostlyclean: mostlyclean-recursive
1218 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1229 uninstall-am: uninstall-dist_binSCRIPTS uninstall-includeHEADERS \
1230 uninstall-libLTLIBRARIES uninstall-pkgconfigDATA
1232 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
1233 ctags-recursive install install-am install-strip \
1236 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1237 all all-am am--refresh check check-am clean clean-generic \
1238 clean-libLTLIBRARIES clean-libtool clean-noinstLTLIBRARIES \
1239 ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
1240 dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
1241 distclean distclean-compile distclean-generic distclean-hdr \
1242 distclean-libtool distclean-tags distcleancheck distdir \
1243 distuninstallcheck dvi dvi-am html html-am info info-am \
1244 install install-am install-data install-data-am \
1245 install-dist_binSCRIPTS install-dvi install-dvi-am \
1246 install-exec install-exec-am install-html install-html-am \
1247 install-includeHEADERS install-info install-info-am \
1248 install-libLTLIBRARIES install-man install-pdf install-pdf-am \
1249 install-pkgconfigDATA install-ps install-ps-am install-strip \
1250 installcheck installcheck-am installdirs installdirs-am \
1251 maintainer-clean maintainer-clean-generic mostlyclean \
1252 mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1253 pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
1254 uninstall-dist_binSCRIPTS uninstall-includeHEADERS \
1255 uninstall-libLTLIBRARIES uninstall-pkgconfigDATA
1258 ./include/event2/event-config.h: config.h
1259 @MKDIR_P@ ./include/event2
1260 echo '/* event2/event-config.h' > $@
1262 echo ' * This file was generated by autoconf when libevent was built, and post-' >> $@
1263 echo ' * processed by Libevent so that its macros would have a uniform prefix.' >> $@
1265 echo ' * DO NOT EDIT THIS FILE.' >> $@
1267 echo ' * Do not rely on macros in this file existing in later versions.'>> $@
1269 echo '#ifndef _EVENT2_EVENT_CONFIG_H_' >> $@
1270 echo '#define _EVENT2_EVENT_CONFIG_H_' >> $@
1272 sed -e 's/#define /#define _EVENT_/' \
1273 -e 's/#undef /#undef _EVENT_/' \
1274 -e 's/#ifndef /#ifndef _EVENT_/' < config.h >> $@
1280 doxygen $(srcdir)/Doxyfile
1283 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1284 # Otherwise a system limit (for SysV at least) may be exceeded.