CSDIRS=database chancmds usercmds authcmds
.PHONY: all dirs clean
-all: chanserv.so chanserv_protect.so chanserv_grep.so chanserv_chansearch.so dirs
+all: chanserv.so chanserv_protect.so chanserv_grep.so chanserv_chansearch.so chanserv_authlib.so dirs
dirs:
for i in $(CSDIRS) ; do $(MAKE) -C $$i all ; done
chanserv_chansearch.so: chanserv-chansearch.o
ld -shared -Bdynamic -o $@ $^
+
+chanserv_authlib.so: authlib.o
+ ld -shared -Bdynamic -o $@ $^
+