tizen 2.4 release
[external/nghttp2.git] / lib / Makefile.am
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.
23 SUBDIRS = includes
24
25 EXTRA_DIST = Makefile.msvc
26
27 AM_CFLAGS = $(WARNCFLAGS)
28 AM_CPPFLAGS = -I$(srcdir)/includes -I$(builddir)/includes @DEFS@
29
30 pkgconfigdir = $(libdir)/pkgconfig
31 pkgconfig_DATA = libnghttp2.pc
32 DISTCLEANFILES = $(pkgconfig_DATA)
33
34 lib_LTLIBRARIES = libnghttp2.la
35
36 OBJECTS = nghttp2_pq.c nghttp2_map.c nghttp2_queue.c \
37         nghttp2_frame.c \
38         nghttp2_buf.c \
39         nghttp2_stream.c nghttp2_outbound_item.c \
40         nghttp2_session.c nghttp2_submit.c \
41         nghttp2_helper.c \
42         nghttp2_npn.c \
43         nghttp2_hd.c nghttp2_hd_huffman.c nghttp2_hd_huffman_data.c \
44         nghttp2_version.c \
45         nghttp2_priority_spec.c \
46         nghttp2_option.c \
47         nghttp2_callbacks.c \
48         nghttp2_mem.c
49
50 HFILES = nghttp2_pq.h nghttp2_int.h nghttp2_map.h nghttp2_queue.h \
51         nghttp2_frame.h \
52         nghttp2_buf.h \
53         nghttp2_session.h nghttp2_helper.h nghttp2_stream.h nghttp2_int.h \
54         nghttp2_npn.h \
55         nghttp2_submit.h nghttp2_outbound_item.h \
56         nghttp2_net.h \
57         nghttp2_hd.h nghttp2_hd_huffman.h \
58         nghttp2_priority_spec.h \
59         nghttp2_option.h \
60         nghttp2_callbacks.h \
61         nghttp2_mem.h
62
63 libnghttp2_la_SOURCES = $(HFILES) $(OBJECTS)
64 libnghttp2_la_LDFLAGS = -no-undefined \
65         -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)