mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
a5b370a220
Treat it as an example of reading from a named pipe, not an initial teaching tool.
31 lines
879 B
Makefile
31 lines
879 B
Makefile
# sample/Makefile.am for libevent
|
|
# Copyright 2000-2007 Niels Provos
|
|
# Copyright 2007-2012 Niels Provos and Nick Mathewson
|
|
#
|
|
# See LICENSE for copying information.
|
|
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
|
|
LDADD = $(LIBEVENT_GC_SECTIONS) ../libevent.la
|
|
AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/compat -I$(top_srcdir)/include -I../include
|
|
|
|
noinst_PROGRAMS = event-read-fifo time-test signal-test dns-example hello-world http-server
|
|
|
|
event_read_fifo_SOURCES = event-read-fifo.c
|
|
time_test_SOURCES = time-test.c
|
|
signal_test_SOURCES = signal-test.c
|
|
dns_example_SOURCES = dns-example.c
|
|
hello_world_SOURCES = hello-world.c
|
|
http_server_SOURCES = http-server.c
|
|
|
|
if OPENSSL
|
|
AM_CPPFLAGS += $(OPENSSL_INCS)
|
|
noinst_PROGRAMS += le-proxy
|
|
le_proxy_SOURCES = le-proxy.c
|
|
le_proxy_LDADD = $(LDADD) ../libevent_openssl.la -lssl -lcrypto ${OPENSSL_LIBADD}
|
|
endif
|
|
|
|
verify:
|
|
|
|
DISTCLEANFILES = *~
|