summaryrefslogtreecommitdiffstats
path: root/tinyHTTP/Makefile.am
blob: fe255b9924e8ac93c5161dc4748672d200c34a37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
lib_LTLIBRARIES         = libtinyHTTP.la
libtinyHTTP_la_LIBADD = ../tinySAK/libtinySAK.la ../tinyNET/libtinyNET.la
libtinyHTTP_la_CPPFLAGS = -Iinclude -I../tinySAK/src -I../tinyNET/src

libtinyHTTP_la_SOURCES = \
	src/thttp.c\
	src/thttp_action.c\
	src/thttp_dialog.c\
	src/thttp_event.c\
	src/thttp_message.c\
	src/thttp_session.c\
	src/thttp_url.c\
	src/thttp_proxy_node_plugin.c
	
libtinyHTTP_la_SOURCES +=	src/auth/thttp_auth.c\
	src/auth/thttp_challenge.c
	
libtinyHTTP_la_SOURCES +=	src/headers/thttp_header.c\
	src/headers/thttp_header_Authorization.c\
	src/headers/thttp_header_Content_Length.c\
	src/headers/thttp_header_Content_Type.c\
	src/headers/thttp_header_Dummy.c\
	src/headers/thttp_header_ETag.c\
	src/headers/thttp_header_Sec_WebSocket_Accept.c\
	src/headers/thttp_header_Sec_WebSocket_Key.c\
	src/headers/thttp_header_Sec_WebSocket_Protocol.c\
	src/headers/thttp_header_Sec_WebSocket_Version.c\
	src/headers/thttp_header_Transfer_Encoding.c\
	src/headers/thttp_header_WWW_Authenticate.c
	
libtinyHTTP_la_SOURCES +=	src/parsers/thttp_parser_header.c\
	src/parsers/thttp_parser_message.c\
	src/parsers/thttp_parser_url.c

libtinyHTTP_la_LDFLAGS = $LDFLAGS -no-undefined
if TARGET_OS_IS_ANDROID
libtinyHTTP_la_LDFLAGS += -static
endif

_includedir = $(includedir)/tinyhttp
_include_HEADERS = include/*.h
__includedir = $(includedir)/tinyhttp/tinyhttp
__include_HEADERS = include/tinyhttp/*.h
auth_includedir = $(includedir)/tinyhttp/tinyhttp/auth
auth_include_HEADERS = include/tinyhttp/auth/*.h
headers_includedir = $(includedir)/tinyhttp/tinyhttp/headers
headers_include_HEADERS = include/tinyhttp/headers/*.h
parsers_includedir = $(includedir)/tinyhttp/tinyhttp/parsers
parsers_include_HEADERS = include/tinyhttp/parsers/*.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = tinyHTTP.pc
OpenPOWER on IntegriCloud