Commit 73bab8f3541410c96f598141272e66e51e14c0c0

Thomas de Grivel 2024-07-31T12:33:29

make gdb_httpd

diff --git a/Makefile b/Makefile
index 1f914c1..fded720 100644
--- a/Makefile
+++ b/Makefile
@@ -181,6 +181,16 @@ gdb_demo_gl:
 	${MAKE} debug
 	${MAKE} -C libkc3 gdb_demo_gl
 
+gdb_httpd:
+	${MAKE} -C libtommath debug
+	${MAKE} -C ucd2c
+	${MAKE} -C libkc3 debug
+	${MAKE} -C ikc3 debug
+	${MAKE} -C kc3s debug
+	${MAKE} -C http debug
+	${MAKE} -C httpd debug
+	${MAKE} -C test gdb_httpd
+
 gdb_ikc3:
 	${MAKE} -C libtommath debug
 	${MAKE} -C ucd2c
diff --git a/env b/env
index 39926f6..dc185cc 100644
--- a/env
+++ b/env
@@ -1,3 +1,3 @@
-export LD_LIBRARY_PATH="$PWD/libkc3/.libs:$PWD/ekc3/.libs:$PWD/lib/kc3/0.1:$LD_LIBRARY_PATH"
+export LD_LIBRARY_PATH="$PWD/libkc3/.libs:$PWD/ekc3/.libs:$PWD/http/.libs:$PWD/lib/kc3/0.1:$LD_LIBRARY_PATH"
 export KC3_HTTPD_HOST=0.0.0.0
 export KC3_HTTPD_PORT=58000
diff --git a/test/Makefile b/test/Makefile
index 02926eb..374ea08 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -71,6 +71,9 @@ distclean:
 gcovr:
 	gcovr --gcov-executable ${GCOV} --html-details test.html
 
+gdb_httpd:
+	cd httpd && ${GDB} ../../httpd/.libs/kc3_httpd_debug
+
 gdb_test: debug
 	if [ -f libkc3_test_debug.core ]; then ${GDB} .libs/libkc3_test_debug libkc3_test_debug.core; else ${GDB} .libs/libkc3_test_debug; fi