Home | History | Annotate | Download | only in include
      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 AUTOMAKE_OPTIONS = foreign
      8 
      9 EVENT2_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 
     35 EXTRA_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 
     41 if INSTALL_LIBEVENT
     42 nobase_include_HEADERS =	$(EVENT2_EXPORT)
     43 nobase_nodist_include_HEADERS = ./event2/event-config.h
     44 else
     45 noinst_HEADERS =		$(EVENT2_EXPORT)
     46 nodist_noinst_HEADERS =		./event2/event-config.h
     47 endif
     48