Makefile.am 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. lib_LTLIBRARIES = libtinyHTTP.la
  2. libtinyHTTP_la_LIBADD = ../tinySAK/libtinySAK.la ../tinyNET/libtinyNET.la
  3. libtinyHTTP_la_CPPFLAGS = -Iinclude -I../tinySAK/src -I../tinyNET/src
  4. libtinyHTTP_la_SOURCES = \
  5. src/thttp.c\
  6. src/thttp_action.c\
  7. src/thttp_dialog.c\
  8. src/thttp_event.c\
  9. src/thttp_message.c\
  10. src/thttp_session.c\
  11. src/thttp_url.c\
  12. src/thttp_proxy_node_plugin.c
  13. libtinyHTTP_la_SOURCES += src/auth/thttp_auth.c\
  14. src/auth/thttp_challenge.c
  15. libtinyHTTP_la_SOURCES += src/headers/thttp_header.c\
  16. src/headers/thttp_header_Authorization.c\
  17. src/headers/thttp_header_Content_Length.c\
  18. src/headers/thttp_header_Content_Type.c\
  19. src/headers/thttp_header_Dummy.c\
  20. src/headers/thttp_header_ETag.c\
  21. src/headers/thttp_header_Sec_WebSocket_Accept.c\
  22. src/headers/thttp_header_Sec_WebSocket_Key.c\
  23. src/headers/thttp_header_Sec_WebSocket_Protocol.c\
  24. src/headers/thttp_header_Sec_WebSocket_Version.c\
  25. src/headers/thttp_header_Transfer_Encoding.c\
  26. src/headers/thttp_header_WWW_Authenticate.c
  27. libtinyHTTP_la_SOURCES += src/parsers/thttp_parser_header.c\
  28. src/parsers/thttp_parser_message.c\
  29. src/parsers/thttp_parser_url.c
  30. libtinyHTTP_la_LDFLAGS = $LDFLAGS -no-undefined
  31. if TARGET_OS_IS_ANDROID
  32. libtinyHTTP_la_LDFLAGS += -static
  33. endif
  34. _includedir = $(includedir)/tinyhttp
  35. _include_HEADERS = include/*.h
  36. __includedir = $(includedir)/tinyhttp/tinyhttp
  37. __include_HEADERS = include/tinyhttp/*.h
  38. auth_includedir = $(includedir)/tinyhttp/tinyhttp/auth
  39. auth_include_HEADERS = include/tinyhttp/auth/*.h
  40. headers_includedir = $(includedir)/tinyhttp/tinyhttp/headers
  41. headers_include_HEADERS = include/tinyhttp/headers/*.h
  42. parsers_includedir = $(includedir)/tinyhttp/tinyhttp/parsers
  43. parsers_include_HEADERS = include/tinyhttp/parsers/*.h
  44. pkgconfigdir = $(libdir)/pkgconfig
  45. pkgconfig_DATA = tinyHTTP.pc