Edit

kc3-lang/libevent/sample/Makefile.am

Branch :

  • Show log

    Commit

  • Author : Nick Mathewson
    Date : 2009-07-28 04:03:57
    Hash : 709c21c4
    Message : Bufferevent support for openssl. This code adds a new Bufferevent type that is only compiled when the openssl library is present. It supports using an SSL object and an event alert mechanism, which can either be an fd or an underlying bufferevent. There is still more work to do: the unit tests are incomplete, and we need to support flush and shutdown much better. Sometimes events are generated needlessly: this will hose performance. There's a new encrypting proxy in sample/le-proxy.c. This code has only been tested on OSX, and nowhere else. svn:r1382

  • sample/Makefile.am
  • AUTOMAKE_OPTIONS = foreign no-dependencies
    
    LDADD = ../libevent.la
    AM_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat -I$(top_srcdir)/include
    
    noinst_PROGRAMS = event-test time-test signal-test
    
    event_test_sources = event-test.c
    time_test_sources = time-test.c
    signal_test_sources = signal-test.c
    
    if OPENSSL
    noinst_PROGRAMS += le-proxy
    le_proxy_sources = le-proxy.c
    le_proxy_LDADD = $(LDADD) ../libevent_openssl.la -lcrypto -lssl
    endif
    
    verify:
    
    DISTCLEANFILES = *~