diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-08-28 16:01:14 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-08-28 16:01:14 -0400 |
commit | 6cdfeebebc6d4672e2a99a1e4641ebdcfec2d43e (patch) | |
tree | fa01d239fc57f5add1b46a89ac8cbfee31ce81c4 /sample/include.am | |
parent | 7092f3b6774d02bc8dbb1136660c23685cadef6c (diff) | |
download | libevent-6cdfeebebc6d4672e2a99a1e4641ebdcfec2d43e.tar.gz |
Rename subordinate Makefile.ams to include.am
Diffstat (limited to 'sample/include.am')
-rw-r--r-- | sample/include.am | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sample/include.am b/sample/include.am new file mode 100644 index 00000000..ba1dfa21 --- /dev/null +++ b/sample/include.am @@ -0,0 +1,40 @@ +# sample/Makefile.am for libevent +# Copyright 2000-2007 Niels Provos +# Copyright 2007-2012 Niels Provos and Nick Mathewson +# +# See LICENSE for copying information. + +SAMPLES = \ + sample/dns-example \ + sample/event-read-fifo \ + sample/hello-world \ + sample/http-server \ + sample/signal-test \ + sample/time-test + +if OPENSSL +SAMPLES += sample/le-proxy +sample_le_proxy_SOURCES = sample/le-proxy.c +sample_le_proxy_LDADD = libevent.la libevent_openssl.la -lssl -lcrypto ${OPENSSL_LIBADD} +sample_le_proxy_INCLUDES = $(OPENSSL_INCS) +endif + +noinst_PROGRAMS += $(SAMPLES) + +$(SAMPLES) : libevent.la + +sample_event_read_fifo_SOURCES = sample/event-read-fifo.c +sample_event_read_fifo_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la +sample_time_test_SOURCES = sample/time-test.c +sample_time_test_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la +sample_signal_test_SOURCES = sample/signal-test.c +sample_signal_test_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la +sample_dns_example_SOURCES = sample/dns-example.c +sample_dns_example_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la +sample_hello_world_SOURCES = sample/hello-world.c +sample_hello_world_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la +sample_http_server_SOURCES = sample/http-server.c +sample_http_server_LDADD = $(LIBEVENT_GC_SECTIONS) libevent.la + + + |