| 1 |
bin_PROGRAMS = bbsd |
bin_PROGRAMS = bbsd |
| 2 |
EXTRA_PROGRAMS = |
EXTRA_PROGRAMS = test_trie_dict test_file_loader test_section_list test_lml test_ssh_server test_article_view_log test_memory_pool |
| 3 |
bbsd_SOURCES = bbs.c bbs_main.c common.c database.c fork.c init.c \ |
|
| 4 |
io.c log.c login.c menu.c main.c netio.c net_server.c \ |
bbsd_SOURCES = 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 |
passwd.c screen.c regex.c user_priv.c register.c \ |
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 |
welcome.c \ |
screen.c section_list.c section_list_display.c section_list_loader.c str_process.c \ |
| 7 |
bbs.h common.h database.h io.h menu.h |
trie_dict.c user_priv.c |
| 8 |
|
|
| 9 |
INCLUDES = -I../include -I/usr/local/mysql/include/mysql |
bbsd_LDFLAGS=-export-dynamic |
| 10 |
LIBS = -L../lib -L/usr/local/mysql/lib/mysql -lmysqlclient -lz |
|
| 11 |
|
test_trie_dict_SOURCES = log.c test_trie_dict.c trie_dict.c |
| 12 |
CLEANFILES=@EXTRA_CLEAN@ |
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 = -std=c17 -Wall -Werror -Wno-unused-parameter -Wformat -Wconversion -Wdeprecated -finline-functions |
| 24 |
|
AM_CPPFLAGS = -I../include |
| 25 |
|
LIBS = -L/usr/lib64/mysql/ -lmysqlclient -lsystemd -lssh -lz -ldl |
| 26 |
|
|
| 27 |
|
libdir = ${prefix}/lib |
| 28 |
|
|
| 29 |
|
CLEANFILES = @EXTRA_CLEAN@ ${EXTRA_PROGRAMS} |