• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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@
30AM_LDFLAGS = @LIBTOOL_LDFLAGS@
31
32pkgconfigdir = $(libdir)/pkgconfig
33pkgconfig_DATA = libnghttp2.pc
34DISTCLEANFILES = $(pkgconfig_DATA)
35
36lib_LTLIBRARIES = libnghttp2.la
37
38OBJECTS = nghttp2_pq.c nghttp2_map.c nghttp2_queue.c \
39	nghttp2_frame.c \
40	nghttp2_buf.c \
41	nghttp2_stream.c nghttp2_outbound_item.c \
42	nghttp2_session.c nghttp2_submit.c \
43	nghttp2_helper.c \
44	nghttp2_npn.c \
45	nghttp2_hd.c nghttp2_hd_huffman.c nghttp2_hd_huffman_data.c \
46	nghttp2_version.c \
47	nghttp2_priority_spec.c \
48	nghttp2_option.c \
49	nghttp2_callbacks.c \
50	nghttp2_mem.c \
51	nghttp2_http.c \
52	nghttp2_rcbuf.c \
53	nghttp2_extpri.c \
54	nghttp2_ratelim.c \
55	nghttp2_time.c \
56	nghttp2_debug.c \
57	sfparse.c
58
59HFILES = nghttp2_pq.h nghttp2_int.h nghttp2_map.h nghttp2_queue.h \
60	nghttp2_frame.h \
61	nghttp2_buf.h \
62	nghttp2_session.h nghttp2_helper.h nghttp2_stream.h nghttp2_int.h \
63	nghttp2_npn.h \
64	nghttp2_submit.h nghttp2_outbound_item.h \
65	nghttp2_net.h \
66	nghttp2_hd.h nghttp2_hd_huffman.h \
67	nghttp2_priority_spec.h \
68	nghttp2_option.h \
69	nghttp2_callbacks.h \
70	nghttp2_mem.h \
71	nghttp2_http.h \
72	nghttp2_rcbuf.h \
73	nghttp2_extpri.h \
74	nghttp2_ratelim.h \
75	nghttp2_time.h \
76	nghttp2_debug.h \
77	sfparse.h
78
79libnghttp2_la_SOURCES = $(HFILES) $(OBJECTS)
80libnghttp2_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined \
81	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
82