Annotation of embedaddon/libevent/Makefile.am, revision 1.1.1.1

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>