]> jfr.im git - irc/quakenet/newserv.git/blobdiff - trusts/Makefile.in
JOINFLOOD: add support for glining of ident for trusted users.
[irc/quakenet/newserv.git] / trusts / Makefile.in
index 19da93d137a525970de569c12735fd4789cc4b1c..3de60c519168c1d66123fda4250254bd91b8abf0 100644 (file)
@@ -1,8 +1,38 @@
 @include@ @includel@../build.mk@includel@
 
-.PHONY: all
-all: trusts.so trusts_commands.so
+TRUSTSDIRS=newsearch
 
-trusts.so: trusts.o migration.o db.o db-migration.o data.o formats.o events.o
+.PHONY: all dirs $(TRUSTSDIRS) clean distclean
+
+all: trusts.so trusts_commands.so trusts_policy.so trusts_migration.so trusts_db.so trusts_management.so trusts_master.so trusts_slave.so trusts_api.so dirs
+
+trusts.so: trusts.o data.o formats.o events.o
+
+trusts_db.so: trusts_db.o
 
 trusts_commands.so: trusts_commands.o
+
+trusts_policy.so: trusts_policy.o
+
+trusts_migration.so: trusts_migration.o db-migration.o migration.o
+
+trusts_management.so: trusts_management.o
+
+trusts_master.so: trusts_master.o
+
+trusts_slave.so: trusts_slave.o db-slave.o
+
+trusts_api.so: trusts_api.o
+
+dirs: $(TRUSTSDIRS)
+       ln -sf */*.so .
+
+$(TRUSTSDIRS):
+       cd $@ && $(MAKE) $(MFLAGS) all
+
+clean:
+       rm -f */*.o */*.so *.o *.so
+
+distclean:
+       rm -f */Makefile Makefile
+