1# sample/Makefile.am for libevent 2# Copyright 2000-2007 Niels Provos 3# Copyright 2007-2012 Niels Provos and Nick Mathewson 4# 5# See LICENSE for copying information. 6 7AUTOMAKE_OPTIONS = foreign no-dependencies 8 9LDADD = $(LIBEVENT_GC_SECTIONS) ../libevent.la 10AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat -I$(top_srcdir)/include -I../include 11 12noinst_PROGRAMS = event-test time-test signal-test dns-example hello-world http-server 13 14event_test_SOURCES = event-test.c 15time_test_SOURCES = time-test.c 16signal_test_SOURCES = signal-test.c 17dns_example_SOURCES = dns-example.c 18hello_world_SOURCES = hello-world.c 19http_server_SOURCES = http-server.c 20 21if OPENSSL 22noinst_PROGRAMS += le-proxy 23le_proxy_SOURCES = le-proxy.c 24le_proxy_LDADD = $(LDADD) ../libevent_openssl.la -lssl -lcrypto ${OPENSSL_LIBADD} 25endif 26 27verify: 28 29DISTCLEANFILES = *~ 30