1 CFLAGS+=${INCPGSQL} ${INCPCRE}
3 CSDIRS=database chancmds usercmds authcmds authtracker newsearch
6 all: chanserv.so chanserv_protect.so chanserv_grep.so chanserv_chansearch.so chanserv_relay.so dirs
9 for i in $(CSDIRS) ; do $(MAKE) -C $$i all ; done
15 chanserv.so: chanservdb_updates.o chanserv.o chanservuser.o chanservnetevents.o chanservprivs.o chanservlog.o chanservstdcmds.o \
16 chanservdump.o chanservschedule.o chanservcrypto.o authlib.o q9snprintf.o
17 ld -shared -Bdynamic ${LIBPGSQL} -o $@ $^
19 chanserv_protect.so: chanserv_protect.o
20 ld -shared -Bdynamic -o $@ $^
22 chanserv_grep.so: chanservgrep.o
23 ld -shared -Bdynamic ${LIBPCRE} -o $@ $^
25 chanserv_chansearch.so: chanserv-chansearch.o
26 ld -shared -Bdynamic -o $@ $^
28 chanserv_relay.so: chanserv_relay.o
29 ld -shared -Bdynamic -o $@ $^