| OLD | NEW |
| (Empty) |
| 1 AUTOMAKE_OPTIONS = foreign no-dependencies | |
| 2 | |
| 3 ACLOCAL_AMFLAGS = -I m4 | |
| 4 | |
| 5 # This is the point release for libevent. It shouldn't include any | |
| 6 # a/b/c/d/e notations. | |
| 7 RELEASE = 1.4 | |
| 8 | |
| 9 # This is the version info for the libevent binary API. It has three | |
| 10 # numbers: | |
| 11 # Current -- the number of the binary API that we're implementing | |
| 12 # Revision -- which iteration of the implementation of the binary | |
| 13 # API are we supplying? | |
| 14 # Age -- How many previous binary API versions do we also | |
| 15 # support? | |
| 16 # | |
| 17 # If we release a new version that does not change the binary API, | |
| 18 # increment Revision. | |
| 19 # | |
| 20 # If we release a new version that changes the binary API, but does | |
| 21 # not break programs compiled against the old binary API, increment | |
| 22 # Current and Age. Set Revision to 0, since this is the first | |
| 23 # implementation of the new API. | |
| 24 # | |
| 25 # Otherwise, we're changing the binary API and breaking bakward | |
| 26 # compatibility with old binaries. Increment Current. Set Age to 0, | |
| 27 # since we're backward compatible with no previous APIs. Set Revision | |
| 28 # to 0 too. | |
| 29 VERSION_INFO = 4:1:2 | |
| 30 | |
| 31 ### | |
| 32 # History: | |
| 33 # We started using Libtool around version 1.0d. For all versions from | |
| 34 # 1.0d through 1.3e, we set RELEASE to the version name, and | |
| 35 # VERSION_INFO to something haphazard. The didn't matter, since | |
| 36 # setting RELEASE meant that no version of Libevent was treated as | |
| 37 # binary-compatible with any other version. | |
| 38 # | |
| 39 # As of 1.4.0-beta, we set RELEASE to "1.4", so that releases in the | |
| 40 # 1.4.x series could be potentially binary-compatible with one another, | |
| 41 # but not with any other series. (They aren't.) We didn't necessarily | |
| 42 # set VERSION_INFO correctly, or update it as often as we should have. | |
| 43 # The VERSION_INFO values were: | |
| 44 # 1.4.0-beta .. 1.4.4-stable : 2:0:0 [See note 1] | |
| 45 # 1.4.5-stable : 3:0:1 (compatible ABI change) | |
| 46 # 1.4.6-stable : 3:1:1 (no ABI change) | |
| 47 # 1.4.7-stable : 3:1:1 [see note 1] | |
| 48 # 1.4.8-stable : 3:2:1 (no ABI change) | |
| 49 # 1.4.9-stable : 3:2:1 [see note 1] | |
| 50 # 1.4.10-stable : 3:3:1 (no ABI change) | |
| 51 # 1.4.11-stable .. 1.4.13-stable : 3:3:1 [see note 1] | |
| 52 # 1.4.14a-stable: : 3:3:2 [see note 2] | |
| 53 # 1.4.14b-stable: : 4:0:2 (compatible ABI change) | |
| 54 # 1.4.15-stable: : 4:1:2 (no ABI change) | |
| 55 # | |
| 56 # [1]: Using the same VERSION_INFO value was wrong; we should have been | |
| 57 # updating the Revision field. | |
| 58 # [2]: We set the VERSION_INFO completely wrong on 1.4.14b-stable | |
| 59 | |
| 60 bin_SCRIPTS = event_rpcgen.py | |
| 61 | |
| 62 EXTRA_DIST = autogen.sh event.h event-internal.h log.h evsignal.h evdns.3 \ | |
| 63 evrpc.h evrpc-internal.h min_heap.h \ | |
| 64 event.3 \ | |
| 65 Doxyfile \ | |
| 66 kqueue.c epoll_sub.c epoll.c select.c poll.c signal.c \ | |
| 67 evport.c devpoll.c event_rpcgen.py \ | |
| 68 sample/Makefile.am sample/Makefile.in sample/event-test.c \ | |
| 69 sample/signal-test.c sample/time-test.c \ | |
| 70 test/Makefile.am test/Makefile.in test/bench.c test/regress.c \ | |
| 71 test/test-eof.c test/test-weof.c test/test-time.c \ | |
| 72 test/test-init.c test/test.sh \ | |
| 73 compat/sys/queue.h compat/sys/_libevent_time.h \ | |
| 74 WIN32-Code/config.h \ | |
| 75 WIN32-Code/event-config.h \ | |
| 76 WIN32-Code/win32.c \ | |
| 77 WIN32-Code/tree.h \ | |
| 78 WIN32-Prj/event_test/event_test.dsp \ | |
| 79 WIN32-Prj/event_test/test.txt WIN32-Prj/libevent.dsp \ | |
| 80 WIN32-Prj/libevent.dsw WIN32-Prj/signal_test/signal_test.dsp \ | |
| 81 WIN32-Prj/time_test/time_test.dsp WIN32-Prj/regress/regress.vcproj \ | |
| 82 WIN32-Prj/libevent.sln WIN32-Prj/libevent.vcproj \ | |
| 83 Makefile.nmake test/Makefile.nmake \ | |
| 84 LICENSE | |
| 85 | |
| 86 lib_LTLIBRARIES = libevent.la libevent_core.la libevent_extra.la | |
| 87 | |
| 88 if BUILD_WIN32 | |
| 89 | |
| 90 SUBDIRS = . sample | |
| 91 SYS_LIBS = -lws2_32 | |
| 92 SYS_SRC = WIN32-Code/win32.c | |
| 93 SYS_INCLUDES = -IWIN32-Code | |
| 94 | |
| 95 else | |
| 96 | |
| 97 SUBDIRS = . sample test | |
| 98 SYS_LIBS = | |
| 99 SYS_SRC = | |
| 100 SYS_INCLUDES = | |
| 101 | |
| 102 endif | |
| 103 | |
| 104 BUILT_SOURCES = event-config.h | |
| 105 | |
| 106 event-config.h: config.h | |
| 107 echo '/* event-config.h' > $@ | |
| 108 echo ' * Generated by autoconf; post-processed by libevent.' >> $@ | |
| 109 echo ' * Do not edit this file.' >> $@ | |
| 110 echo ' * Do not rely on macros in this file existing in later versions.'
>> $@ | |
| 111 echo ' */' >> $@ | |
| 112 echo '#ifndef _EVENT_CONFIG_H_' >> $@ | |
| 113 echo '#define _EVENT_CONFIG_H_' >> $@ | |
| 114 | |
| 115 sed -e 's/#define /#define _EVENT_/' \ | |
| 116 -e 's/#undef /#undef _EVENT_/' \ | |
| 117 -e 's/#ifndef /#ifndef _EVENT_/' < config.h >> $@ | |
| 118 echo "#endif" >> $@ | |
| 119 | |
| 120 CORE_SRC = event.c buffer.c evbuffer.c log.c evutil.c $(SYS_SRC) | |
| 121 EXTRA_SRC = event_tagging.c http.c evhttp.h http-internal.h evdns.c \ | |
| 122 evdns.h evrpc.c evrpc.h evrpc-internal.h \ | |
| 123 strlcpy.c strlcpy-internal.h strlcpy-internal.h | |
| 124 | |
| 125 libevent_la_SOURCES = $(CORE_SRC) $(EXTRA_SRC) | |
| 126 libevent_la_LIBADD = @LTLIBOBJS@ $(SYS_LIBS) | |
| 127 libevent_la_LDFLAGS = -release $(RELEASE) -version-info $(VERSION_INFO) | |
| 128 | |
| 129 libevent_core_la_SOURCES = $(CORE_SRC) | |
| 130 libevent_core_la_LIBADD = @LTLIBOBJS@ $(SYS_LIBS) | |
| 131 libevent_core_la_LDFLAGS = -release $(RELEASE) -version-info $(VERSION_INFO) | |
| 132 | |
| 133 libevent_extra_la_SOURCES = $(EXTRA_SRC) | |
| 134 libevent_extra_la_LIBADD = @LTLIBOBJS@ $(SYS_LIBS) | |
| 135 libevent_extra_la_LDFLAGS = -release $(RELEASE) -version-info $(VERSION_INFO) | |
| 136 | |
| 137 include_HEADERS = event.h evhttp.h evdns.h evrpc.h evutil.h | |
| 138 | |
| 139 nodist_include_HEADERS = event-config.h | |
| 140 | |
| 141 INCLUDES = -I$(srcdir)/compat $(SYS_INCLUDES) | |
| 142 | |
| 143 man_MANS = event.3 evdns.3 | |
| 144 | |
| 145 verify: libevent.la | |
| 146 cd test && make verify | |
| 147 | |
| 148 doxygen: FORCE | |
| 149 doxygen $(srcdir)/Doxyfile | |
| 150 FORCE: | |
| 151 | |
| 152 DISTCLEANFILES = *~ event-config.h | |
| OLD | NEW |