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 \
17 SAMPLES += sample/le-proxy
18 sample_le_proxy_SOURCES = sample/le-proxy.c
19 sample_le_proxy_LDADD = libevent.la libevent_openssl.la $(OPENSSL_LIBS) $(OPENSSL_LIBADD)
20 sample_le_proxy_CPPFLAGS = $(AM_CPPFLAGS) $(OPENSSL_INCS)
22 SAMPLES += sample/https-client
23 sample_https_client_SOURCES = \
24 sample/https-client.c \
26 sample/openssl_hostname_validation.c
27 sample_https_client_LDADD = libevent.la libevent_openssl.la $(OPENSSL_LIBS) $(OPENSSL_LIBADD)
28 sample_https_client_CPPFLAGS = $(AM_CPPFLAGS) $(OPENSSL_INCS)
31 sample/openssl_hostname_validation.h
35 noinst_PROGRAMS += $(SAMPLES)
38 $(SAMPLES) : libevent.la
40 sample_event_read_fifo_SOURCES = sample/event-read-fifo.c
41 sample_event_read_fifo_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
42 sample_time_test_SOURCES = sample/time-test.c
43 sample_time_test_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
44 sample_signal_test_SOURCES = sample/signal-test.c
45 sample_signal_test_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
46 sample_dns_example_SOURCES = sample/dns-example.c
47 sample_dns_example_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
48 sample_hello_world_SOURCES = sample/hello-world.c
49 sample_hello_world_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
50 sample_http_server_SOURCES = sample/http-server.c
51 sample_http_server_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la
52 sample_http_connect_SOURCES = sample/http-connect.c
53 sample_http_connect_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la