Makefile.am 2.37 KB
Newer Older
1 2 3 4 5
libhttps_plugin_la_SOURCES = access/http/access.c
libhttps_plugin_la_LIBADD = libvlc_http.la
access_LTLIBRARIES += libhttps_plugin.la

libvlc_http_la_SOURCES = \
6
	access/http/transport.h \
7
	access/http/message.c access/http/message.h \
8
	access/http/resource.c access/http/resource.h \
9
	access/http/file.c access/http/file.h \
10
	access/http/live.c access/http/live.h \
11 12 13
	access/http/hpack.c access/http/hpack.h access/http/hpackenc.c \
	access/http/h2frame.c access/http/h2frame.h \
	access/http/h2output.c access/http/h2output.h \
14
	access/http/h2conn.c access/http/h1conn.c \
15
	access/http/chunked.c access/http/tunnel.c access/http/conn.h \
16 17 18 19 20 21 22 23 24 25
	access/http/connmgr.c access/http/connmgr.h
libvlc_http_la_CPPFLAGS = -Dneedsomethinghere
libvlc_http_la_LIBADD = \
	$(LTLIBVLCCORE) ../compat/libcompat.la \
	$(SOCKET_LIBS) $(LIBPTHREAD)
#libvlc_http_la_LDFLAGS = -no-undefined -export-symbols-regex ^vlc_http_
#pkglib_LTLIBRARIES += libvlc_http.la
libvlc_http_la_LDFLAGS = -static
noinst_LTLIBRARIES += libvlc_http.la

26 27
hpack_test_SOURCES = access/http/hpack.c access/http/hpack.h
hpack_test_CFLAGS = -DDEC_TEST
28 29
hpackenc_test_SOURCES = $(hpack_test_SOURCES) access/http/hpackenc.c
hpackenc_test_CFLAGS = -DENC_TEST
30 31 32
h2frame_test_SOURCES = access/http/h2frame_test.c \
	access/http/hpack.c access/http/hpack.h access/http/hpackenc.c \
	access/http/h2frame.c access/http/h2frame.h
33 34
h2output_test_SOURCES = access/http/h2output_test.c
h2output_test_LDADD = libvlc_http.la $(LIBPTHREAD)
35 36
h2conn_test_SOURCES = access/http/h2conn_test.c
h2conn_test_LDADD = libvlc_http.la $(LIBPTHREAD)
37 38
h1conn_test_SOURCES = access/http/h1conn_test.c
h1conn_test_LDADD = libvlc_http.la
39 40
h1chunked_test_SOURCES = access/http/chunked_test.c
h1chunked_test_LDADD = libvlc_http.la
41 42
http_msg_test_SOURCES = access/http/message_test.c \
	access/http/message.c access/http/message.h
43 44
http_file_test_SOURCES = access/http/file_test.c \
	access/http/message.c access/http/message.h \
45
	access/http/resource.c access/http/resource.h \
46
	access/http/file.c access/http/file.h
47 48
http_tunnel_test_SOURCES = access/http/tunnel_test.c
http_tunnel_test_LDADD = libvlc_http.la
49
check_PROGRAMS += hpack_test hpackenc_test \
50
	h2frame_test h2output_test h2conn_test h1conn_test h1chunked_test \
51
	http_msg_test http_file_test http_tunnel_test
52
TESTS += hpack_test hpackenc_test \
53
	h2frame_test h2output_test h2conn_test h1conn_test h1chunked_test \
54
	http_msg_test http_file_test http_tunnel_test