--- lbbs/src/Makefile.am 2025/06/02 15:01:55 1.45 +++ lbbs/src/Makefile.am 2025/06/03 13:58:21 1.48 @@ -1,5 +1,5 @@ bin_PROGRAMS = bbsd -EXTRA_PROGRAMS = test_trie_dict test_file_loader test_section_list test_lml +EXTRA_PROGRAMS = test_trie_dict test_file_loader test_section_list test_lml test_ssh_server bbsd_SOURCES = article_cache.c bbs.c bbs_cmd.c bbs_main.c common.c database.c file_loader.c fork.c \ init.c io.c lml.c log.c login.c menu.c main.c menu_proc.c net_server.c \ @@ -12,14 +12,15 @@ test_trie_dict_SOURCES = log.c test_trie test_file_loader_SOURCES = file_loader.c log.c str_process.c test_file_loader.c trie_dict.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 lib_LTLIBRARIES = libbbs.la libbbs_la_SOURCES = bbs_net.c AM_CFLAGS = -Wall -Werror -Wno-unused-parameter -Wformat -Wconversion -Wdeprecated -finline-functions -AM_CPPFLAGS = -I../include -I/usr/include/mysql -LIBS = -L/usr/lib/mysql -L/usr/lib64/mysql -lmysqlclient -lz -ldl -lsystemd +AM_CPPFLAGS = -I../include +LIBS = -L/usr/lib64/mysql/ -lmysqlclient -lsystemd -lssh -lz -ldl libdir = ${prefix}/lib