From 2903b82941ece38c939c57129d4e815241985ced Mon Sep 17 00:00:00 2001 From: Evgeny Date: Mon, 13 Apr 2026 23:50:32 +0300 Subject: [PATCH] Add test_serialize to Makefile and include serialize in libuasync.a - tests/Makefile.am: add test_serialize to check_PROGRAMS - lib/Makefile.am: add serialize.c/h to libuasync_a_SOURCES --- lib/Makefile.am | 4 +++- tests/Makefile.am | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/Makefile.am b/lib/Makefile.am index 53ba6832..f001f4e0 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -20,7 +20,9 @@ libuasync_a_SOURCES = \ swm_min.c \ swm_min.h \ mem.c \ - mem.h + mem.h \ + serialize.c \ + serialize.h libuasync_a_CFLAGS = \ -D_ISOC99_SOURCE \ diff --git a/tests/Makefile.am b/tests/Makefile.am index 4f9a7569..9b5da541 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -11,6 +11,7 @@ check_PROGRAMS = \ test_pkt_normalizer_standalone \ test_etcp_api \ test_ll_queue \ + test_serialize \ test_intensive_memory_pool \ test_memory_pool_and_config \ test_packet_dump \ @@ -183,6 +184,10 @@ test_ll_queue_SOURCES = test_ll_queue.c test_ll_queue_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/lib test_ll_queue_LDADD = $(COMMON_LIBS) +test_serialize_SOURCES = test_serialize.c +test_serialize_CFLAGS = -I$(top_srcdir)/lib +test_serialize_LDADD = $(COMMON_LIBS) + if USE_OPENSSL else test_ecc_encrypt_SOURCES = test_ecc_encrypt.c