1 # sample/include.am for libevent
2 # Copyright 2000-2007 Niels Provos
3 # Copyright 2007-2012 Niels Provos and Nick Mathewson
5 # See LICENSE for copying information.
9 sample/event-read-fifo \
16 SAMPLES += sample/le-proxy
17 sample_le_proxy_SOURCES = sample/le-proxy.c
18 sample_le_proxy_LDADD = libevent.la libevent_openssl.la ${OPENSSL_LIBS} ${OPENSSL_LIBADD}
19 sample_le_proxy_INCLUDES = $(OPENSSL_INCS)
21 SAMPLES += sample/https-client
22 sample_https_client_SOURCES = \
23 sample/https-client.c \
25 sample/openssl_hostname_validation.c
26 sample_https_client_LDADD = libevent.la libevent_openssl.la ${OPENSSL_LIBS} ${OPENSSL_LIBADD}
27 sample_https_client_INCLUDES = $(OPENSSL_INCS)
30 sample/openssl_hostname_validation.h
34 noinst_PROGRAMS += $(SAMPLES)
37 $(SAMPLES) : libevent.la
39 sample_event_read_fifo_SOURCES = sample/event-read-fifo.c
40 sample_event_read_fifo_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
41 sample_time_test_SOURCES = sample/time-test.c
42 sample_time_test_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
43 sample_signal_test_SOURCES = sample/signal-test.c
44 sample_signal_test_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
45 sample_dns_example_SOURCES = sample/dns-example.c
46 sample_dns_example_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
47 sample_hello_world_SOURCES = sample/hello-world.c
48 sample_hello_world_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
49 sample_http_server_SOURCES = sample/http-server.c
50 sample_http_server_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la