| 7 |
lib_LTLIBRARIES = libbbs.la |
lib_LTLIBRARIES = libbbs.la |
| 8 |
libbbs_la_SOURCES = bbs_net.c |
libbbs_la_SOURCES = bbs_net.c |
| 9 |
|
|
| 10 |
bbsd_src_files = ${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 \ |
| 11 |
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 \ |
| 12 |
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 |
menu_proc.c net_server.c screen.c section_list.c section_list_display.c section_list_loader.c str_process.c \ |
menu_proc.c net_server.c screen.c section_list.c section_list_display.c section_list_loader.c str_process.c \ |
| 14 |
trie_dict.c user_list.c user_info_display.c user_info_update.c user_list_display.c user_priv.c user_stat.c |
trie_dict.c user_list.c user_info_display.c user_info_update.c user_list_display.c user_priv.c user_stat.c |
| 15 |
|
|
| 16 |
if LINK_USE_SO |
if STATIC_LINK |
| 17 |
bbsd_SOURCES = ${bbsd_src_files} |
bbsd_LDADD = libbbs.la ../utils/game/libgame.la |
|
else |
|
|
bbsd_SOURCES = ${bbsd_src_files} |
|
|
bbsd_LDADD = libbbs.la ${srcdir}/../utils/game/libgame.la |
|
| 18 |
endif |
endif |
| 19 |
|
|
| 20 |
bbsd_LDFLAGS=-export-dynamic |
bbsd_LDFLAGS=-export-dynamic |
| 33 |
test_hash_dict_SOURCES = hash_dict.c log.c memory_pool.c test_hash_dict.c |
test_hash_dict_SOURCES = hash_dict.c log.c memory_pool.c test_hash_dict.c |
| 34 |
|
|
| 35 |
AM_CFLAGS = -I${srcdir}/../include -I${srcdir}/../utils/game ${LIBSSH_CFLAGS} ${MYSQLCLIENT_CFLAGS} ${SYSTEMD_CFLAGS} ${LIBPCRE2_CFLAGS} ${ICONV_CFLAGS} \ |
AM_CFLAGS = -I${srcdir}/../include -I${srcdir}/../utils/game ${LIBSSH_CFLAGS} ${MYSQLCLIENT_CFLAGS} ${SYSTEMD_CFLAGS} ${LIBPCRE2_CFLAGS} ${ICONV_CFLAGS} \ |
| 36 |
-std=c17 -Wall -Werror -Wno-unused-parameter -Wformat -Wpedantic -Wformat-security -Wconversion \ |
-std=c17 -Wall -Werror -Wformat -Wpedantic -Wformat-security -Wconversion \ |
| 37 |
-Wdeprecated -finline-functions |
-Wdeprecated -finline-functions |
| 38 |
LIBS = ${LIBSSH_LIBS} ${MYSQLCLIENT_LIBS} ${SYSTEMD_LIBS} ${LIBPCRE2_LIBS} ${ICONV_LIBS} -ldl |
LIBS = ${LIBSSH_LIBS} ${MYSQLCLIENT_LIBS} ${SYSTEMD_LIBS} ${LIBPCRE2_LIBS} ${ICONV_LIBS} -ldl |
| 39 |
|
|