--- lbbs/src/Makefile.am 2025/09/22 06:25:29 1.63 +++ lbbs/src/Makefile.am 2025/10/18 12:06:10 1.68 @@ -1,7 +1,9 @@ bin_PROGRAMS = bbsd -EXTRA_PROGRAMS = test_trie_dict test_file_loader test_section_list test_lml test_ssh_server test_article_view_log test_memory_pool +EXTRA_PROGRAMS = test_trie_dict test_file_loader test_section_list test_lml test_ssh_server test_article_favor test_article_view_log \ + test_memory_pool -bbsd_SOURCES = ${srcdir}/../include/*.h article_cache.c article_del.c article_post.c article_view_log.c bbs.c bbs_cmd.c bbs_main.c common.c database.c \ +bbsd_SOURCES = ${srcdir}/../include/*.h article_cache.c article_del.c article_favor.c article_favor_display.c article_op.c \ + article_post.c article_view_log.c bbs.c bbs_cmd.c bbs_main.c common.c database.c \ editor.c file_loader.c init.c io.c ip_mask.c lml.c log.c login.c memory_pool.c menu.c main.c menu_proc.c net_server.c \ screen.c section_list.c section_list_display.c section_list_loader.c str_process.c \ trie_dict.c user_priv.c @@ -13,6 +15,7 @@ test_file_loader_SOURCES = file_loader.c test_section_list_SOURCES = common.c log.c section_list.c test_section_list.c trie_dict.c test_lml_SOURCES = lml.c log.c test_lml.c test_ssh_server_SOURCES = log.c test_ssh_server.c +test_article_favor_SOURCES = article_favor.c common.c database.c log.c section_list.c test_article_favor.c trie_dict.c test_article_view_log_SOURCES = article_view_log.c database.c log.c test_article_view_log.c test_memory_pool_SOURCES = log.c memory_pool.c test_memory_pool.c @@ -20,7 +23,8 @@ lib_LTLIBRARIES = libbbs.la libbbs_la_SOURCES = bbs_net.c -AM_CFLAGS = -I${srcdir}/../include -std=c17 -Wall -Werror -Wno-unused-parameter -Wformat -Wformat-security -Wconversion -Wdeprecated -finline-functions +AM_CFLAGS = -I${srcdir}/../include -std=c17 -Wall -Werror -Wno-unused-parameter -Wformat -Wpedantic -Wformat-security -Wconversion \ + -Wdeprecated -finline-functions LIBS = -L/usr/lib64/mysql/ -lmysqlclient -lsystemd -lssh -lz -ldl libdir = ${prefix}/lib