1275970Scy# include/Makefile.am for libevent
2275970Scy# Copyright 2000-2007 Niels Provos
3275970Scy# Copyright 2007-2012 Niels Provos and Nick Mathewson
4275970Scy#
5275970Scy# See LICENSE for copying information.
6275970Scy
7275970Scyinclude_event2dir = $(includedir)/event2
8275970Scy
9275970ScyEVENT2_EXPORT = \
10275970Scy	include/event2/buffer.h \
11275970Scy	include/event2/buffer_compat.h \
12275970Scy	include/event2/bufferevent.h \
13275970Scy	include/event2/bufferevent_compat.h \
14275970Scy	include/event2/bufferevent_ssl.h \
15275970Scy	include/event2/bufferevent_struct.h \
16275970Scy	include/event2/dns.h \
17275970Scy	include/event2/dns_compat.h \
18275970Scy	include/event2/dns_struct.h \
19275970Scy	include/event2/event.h \
20275970Scy	include/event2/event_compat.h \
21275970Scy	include/event2/event_struct.h \
22275970Scy	include/event2/http.h \
23275970Scy	include/event2/http_compat.h \
24275970Scy	include/event2/http_struct.h \
25275970Scy	include/event2/keyvalq_struct.h \
26275970Scy	include/event2/listener.h \
27275970Scy	include/event2/rpc.h \
28275970Scy	include/event2/rpc_compat.h \
29275970Scy	include/event2/rpc_struct.h \
30275970Scy	include/event2/tag.h \
31275970Scy	include/event2/tag_compat.h \
32275970Scy	include/event2/thread.h \
33275970Scy	include/event2/util.h \
34275970Scy	include/event2/visibility.h
35275970Scy
36275970Scy## Without the nobase_ prefixing, Automake would strip "include/event2/" from
37275970Scy## the source header filename to derive the installed header filename.
38275970Scy## With nobase_ the installed path is $(includedir)/include/event2/ev*.h.
39275970Scy
40275970Scyif INSTALL_LIBEVENT
41275970Scyinclude_event2_HEADERS =	$(EVENT2_EXPORT)
42275970Scynodist_include_event2_HEADERS = include/event2/event-config.h
43275970Scyelse
44275970Scynoinst_HEADERS +=		$(EVENT2_EXPORT)
45275970Scynodist_noinst_HEADERS =		include/event2/event-config.h
46275970Scyendif
47