/[LeafOK_CVS]/lbbs/src/Makefile.am
ViewVC logotype

Contents of /lbbs/src/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.58 - (show annotations)
Sat Jul 5 00:45:26 2025 UTC (8 months, 1 week ago) by sysadm
Branch: MAIN
Changes since 1.57: +3 -4 lines
Refact Makefile to support make distcheck

1 bin_PROGRAMS = bbsd
2 EXTRA_PROGRAMS = test_trie_dict test_file_loader test_section_list test_lml test_ssh_server test_article_view_log test_memory_pool
3
4 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 \
5 editor.c file_loader.c init.c io.c lml.c log.c login.c memory_pool.c menu.c main.c menu_proc.c net_server.c \
6 screen.c section_list.c section_list_display.c section_list_loader.c str_process.c \
7 trie_dict.c user_priv.c
8
9 bbsd_LDFLAGS=-export-dynamic
10
11 test_trie_dict_SOURCES = log.c test_trie_dict.c trie_dict.c
12 test_file_loader_SOURCES = file_loader.c log.c str_process.c test_file_loader.c trie_dict.c
13 test_section_list_SOURCES = common.c log.c section_list.c test_section_list.c trie_dict.c
14 test_lml_SOURCES = lml.c log.c test_lml.c
15 test_ssh_server_SOURCES = log.c test_ssh_server.c
16 test_article_view_log_SOURCES = article_view_log.c database.c log.c test_article_view_log.c
17 test_memory_pool_SOURCES = log.c memory_pool.c test_memory_pool.c
18
19 lib_LTLIBRARIES = libbbs.la
20
21 libbbs_la_SOURCES = bbs_net.c
22
23 AM_CFLAGS = -I${srcdir}/../include -std=c17 -Wall -Werror -Wno-unused-parameter -Wformat -Wconversion -Wdeprecated -finline-functions
24 LIBS = -L/usr/lib64/mysql/ -lmysqlclient -lsystemd -lssh -lz -ldl
25
26 libdir = ${prefix}/lib
27
28 CLEANFILES = ${EXTRA_PROGRAMS}

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1