1# nghttp2 - HTTP/2 C Library
2
3# Copyright (c) 2012, 2013 Tatsuhiro Tsujikawa
4
5# Permission is hereby granted, free of charge, to any person obtaining
6# a copy of this software and associated documentation files (the
7# "Software"), to deal in the Software without restriction, including
8# without limitation the rights to use, copy, modify, merge, publish,
9# distribute, sublicense, and/or sell copies of the Software, and to
10# permit persons to whom the Software is furnished to do so, subject to
11# the following conditions:
12
13# The above copyright notice and this permission notice shall be
14# included in all copies or substantial portions of the Software.
15
16# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23SUBDIRS = includes
24
25EXTRA_DIST = Makefile.msvc CMakeLists.txt version.rc.in
26
27AM_CFLAGS = $(WARNCFLAGS) $(EXTRACFLAG)
28AM_CPPFLAGS = -I$(srcdir)/includes -I$(builddir)/includes -DBUILDING_NGHTTP2 \
29	@DEFS@
30
31pkgconfigdir = $(libdir)/pkgconfig
32pkgconfig_DATA = libnghttp2.pc
33DISTCLEANFILES = $(pkgconfig_DATA)
34
35lib_LTLIBRARIES = libnghttp2.la
36
37OBJECTS = nghttp2_pq.c nghttp2_map.c nghttp2_queue.c \
38	nghttp2_frame.c \
39	nghttp2_buf.c \
40	nghttp2_stream.c nghttp2_outbound_item.c \
41	nghttp2_session.c nghttp2_submit.c \
42	nghttp2_helper.c \
43	nghttp2_npn.c \
44	nghttp2_hd.c nghttp2_hd_huffman.c nghttp2_hd_huffman_data.c \
45	nghttp2_version.c \
46	nghttp2_priority_spec.c \
47	nghttp2_option.c \
48	nghttp2_callbacks.c \
49	nghttp2_mem.c \
50	nghttp2_http.c \
51	nghttp2_rcbuf.c \
52	nghttp2_debug.c
53
54HFILES = nghttp2_pq.h nghttp2_int.h nghttp2_map.h nghttp2_queue.h \
55	nghttp2_frame.h \
56	nghttp2_buf.h \
57	nghttp2_session.h nghttp2_helper.h nghttp2_stream.h nghttp2_int.h \
58	nghttp2_npn.h \
59	nghttp2_submit.h nghttp2_outbound_item.h \
60	nghttp2_net.h \
61	nghttp2_hd.h nghttp2_hd_huffman.h \
62	nghttp2_priority_spec.h \
63	nghttp2_option.h \
64	nghttp2_callbacks.h \
65	nghttp2_mem.h \
66	nghttp2_http.h \
67	nghttp2_rcbuf.h \
68	nghttp2_debug.h
69
70libnghttp2_la_SOURCES = $(HFILES) $(OBJECTS)
71libnghttp2_la_LDFLAGS = -no-undefined \
72	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
73