Commit f3987df4 authored by Kenton Varda's avatar Kenton Varda

Add URL lib to makefiles.

parent ccef65a7
......@@ -159,6 +159,7 @@ includekjstd_HEADERS = \
includekjcompat_HEADERS = \
src/kj/compat/gtest.h \
src/kj/compat/url.h \
src/kj/compat/http.h
includecapnp_HEADERS = \
......@@ -249,6 +250,7 @@ libkj_async_la_SOURCES= \
libkj_http_la_LIBADD = libkj-async.la libkj.la $(ASYNC_LIBS) $(PTHREAD_LIBS)
libkj_http_la_LDFLAGS = -release $(SO_VERSION) -no-undefined
libkj_http_la_SOURCES= \
src/kj/compat/url.c++ \
src/kj/compat/http.c++
endif !LITE_MODE
......@@ -417,6 +419,7 @@ heavy_tests = \
src/kj/parse/common-test.c++ \
src/kj/parse/char-test.c++ \
src/kj/std/iostream-test.c++ \
src/kj/compat/url-test.c++ \
src/kj/compat/http-test.c++ \
src/capnp/canonicalize-test.c++ \
src/capnp/capability-test.c++ \
......
......@@ -130,9 +130,11 @@ endif()
# kj-http ======================================================================
set(kj-http_sources
compat/url.c++
compat/http.c++
)
set(kj-http_headers
compat/url.h
compat/http.h
)
if(NOT CAPNP_LITE)
......@@ -181,6 +183,7 @@ if(BUILD_TESTING)
threadlocal-pthread-test.c++
parse/common-test.c++
parse/char-test.c++
compat/url-test.c++
compat/http-test.c++
)
target_link_libraries(kj-heavy-tests kj-http kj-async kj-test kj)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment