1 AUTOMAKE_OPTIONS = foreign no-dependencies
3 # This is the point release for libevent. It shouldn't include any
7 # This is the version info for the libevent binary API. It has three
9 # Current -- the number of the binary API that we're implementing
10 # Revision -- which iteration of the implementation of the binary
11 # API are we supplying?
12 # Age -- How many previous binary API versions do we also
15 # If we release a new version that does not change the binary API,
18 # If we release a new version that changes the binary API, but does
19 # not break programs compiled against the old binary API, increment
20 # Current and Age. Set Revision to 0, since this is the first
21 # implementation of the new API.
23 # Otherwise, we're changing the binary API and breaking bakward
24 # compatibility with old binaries. Increment Current. Set Age to 0,
25 # since we're backward compatible with no previous APIs. Set Revision
29 # Libevent 1.4.1 was 2:0:0
30 # Libevent 1.4.2 should be 3:0:0
31 # Libevent 1.4.5 is 3:0:1 (we forgot to increment in the past)
34 bin_SCRIPTS = event_rpcgen.py
36 EXTRA_DIST = autogen.sh event.h event-internal.h log.h evsignal.h evdns.3 \
37 evrpc.h evrpc-internal.h min_heap.h \
40 kqueue.c epoll_sub.c epoll.c select.c poll.c signal.c \
41 evport.c devpoll.c event_rpcgen.py \
42 sample/Makefile.am sample/Makefile.in sample/event-test.c \
43 sample/signal-test.c sample/time-test.c \
44 test/Makefile.am test/Makefile.in test/bench.c test/regress.c \
45 test/test-eof.c test/test-weof.c test/test-time.c \
46 test/test-init.c test/test.sh \
47 compat/sys/queue.h compat/sys/_libevent_time.h \
49 WIN32-Code/event-config.h \
52 WIN32-Prj/event_test/event_test.dsp \
53 WIN32-Prj/event_test/test.txt WIN32-Prj/libevent.dsp \
54 WIN32-Prj/libevent.dsw WIN32-Prj/signal_test/signal_test.dsp \
55 WIN32-Prj/time_test/time_test.dsp WIN32-Prj/regress/regress.vcproj \
56 WIN32-Prj/libevent.sln WIN32-Prj/libevent.vcproj
58 lib_LTLIBRARIES = libevent.la libevent_core.la libevent_extra.la
64 SYS_SRC = WIN32-Code/win32.c
65 SYS_INCLUDES = -IWIN32-Code
69 SUBDIRS = . sample test
76 BUILT_SOURCES = event-config.h
78 event-config.h: config.h
79 echo '/* event-config.h' > $@
80 echo ' * Generated by autoconf; post-processed by libevent.' >> $@
81 echo ' * Do not edit this file.' >> $@
82 echo ' * Do not rely on macros in this file existing in later versions.'>> $@
84 echo '#ifndef _EVENT_CONFIG_H_' >> $@
85 echo '#define _EVENT_CONFIG_H_' >> $@
87 sed -e 's/#define /#define _EVENT_/' \
88 -e 's/#undef /#undef _EVENT_/' \
89 -e 's/#ifndef /#ifndef _EVENT_/' < config.h >> $@
92 CORE_SRC = event.c buffer.c evbuffer.c log.c evutil.c $(SYS_SRC)
93 EXTRA_SRC = event_tagging.c http.c evhttp.h http-internal.h evdns.c \
94 evdns.h evrpc.c evrpc.h evrpc-internal.h \
95 strlcpy.c strlcpy-internal.h strlcpy-internal.h
97 libevent_la_SOURCES = $(CORE_SRC) $(EXTRA_SRC)
98 libevent_la_LIBADD = @LTLIBOBJS@ $(SYS_LIBS)
99 libevent_la_LDFLAGS = -release $(RELEASE) -version-info $(VERSION_INFO)
101 libevent_core_la_SOURCES = $(CORE_SRC)
102 libevent_core_la_LIBADD = @LTLIBOBJS@ $(SYS_LIBS)
103 libevent_core_la_LDFLAGS = -release $(RELEASE) -version-info $(VERSION_INFO)
105 libevent_extra_la_SOURCES = $(EXTRA_SRC)
106 libevent_extra_la_LIBADD = @LTLIBOBJS@ $(SYS_LIBS)
107 libevent_extra_la_LDFLAGS = -release $(RELEASE) -version-info $(VERSION_INFO)
109 include_HEADERS = event.h evhttp.h evdns.h evrpc.h evutil.h
111 nodist_include_HEADERS = event-config.h
113 INCLUDES = -I$(srcdir)/compat $(SYS_INCLUDES)
115 man_MANS = event.3 evdns.3
118 cd test && make verify
121 doxygen $(srcdir)/Doxyfile
124 DISTCLEANFILES = *~ event-config.h