2 CSDIRS=database chancmds usercmds authcmds authtracker
5 all: chanserv.so chanserv_protect.so chanserv_grep.so chanserv_chansearch.so chanserv_authlib.so dirs
8 for i in $(CSDIRS) ; do $(MAKE) -C $$i all ; done
14 chanserv.so: chanservdb_updates.o chanserv.o chanservuser.o chanservnetevents.o chanservprivs.o chanservlog.o chanservstdcmds.o \
15 chanservdump.o chanservschedule.o
16 ld -shared -Bdynamic ${LIBPGSQL} -o $@ $^
18 chanserv_protect.so: chanserv_protect.o
19 ld -shared -Bdynamic -o $@ $^
21 chanserv_grep.so: chanservgrep.o
22 ld -shared -Bdynamic ${LIBPCRE} -o $@ $^
24 chanserv_chansearch.so: chanserv-chansearch.o
25 ld -shared -Bdynamic -o $@ $^
27 chanserv_authlib.so: authlib.o
28 ld -shared -Bdynamic -o $@ $^