xref: /freebsd/contrib/libevent/include/include.am (revision e043f37205ffbde5627ff299ad25cd532f2956f0)
1# include/include.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
7include_event2dir = $(includedir)/event2
8
9EVENT2_EXPORT = \
10	include/event2/buffer.h \
11	include/event2/buffer_compat.h \
12	include/event2/bufferevent.h \
13	include/event2/bufferevent_compat.h \
14	include/event2/bufferevent_struct.h \
15	include/event2/dns.h \
16	include/event2/dns_compat.h \
17	include/event2/dns_struct.h \
18	include/event2/event.h \
19	include/event2/event_compat.h \
20	include/event2/event_struct.h \
21	include/event2/http.h \
22	include/event2/http_compat.h \
23	include/event2/http_struct.h \
24	include/event2/keyvalq_struct.h \
25	include/event2/listener.h \
26	include/event2/rpc.h \
27	include/event2/rpc_compat.h \
28	include/event2/rpc_struct.h \
29	include/event2/tag.h \
30	include/event2/tag_compat.h \
31	include/event2/thread.h \
32	include/event2/util.h \
33	include/event2/visibility.h
34
35if OPENSSL
36EVENT2_EXPORT += include/event2/bufferevent_ssl.h
37endif
38
39## Without the nobase_ prefixing, Automake would strip "include/event2/" from
40## the source header filename to derive the installed header filename.
41## With nobase_ the installed path is $(includedir)/include/event2/ev*.h.
42
43if INSTALL_LIBEVENT
44include_event2_HEADERS =	$(EVENT2_EXPORT)
45nodist_include_event2_HEADERS = include/event2/event-config.h
46else
47noinst_HEADERS +=		$(EVENT2_EXPORT)
48nodist_noinst_HEADERS =		include/event2/event-config.h
49endif
50