| 1 |
bin_PROGRAMS = bbsd |
bin_PROGRAMS = bbsd |
| 2 |
EXTRA_PROGRAMS = test_trie_dict test_file_loader test_section_list test_lml test_ssh_server test_article_favor test_article_view_log \ |
test_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 test_bbs test_bwf test_hash_dict |
test_memory_pool test_bbs test_bwf test_hash_dict |
| 4 |
|
|
| 5 |
|
testdir = ${prefix}/test |
| 6 |
|
|
| 7 |
bbsd_SOURCES = ${srcdir}/../include/*.h article_cache.c article_del.c article_favor.c article_favor_display.c article_op.c \ |
bbsd_SOURCES = ${srcdir}/../include/*.h article_cache.c article_del.c article_favor.c article_favor_display.c article_op.c \ |
| 8 |
article_post.c article_view_log.c bbs.c bbs_cmd.c bbs_main.c bwf.c common.c data_file_mgr.c database.c \ |
article_post.c article_view_log.c bbs.c bbs_cmd.c bbs_main.c bwf.c common.c data_file_mgr.c database.c \ |
| 9 |
editor.c file_loader.c hash_dict.c init.c io.c ip_mask.c lml.c log.c login.c memory_pool.c menu.c main.c \ |
editor.c file_loader.c hash_dict.c init.c io.c ip_mask.c lml.c log.c login.c memory_pool.c menu.c main.c \ |
| 13 |
bbsd_LDFLAGS=-export-dynamic |
bbsd_LDFLAGS=-export-dynamic |
| 14 |
|
|
| 15 |
test_trie_dict_SOURCES = log.c test_trie_dict.c trie_dict.c |
test_trie_dict_SOURCES = log.c test_trie_dict.c trie_dict.c |
| 16 |
test_file_loader_SOURCES = file_loader.c log.c str_process.c test_file_loader.c trie_dict.c |
test_file_loader_SOURCES = file_loader.c log.c str_process.c test_file_loader.c |
| 17 |
test_section_list_SOURCES = bbs.c common.c database.c log.c section_list.c test_section_list.c trie_dict.c user_list.c user_priv.c user_stat.c |
test_section_list_SOURCES = bbs.c common.c database.c log.c section_list.c test_section_list.c trie_dict.c user_list.c user_priv.c user_stat.c |
| 18 |
test_lml_SOURCES = lml.c log.c str_process.c test_lml.c |
test_lml_SOURCES = lml.c log.c str_process.c test_lml.c |
| 19 |
test_ssh_server_SOURCES = log.c test_ssh_server.c |
test_ssh_server_SOURCES = log.c test_ssh_server.c |
| 29 |
|
|
| 30 |
libbbs_la_SOURCES = bbs_net.c |
libbbs_la_SOURCES = bbs_net.c |
| 31 |
|
|
| 32 |
AM_CFLAGS = -I${srcdir}/../include ${LIBSSH_CFLAGS} ${MYSQLCLIENT_CFLAGS} ${SYSTEMD_CFLAGS} ${LIBPCRE2_CFLAGS} ${LIBICONV_CFLAGS} \ |
AM_CFLAGS = -I${srcdir}/../include ${LIBSSH_CFLAGS} ${MYSQLCLIENT_CFLAGS} ${SYSTEMD_CFLAGS} ${LIBPCRE2_CFLAGS} ${ICONV_CFLAGS} \ |
| 33 |
-std=c17 -Wall -Werror -Wno-unused-parameter -Wformat -Wpedantic -Wformat-security -Wconversion \ |
-std=c17 -Wall -Werror -Wno-unused-parameter -Wformat -Wpedantic -Wformat-security -Wconversion \ |
| 34 |
-Wdeprecated -finline-functions |
-Wdeprecated -finline-functions |
| 35 |
LIBS = ${LIBSSH_LIBS} ${MYSQLCLIENT_LIBS} ${SYSTEMD_LIBS} ${LIBPCRE2_LIBS} ${LIBICONV_LIBS} -ldl |
LIBS = ${LIBSSH_LIBS} ${MYSQLCLIENT_LIBS} ${SYSTEMD_LIBS} ${LIBPCRE2_LIBS} ${ICONV_LIBS} -ldl |
| 36 |
|
|
| 37 |
libdir = ${prefix}/lib |
libdir = ${prefix}/lib |
|
|
|
|
CLEANFILES = ${EXTRA_PROGRAMS} |
|