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