Makefile.in 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. # Makefile for src/compat/
  2. SHELL = @SHELL@
  3. top_srcdir = @top_srcdir@
  4. srcdir = @srcdir@
  5. VPATH = @srcdir@
  6. @SET_MAKE@
  7. CC = @CC@
  8. LD = @CC@
  9. STRIP = @STRIP@
  10. CFLAGS = @CFLAGS@ -I../.. -I$(top_srcdir) -I$(top_srcdir)/src @DEFS@ $(CFLGS)
  11. CPPFLAGS = @CPPFLAGS@
  12. OBJS = inet_aton.o inet_ntop.o snprintf.o memset.o memcpy.o strcasecmp.o strftime.o
  13. doofus:
  14. @echo ""
  15. @echo "Let's try this from the right directory..."
  16. @echo ""
  17. @cd ../.. && $(MAKE)
  18. depend:
  19. @$(CC) $(CFLAGS) -I../.. -I$(top_srcdir) -I$(top_srcdir)/src $(CPPFLAGS) -MM $(srcdir)/*.c > .depend
  20. clean:
  21. @rm -f .depend *.o *~
  22. compat: $(OBJS)
  23. .SUFFIXES:
  24. .SUFFIXES: .c .o .h
  25. .c.o:
  26. @echo -e "Compiling: \033[1m`basename $< .c`\033[0m"
  27. @$(CC) $(CFLAGS) -I../.. -I$(top_srcdir) -I$(top_srcdir)/src $(CPPFLAGS) -c $<
  28. #safety hash
  29. gnu_strftime.o: ./gnu_strftime.c
  30. inet_aton.o: ./inet_aton.c ../../src/main.h ../../pack/conf.h ../../config.h \
  31. ../../src/lang.h ../../src/eggdrop.h ../../src/flags.h \
  32. ../../src/proto.h ../../lush.h ../../src/misc_file.h ../../src/cmdt.h \
  33. ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
  34. ../../src/users.h ../../src/compat/compat.h \
  35. ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
  36. ../../src/compat/memset.h ../../src/compat/memcpy.h \
  37. ../../src/compat/strcasecmp.h ../../src/compat/strftime.h inet_aton.h \
  38. ../../src/compat/inet_ntop.h
  39. inet_ntop.o: ./inet_ntop.c ../../src/main.h ../../pack/conf.h ../../config.h \
  40. ../../src/lang.h ../../src/eggdrop.h ../../src/flags.h \
  41. ../../src/proto.h ../../lush.h ../../src/misc_file.h ../../src/cmdt.h \
  42. ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
  43. ../../src/users.h ../../src/compat/compat.h \
  44. ../../src/compat/inet_ntop.h ../../src/compat/snprintf.h \
  45. ../../src/compat/memset.h ../../src/compat/memcpy.h \
  46. ../../src/compat/strcasecmp.h ../../src/compat/strftime.h inet_ntop.h \
  47. ../../src/compat/inet_aton.h
  48. memcpy.o: ./memcpy.c ../../src/main.h ../../pack/conf.h ../../config.h ../../src/lang.h \
  49. ../../src/eggdrop.h ../../src/flags.h ../../src/proto.h ../../lush.h \
  50. ../../src/misc_file.h ../../src/cmdt.h ../../src/tclegg.h \
  51. ../../src/tclhash.h ../../src/chan.h ../../src/users.h \
  52. ../../src/compat/compat.h ../../src/compat/inet_aton.h \
  53. ../../src/compat/snprintf.h ../../src/compat/memset.h \
  54. ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h \
  55. ../../src/compat/strftime.h memcpy.h ../../src/compat/inet_ntop.h
  56. memset.o: ./memset.c ../../src/main.h ../../pack/conf.h ../../config.h ../../src/lang.h \
  57. ../../src/eggdrop.h ../../src/flags.h ../../src/proto.h ../../lush.h \
  58. ../../src/misc_file.h ../../src/cmdt.h ../../src/tclegg.h \
  59. ../../src/tclhash.h ../../src/chan.h ../../src/users.h \
  60. ../../src/compat/compat.h ../../src/compat/inet_aton.h \
  61. ../../src/compat/snprintf.h ../../src/compat/memset.h \
  62. ../../src/compat/memcpy.h ../../src/compat/strcasecmp.h \
  63. ../../src/compat/strftime.h memset.h ../../src/compat/inet_ntop.h
  64. snprintf.o: ./snprintf.c ../../src/main.h ../../pack/conf.h ../../config.h \
  65. ../../src/lang.h ../../src/eggdrop.h ../../src/flags.h \
  66. ../../src/proto.h ../../lush.h ../../src/misc_file.h ../../src/cmdt.h \
  67. ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
  68. ../../src/users.h ../../src/compat/compat.h \
  69. ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
  70. ../../src/compat/memset.h ../../src/compat/memcpy.h \
  71. ../../src/compat/strcasecmp.h ../../src/compat/inet_ntop.h \
  72. ../../src/compat/strftime.h snprintf.h
  73. strcasecmp.o: ./strcasecmp.c ../../src/main.h ../../pack/conf.h ../../config.h \
  74. ../../src/lang.h ../../src/eggdrop.h ../../src/flags.h \
  75. ../../src/proto.h ../../lush.h ../../src/misc_file.h ../../src/cmdt.h \
  76. ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
  77. ../../src/users.h ../../src/compat/compat.h \
  78. ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
  79. ../../src/compat/memset.h ../../src/compat/memcpy.h \
  80. ../../src/compat/strcasecmp.h ../../src/compat/inet_ntop.h \
  81. ../../src/compat/strftime.h memcpy.h
  82. strftime.o: ./strftime.c ../../src/main.h ../../pack/conf.h ../../config.h \
  83. ../../src/lang.h ../../src/eggdrop.h ../../src/flags.h \
  84. ../../src/proto.h ../../lush.h ../../src/misc_file.h ../../src/cmdt.h \
  85. ../../src/tclegg.h ../../src/tclhash.h ../../src/chan.h \
  86. ../../src/users.h ../../src/compat/compat.h \
  87. ../../src/compat/inet_aton.h ../../src/compat/snprintf.h \
  88. ../../src/compat/memset.h ../../src/compat/memcpy.h \
  89. ../../src/compat/strcasecmp.h ../../src/compat/inet_ntop.h \
  90. ../../src/compat/strftime.h strftime.h