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