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

Diff of /lbbs/src/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.48 by sysadm, Tue Jun 3 13:58:21 2025 UTC Revision 1.83 by sysadm, Mon Nov 17 07:02:57 2025 UTC
# Line 1  Line 1 
1  bin_PROGRAMS = bbsd  bin_PROGRAMS = bbsd
2  EXTRA_PROGRAMS = test_trie_dict test_file_loader test_section_list test_lml test_ssh_server  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 test_bbs test_bwf test_hash_dict
4  bbsd_SOURCES = article_cache.c bbs.c bbs_cmd.c bbs_main.c common.c database.c file_loader.c fork.c \  
5                             init.c io.c lml.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 section_list_display.c section_list_loader.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 \
7                             str_process.c trie_dict.c user_priv.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 \
8                               menu_proc.c net_server.c screen.c section_list.c section_list_display.c section_list_loader.c str_process.c \
9  bbsd_LDFLAGS=-export-dynamic                             trie_dict.c user_list.c user_info_display.c user_info_update.c user_list_display.c user_priv.c user_stat.c
10    
11  test_trie_dict_SOURCES = log.c test_trie_dict.c trie_dict.c  bbsd_LDFLAGS=-export-dynamic
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  test_trie_dict_SOURCES = log.c test_trie_dict.c trie_dict.c
14  test_lml_SOURCES = lml.c log.c test_lml.c  test_file_loader_SOURCES = file_loader.c log.c str_process.c test_file_loader.c trie_dict.c
15  test_ssh_server_SOURCES = log.c test_ssh_server.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
16    test_lml_SOURCES = lml.c log.c str_process.c test_lml.c
17  lib_LTLIBRARIES = libbbs.la  test_ssh_server_SOURCES = log.c test_ssh_server.c
18    test_article_favor_SOURCES = article_favor.c bbs.c common.c database.c log.c section_list.c test_article_favor.c trie_dict.c \
19  libbbs_la_SOURCES = bbs_net.c                                                           user_list.c user_priv.c user_stat.c
20    test_article_view_log_SOURCES = article_view_log.c database.c log.c test_article_view_log.c
21  AM_CFLAGS = -Wall -Werror -Wno-unused-parameter -Wformat -Wconversion -Wdeprecated -finline-functions  test_memory_pool_SOURCES = log.c memory_pool.c test_memory_pool.c
22  AM_CPPFLAGS = -I../include  test_bbs_SOURCES = bbs.c log.c test_bbs.c user_priv.c
23  LIBS = -L/usr/lib64/mysql/ -lmysqlclient -lsystemd -lssh -lz -ldl  test_bwf_SOURCES = bwf.c log.c test_bwf.c
24    test_hash_dict_SOURCES = hash_dict.c log.c memory_pool.c test_hash_dict.c
25  libdir = ${prefix}/lib  
26    lib_LTLIBRARIES = libbbs.la
27  CLEANFILES = @EXTRA_CLEAN@ ${EXTRA_PROGRAMS}  
28    libbbs_la_SOURCES = bbs_net.c
29    
30    AM_CFLAGS = -I${srcdir}/../include ${LIBSSH_CFLAGS} ${MYSQLCLIENT_CFLAGS} ${SYSTEMD_CFLAGS} ${LIBPCRE2_CFLAGS} ${ICONV_CFLAGS} \
31                            -std=c17 -Wall -Werror -Wno-unused-parameter -Wformat -Wpedantic -Wformat-security -Wconversion \
32                            -Wdeprecated -finline-functions
33    LIBS = ${LIBSSH_LIBS} ${MYSQLCLIENT_LIBS} ${SYSTEMD_LIBS} ${LIBPCRE2_LIBS} ${ICONV_LIBS} -ldl
34    
35    libdir = ${prefix}/lib
36    
37    CLEANFILES = ${EXTRA_PROGRAMS}


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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