blob: 5153db27cf49ac4d2422253f68fc77da7e6f40c0 [file] [log] [blame]
Austin Schuha2733762015-09-06 17:46:50 -07001# include/Makefile.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
7AUTOMAKE_OPTIONS = foreign
8
9EVENT2_EXPORT = \
10 event2/buffer.h \
11 event2/buffer_compat.h \
12 event2/bufferevent.h \
13 event2/bufferevent_compat.h \
14 event2/bufferevent_ssl.h \
15 event2/bufferevent_struct.h \
16 event2/dns.h \
17 event2/dns_compat.h \
18 event2/dns_struct.h \
19 event2/event.h \
20 event2/event_compat.h \
21 event2/event_struct.h \
22 event2/http.h \
23 event2/http_compat.h \
24 event2/http_struct.h \
25 event2/keyvalq_struct.h \
26 event2/listener.h \
27 event2/rpc.h \
28 event2/rpc_compat.h \
29 event2/rpc_struct.h \
30 event2/tag.h \
31 event2/tag_compat.h \
32 event2/thread.h \
33 event2/util.h
34
35EXTRA_SRC = $(EVENT2_EXPORT)
36
37## Without the nobase_ prefixing, Automake would strip "event2/" from
38## the source header filename to derive the installed header filename.
39## With nobase_ the installed path is $(includedir)/event2/ev*.h.
40
41if INSTALL_LIBEVENT
42nobase_include_HEADERS = $(EVENT2_EXPORT)
43nobase_nodist_include_HEADERS = ./event2/event-config.h
44else
45noinst_HEADERS = $(EVENT2_EXPORT)
46nodist_noinst_HEADERS = ./event2/event-config.h
47endif