1 # nghttp2 - HTTP/2 C Library
3 # Copyright (c) 2012, 2013 Tatsuhiro Tsujikawa
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:
13 # The above copyright notice and this permission notice shall be
14 # included in all copies or substantial portions of the Software.
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.
25 EXTRA_DIST = Makefile.msvc CMakeLists.txt version.rc.in
27 AM_CFLAGS = $(WARNCFLAGS) $(EXTRACFLAG)
28 AM_CPPFLAGS = -I$(srcdir)/includes -I$(builddir)/includes -DBUILDING_NGHTTP2 \
30 AM_LDFLAGS = @LIBTOOL_LDFLAGS@
32 pkgconfigdir = $(libdir)/pkgconfig
33 pkgconfig_DATA = libnghttp2.pc
34 DISTCLEANFILES = $(pkgconfig_DATA)
36 lib_LTLIBRARIES = libnghttp2.la
38 OBJECTS = nghttp2_pq.c nghttp2_map.c nghttp2_queue.c \
41 nghttp2_stream.c nghttp2_outbound_item.c \
42 nghttp2_session.c nghttp2_submit.c \
45 nghttp2_hd.c nghttp2_hd_huffman.c nghttp2_hd_huffman_data.c \
47 nghttp2_priority_spec.c \
55 HFILES = nghttp2_pq.h nghttp2_int.h nghttp2_map.h nghttp2_queue.h \
58 nghttp2_session.h nghttp2_helper.h nghttp2_stream.h nghttp2_int.h \
60 nghttp2_submit.h nghttp2_outbound_item.h \
62 nghttp2_hd.h nghttp2_hd_huffman.h \
63 nghttp2_priority_spec.h \
71 libnghttp2_la_SOURCES = $(HFILES) $(OBJECTS)
72 libnghttp2_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined \
73 -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)