Makefile.am 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. #
  2. # ngIRCd -- The Next Generation IRC Daemon
  3. # Copyright (c)2001-2012 Alexander Barton (alex@barton.de) and Contributors
  4. #
  5. # This program is free software; you can redistribute it and/or modify
  6. # it under the terms of the GNU General Public License as published by
  7. # the Free Software Foundation; either version 2 of the License, or
  8. # (at your option) any later version.
  9. # Please read the file COPYING, README and AUTHORS for more information.
  10. #
  11. AUTOMAKE_OPTIONS = ../portab/ansi2knr
  12. AM_CPPFLAGS = -I$(srcdir)/../portab
  13. EXTRA_DIST = \
  14. Makefile.ng README functions.inc getpid.sh \
  15. start-server.sh stop-server.sh tests.sh stress-server.sh \
  16. test-loop.sh wait-tests.sh \
  17. channel-test.e connect-test.e check-idle.e invite-test.e \
  18. join-test.e kick-test.e message-test.e misc-test.e mode-test.e \
  19. opless-channel-test.e server-link-test.e who-test.e whois-test.e \
  20. stress-A.e stress-B.e \
  21. start-server1 stop-server1 ngircd-test1.conf \
  22. start-server2 stop-server2 ngircd-test2.conf
  23. all:
  24. clean-local:
  25. rm -rf logs tests *-test ngircd-test*.log procs.tmp \
  26. T-ngircd1 ngircd-test1.motd T-ngircd2 ngircd-test2.motd
  27. maintainer-clean-local:
  28. rm -f Makefile Makefile.in Makefile.am
  29. check_SCRIPTS = ngircd-TEST-Binary tests.sh
  30. ngircd-TEST-Binary:
  31. cp ../ngircd/ngircd T-ngircd1
  32. cp ../ngircd/ngircd T-ngircd2
  33. [ -f getpid.sh ] || ln -s $(srcdir)/getpid.sh .
  34. connect-test: tests.sh
  35. rm -f connect-test
  36. ln -s $(srcdir)/tests.sh connect-test
  37. channel-test: tests.sh
  38. rm -f channel-test
  39. ln -s $(srcdir)/tests.sh channel-test
  40. invite-test: tests.sh
  41. rm -f invite-test
  42. ln -s $(srcdir)/tests.sh invite-test
  43. join-test: tests.sh
  44. rm -f join-test
  45. ln -s $(srcdir)/tests.sh join-test
  46. kick-test: tests.sh
  47. rm -f kick-test
  48. ln -s $(srcdir)/tests.sh kick-test
  49. message-test: tests.sh
  50. rm -f message-test
  51. ln -s $(srcdir)/tests.sh message-test
  52. misc-test: tests.sh
  53. rm -f misc-test
  54. ln -s $(srcdir)/tests.sh misc-test
  55. mode-test: tests.sh
  56. rm -f mode-test
  57. ln -s $(srcdir)/tests.sh mode-test
  58. opless-channel-test: tests.sh
  59. rm -f opless-channel-test
  60. ln -s $(srcdir)/tests.sh opless-channel-test
  61. server-link-test: tests.sh
  62. rm -f server-link-test
  63. ln -s $(srcdir)/tests.sh server-link-test
  64. who-test: tests.sh
  65. rm -f who-test
  66. ln -s $(srcdir)/tests.sh who-test
  67. whois-test: tests.sh
  68. rm -f whois-test
  69. ln -s $(srcdir)/tests.sh whois-test
  70. TESTS = start-server1 \
  71. connect-test \
  72. start-server2 \
  73. channel-test \
  74. invite-test \
  75. join-test \
  76. kick-test \
  77. message-test \
  78. misc-test \
  79. mode-test \
  80. opless-channel-test \
  81. who-test \
  82. whois-test \
  83. server-link-test \
  84. stop-server2 \
  85. stress-server.sh \
  86. stop-server1
  87. # -eof-