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