Makefile.in 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Makefile for src/mod/dns.mod/
  2. RESLIB = @RESLIB@
  3. RESINCLUDE = @RESINCLUDE@
  4. srcdir = .
  5. doofus:
  6. @echo ""
  7. @echo "Let's try this from the right directory..."
  8. @echo ""
  9. @cd ../../../ && make
  10. static: ../dns.o
  11. @echo "$(RESLIB)" >> ../mod.xlibs
  12. ../dns.o:
  13. $(CC) $(CFLAGS) $(CPPFLAGS) $(RESINCLUDE) -DMAKING_MODS -c $(srcdir)/dns.c
  14. @rm -f ../dns.o
  15. mv dns.o ../
  16. depend:
  17. $(CC) $(CFLAGS) $(CPPFLAGS) -MM $(srcdir)/dns.c > .depend
  18. clean:
  19. @rm -f .depend *.o *~
  20. distclean: clean
  21. @rm -f Makefile config.cache config.log config.status
  22. #safety hash
  23. ../dns.o: .././dns.mod/dns.c ../../../src/mod/module.h \
  24. ../../../src/main.h ../../../config.h ../../../src/conf.h \
  25. ../../../src/lang.h \
  26. ../../../src/eggdrop.h ../../../src/flags.h ../../../src/proto.h \
  27. ../../../lush.h ../../../src/misc_file.h ../../../src/cmdt.h \
  28. ../../../src/tclegg.h ../../../src/tclhash.h ../../../src/chan.h \
  29. ../../../src/users.h ../../../src/compat/compat.h \
  30. ../../../src/compat/inet_aton.h ../../../src/compat/snprintf.h \
  31. ../../../src/compat/memset.h ../../../src/compat/memcpy.h \
  32. ../../../src/compat/strcasecmp.h ../../../src/compat/strftime.h \
  33. ../../../src/mod/modvals.h ../../../src/tandem.h ../dns.mod/dns.h \
  34. ../dns.mod/coredns.c