Makefile.ng 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. #
  2. # ngIRCd -- The Next Generation IRC Daemon
  3. # Copyright (c)2001-2014 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. __ng_Makefile_am_template__
  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. server-login-test.e \
  22. start-server1 stop-server1 ngircd-test1.conf \
  23. start-server2 stop-server2 ngircd-test2.conf \
  24. start-server3 stop-server3 ngircd-test3.conf \
  25. reload-server3 reload-server.sh prep-server3 cleanup-server3 switch-server3 \
  26. connect-ssl-cert1-test.e connect-ssl-cert2-test.e \
  27. ssl/cert-my-first-domain-tld.pem ssl/cert-my-second-domain-tld.pem \
  28. ssl/dhparams-my-first-domain-tld.pem ssl/dhparams-my-second-domain-tld.pem \
  29. ssl/key-my-first-domain-tld.pem ssl/key-my-second-domain-tld.pem
  30. all:
  31. clean-local:
  32. rm -rf logs tests *-test ngircd-test*.log procs.tmp tests-skipped.lst \
  33. T-ngircd1 ngircd-test1.motd T-ngircd2 ngircd-test2.motd T-ngircd3 ngircd-test3.motd
  34. maintainer-clean-local:
  35. rm -f Makefile Makefile.in Makefile.am
  36. check_SCRIPTS = ngircd-TEST-Binary tests.sh
  37. ngircd-TEST-Binary:
  38. cp ../ngircd/ngircd T-ngircd1
  39. cp ../ngircd/ngircd T-ngircd2
  40. cp ../ngircd/ngircd T-ngircd3
  41. [ -f getpid.sh ] || ln -s $(srcdir)/getpid.sh .
  42. rm -f tests-skipped.lst
  43. connect-test: tests.sh
  44. rm -f connect-test
  45. ln -s $(srcdir)/tests.sh connect-test
  46. connect-ssl-cert1-test: tests.sh
  47. rm -f connect-ssl-cert1-test
  48. ln -s $(srcdir)/tests.sh connect-ssl-cert1-test
  49. connect-ssl-cert2-test: tests.sh
  50. rm -f connect-ssl-cert2-test
  51. ln -s $(srcdir)/tests.sh connect-ssl-cert2-test
  52. channel-test: tests.sh
  53. rm -f channel-test
  54. ln -s $(srcdir)/tests.sh channel-test
  55. invite-test: tests.sh
  56. rm -f invite-test
  57. ln -s $(srcdir)/tests.sh invite-test
  58. join-test: tests.sh
  59. rm -f join-test
  60. ln -s $(srcdir)/tests.sh join-test
  61. kick-test: tests.sh
  62. rm -f kick-test
  63. ln -s $(srcdir)/tests.sh kick-test
  64. message-test: tests.sh
  65. rm -f message-test
  66. ln -s $(srcdir)/tests.sh message-test
  67. misc-test: tests.sh
  68. rm -f misc-test
  69. ln -s $(srcdir)/tests.sh misc-test
  70. mode-test: tests.sh
  71. rm -f mode-test
  72. ln -s $(srcdir)/tests.sh mode-test
  73. opless-channel-test: tests.sh
  74. rm -f opless-channel-test
  75. ln -s $(srcdir)/tests.sh opless-channel-test
  76. server-link-test: tests.sh
  77. rm -f server-link-test
  78. ln -s $(srcdir)/tests.sh server-link-test
  79. server-login-test: tests.sh
  80. rm -f server-login-test
  81. ln -s $(srcdir)/tests.sh server-login-test
  82. who-test: tests.sh
  83. rm -f who-test
  84. ln -s $(srcdir)/tests.sh who-test
  85. whois-test: tests.sh
  86. rm -f whois-test
  87. ln -s $(srcdir)/tests.sh whois-test
  88. TESTS = start-server1 \
  89. connect-test \
  90. start-server2 \
  91. channel-test \
  92. invite-test \
  93. join-test \
  94. kick-test \
  95. message-test \
  96. misc-test \
  97. mode-test \
  98. opless-channel-test \
  99. who-test \
  100. whois-test \
  101. server-link-test \
  102. server-login-test \
  103. stop-server2 \
  104. stress-server.sh \
  105. stop-server1
  106. if HAVE_SSL
  107. TESTS += \
  108. prep-server3 \
  109. start-server3 \
  110. connect-ssl-cert1-test \
  111. switch-server3 \
  112. reload-server3 \
  113. connect-ssl-cert2-test \
  114. cleanup-server3 \
  115. stop-server3
  116. endif
  117. # -eof-