xref: /freebsd/contrib/libevent/include/include.am (revision b50261e21f39a6c7249a49e7b60aa878c98512a8)
1*b50261e2SCy Schubert# include/include.am for libevent
2c43e99fdSEd Maste# Copyright 2000-2007 Niels Provos
3c43e99fdSEd Maste# Copyright 2007-2012 Niels Provos and Nick Mathewson
4c43e99fdSEd Maste#
5c43e99fdSEd Maste# See LICENSE for copying information.
6c43e99fdSEd Maste
7c43e99fdSEd Masteinclude_event2dir = $(includedir)/event2
8c43e99fdSEd Maste
9c43e99fdSEd MasteEVENT2_EXPORT = \
10c43e99fdSEd Maste	include/event2/buffer.h \
11c43e99fdSEd Maste	include/event2/buffer_compat.h \
12c43e99fdSEd Maste	include/event2/bufferevent.h \
13c43e99fdSEd Maste	include/event2/bufferevent_compat.h \
14c43e99fdSEd Maste	include/event2/bufferevent_struct.h \
15c43e99fdSEd Maste	include/event2/dns.h \
16c43e99fdSEd Maste	include/event2/dns_compat.h \
17c43e99fdSEd Maste	include/event2/dns_struct.h \
18c43e99fdSEd Maste	include/event2/event.h \
19c43e99fdSEd Maste	include/event2/event_compat.h \
20c43e99fdSEd Maste	include/event2/event_struct.h \
21c43e99fdSEd Maste	include/event2/http.h \
22c43e99fdSEd Maste	include/event2/http_compat.h \
23c43e99fdSEd Maste	include/event2/http_struct.h \
24c43e99fdSEd Maste	include/event2/keyvalq_struct.h \
25c43e99fdSEd Maste	include/event2/listener.h \
26c43e99fdSEd Maste	include/event2/rpc.h \
27c43e99fdSEd Maste	include/event2/rpc_compat.h \
28c43e99fdSEd Maste	include/event2/rpc_struct.h \
29c43e99fdSEd Maste	include/event2/tag.h \
30c43e99fdSEd Maste	include/event2/tag_compat.h \
31c43e99fdSEd Maste	include/event2/thread.h \
32c43e99fdSEd Maste	include/event2/util.h \
33c43e99fdSEd Maste	include/event2/visibility.h
34c43e99fdSEd Maste
35*b50261e2SCy Schubertif OPENSSL
36*b50261e2SCy SchubertEVENT2_EXPORT += include/event2/bufferevent_ssl.h
37*b50261e2SCy Schubertendif
38*b50261e2SCy Schubert
39c43e99fdSEd Maste## Without the nobase_ prefixing, Automake would strip "include/event2/" from
40c43e99fdSEd Maste## the source header filename to derive the installed header filename.
41c43e99fdSEd Maste## With nobase_ the installed path is $(includedir)/include/event2/ev*.h.
42c43e99fdSEd Maste
43c43e99fdSEd Masteif INSTALL_LIBEVENT
44c43e99fdSEd Masteinclude_event2_HEADERS =	$(EVENT2_EXPORT)
45c43e99fdSEd Mastenodist_include_event2_HEADERS = include/event2/event-config.h
46c43e99fdSEd Masteelse
47c43e99fdSEd Mastenoinst_HEADERS +=		$(EVENT2_EXPORT)
48c43e99fdSEd Mastenodist_noinst_HEADERS =		include/event2/event-config.h
49c43e99fdSEd Masteendif
50