--- lbbs/src/Makefile.am 2004/10/18 08:44:54 1.4 +++ lbbs/src/Makefile.am 2025/05/10 11:09:02 1.31 @@ -1,4 +1,21 @@ -bin_PROGRAMS=bbsd -bbsd_SOURCES=common.h main.c init.c net_server.c - - +bin_PROGRAMS = bbsd +EXTRA_PROGRAMS = + +bbsd_SOURCES = bbs.c bbs_cmd.c bbs_main.c common.c database.c fork.c init.c \ + io.c log.c login.c menu.c main.c menu_proc.c net_server.c \ + reg_ex.c register.c screen.c str_process.c user_priv.c \ + welcome.c + +bbsd_LDFLAGS=-export-dynamic + +lib_LTLIBRARIES = libbbs.la + +libbbs_la_SOURCES = bbs_net.c + +AM_CFLAGS = -Wall -Werror -Wno-unused-parameter -Wformat -Wconversion -Wdeprecated -finline-functions +AM_CPPFLAGS = -I../include -I/usr/include/mysql +LIBS = -L/usr/lib/mysql -L/usr/lib64/mysql -lmysqlclient -lz -ldl + +libdir = ${prefix}/lib + +CLEANFILES = @EXTRA_CLEAN@