2 # ngIRCd -- The Next Generation IRC Daemon
3 # Copyright (c)2001-2014 Alexander Barton (alex@barton.de) and Contributors
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.
12 __ng_Makefile_am_template__
14 AM_CPPFLAGS = -I$(srcdir)/../portab
17 Makefile.ng README functions.inc getpid.sh \
18 start-server.sh stop-server.sh tests.sh stress-server.sh \
19 test-loop.sh wait-tests.sh \
20 channel-test.e connect-test.e check-idle.e invite-test.e \
21 join-test.e kick-test.e message-test.e misc-test.e mode-test.e \
22 opless-channel-test.e server-link-test.e who-test.e whois-test.e \
23 stress-A.e stress-B.e \
24 start-server1 stop-server1 ngircd-test1.conf \
25 start-server2 stop-server2 ngircd-test2.conf
30 rm -rf logs tests *-test ngircd-test*.log procs.tmp tests-skipped.lst \
31 T-ngircd1 ngircd-test1.motd T-ngircd2 ngircd-test2.motd
33 maintainer-clean-local:
34 rm -f Makefile Makefile.in Makefile.am
36 check_SCRIPTS = ngircd-TEST-Binary tests.sh
39 cp ../ngircd/ngircd T-ngircd1
40 cp ../ngircd/ngircd T-ngircd2
41 [ -f getpid.sh ] || ln -s $(srcdir)/getpid.sh .
42 rm -f tests-skipped.lst
44 connect-test: tests.sh
46 ln -s $(srcdir)/tests.sh connect-test
48 channel-test: tests.sh
50 ln -s $(srcdir)/tests.sh channel-test
54 ln -s $(srcdir)/tests.sh invite-test
58 ln -s $(srcdir)/tests.sh join-test
62 ln -s $(srcdir)/tests.sh kick-test
64 message-test: tests.sh
66 ln -s $(srcdir)/tests.sh message-test
70 ln -s $(srcdir)/tests.sh misc-test
74 ln -s $(srcdir)/tests.sh mode-test
76 opless-channel-test: tests.sh
77 rm -f opless-channel-test
78 ln -s $(srcdir)/tests.sh opless-channel-test
80 server-link-test: tests.sh
81 rm -f server-link-test
82 ln -s $(srcdir)/tests.sh server-link-test
86 ln -s $(srcdir)/tests.sh who-test
90 ln -s $(srcdir)/tests.sh whois-test
92 TESTS = start-server1 \
102 opless-channel-test \