2002-09-09 12:16:24 +02:00
|
|
|
#
|
|
|
|
# ngIRCd -- The Next Generation IRC Daemon
|
2014-06-04 12:15:23 +02:00
|
|
|
# Copyright (c)2001-2014 Alexander Barton (alex@barton.de) and Contributors
|
2002-09-09 12:16:24 +02:00
|
|
|
#
|
2012-09-24 14:34:16 +02:00
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
# Please read the file COPYING, README and AUTHORS for more information.
|
2002-09-09 12:16:24 +02:00
|
|
|
#
|
|
|
|
|
2012-09-23 17:55:48 +02:00
|
|
|
__ng_Makefile_am_template__
|
2002-09-09 12:16:24 +02:00
|
|
|
|
2012-09-24 17:45:15 +02:00
|
|
|
AM_CPPFLAGS = -I$(srcdir)/../portab
|
2002-09-09 12:16:24 +02:00
|
|
|
|
2002-09-10 00:56:07 +02:00
|
|
|
EXTRA_DIST = \
|
2012-09-24 14:34:16 +02:00
|
|
|
Makefile.ng README functions.inc getpid.sh \
|
2002-09-10 00:56:07 +02:00
|
|
|
start-server.sh stop-server.sh tests.sh stress-server.sh \
|
2004-09-04 17:46:56 +02:00
|
|
|
test-loop.sh wait-tests.sh \
|
2008-07-27 14:45:04 +02:00
|
|
|
channel-test.e connect-test.e check-idle.e invite-test.e \
|
|
|
|
join-test.e kick-test.e message-test.e misc-test.e mode-test.e \
|
2011-03-19 14:52:07 +01:00
|
|
|
opless-channel-test.e server-link-test.e who-test.e whois-test.e \
|
2008-11-13 22:46:06 +01:00
|
|
|
stress-A.e stress-B.e \
|
2015-12-30 17:10:26 +01:00
|
|
|
server-login-test.e \
|
2008-11-13 22:46:06 +01:00
|
|
|
start-server1 stop-server1 ngircd-test1.conf \
|
|
|
|
start-server2 stop-server2 ngircd-test2.conf
|
2002-09-09 12:16:24 +02:00
|
|
|
|
2004-09-06 22:35:28 +02:00
|
|
|
all:
|
2004-09-04 15:58:31 +02:00
|
|
|
|
2002-09-09 12:16:24 +02:00
|
|
|
clean-local:
|
2014-06-04 12:15:23 +02:00
|
|
|
rm -rf logs tests *-test ngircd-test*.log procs.tmp tests-skipped.lst \
|
2008-11-13 22:46:06 +01:00
|
|
|
T-ngircd1 ngircd-test1.motd T-ngircd2 ngircd-test2.motd
|
2002-09-09 12:16:24 +02:00
|
|
|
|
|
|
|
maintainer-clean-local:
|
2012-09-24 20:45:37 +02:00
|
|
|
rm -f Makefile Makefile.in Makefile.am
|
2002-09-09 12:16:24 +02:00
|
|
|
|
2002-09-20 17:12:42 +02:00
|
|
|
check_SCRIPTS = ngircd-TEST-Binary tests.sh
|
2002-09-12 04:26:17 +02:00
|
|
|
|
2002-09-20 17:12:42 +02:00
|
|
|
ngircd-TEST-Binary:
|
2008-11-13 22:46:06 +01:00
|
|
|
cp ../ngircd/ngircd T-ngircd1
|
|
|
|
cp ../ngircd/ngircd T-ngircd2
|
2002-09-20 17:39:24 +02:00
|
|
|
[ -f getpid.sh ] || ln -s $(srcdir)/getpid.sh .
|
2014-06-04 12:15:23 +02:00
|
|
|
rm -f tests-skipped.lst
|
2002-09-09 12:16:24 +02:00
|
|
|
|
|
|
|
connect-test: tests.sh
|
2007-11-18 16:07:16 +01:00
|
|
|
rm -f connect-test
|
2002-09-12 04:26:17 +02:00
|
|
|
ln -s $(srcdir)/tests.sh connect-test
|
2002-09-09 12:16:24 +02:00
|
|
|
|
|
|
|
channel-test: tests.sh
|
2007-11-18 16:07:16 +01:00
|
|
|
rm -f channel-test
|
2002-09-12 04:26:17 +02:00
|
|
|
ln -s $(srcdir)/tests.sh channel-test
|
2002-09-09 12:16:24 +02:00
|
|
|
|
2008-05-04 23:34:36 +02:00
|
|
|
invite-test: tests.sh
|
|
|
|
rm -f invite-test
|
|
|
|
ln -s $(srcdir)/tests.sh invite-test
|
|
|
|
|
2008-05-04 00:46:02 +02:00
|
|
|
join-test: tests.sh
|
|
|
|
rm -f join-test
|
|
|
|
ln -s $(srcdir)/tests.sh join-test
|
|
|
|
|
2008-05-05 16:04:48 +02:00
|
|
|
kick-test: tests.sh
|
|
|
|
rm -f kick-test
|
|
|
|
ln -s $(srcdir)/tests.sh kick-test
|
|
|
|
|
2008-07-27 14:45:04 +02:00
|
|
|
message-test: tests.sh
|
|
|
|
rm -f message-test
|
|
|
|
ln -s $(srcdir)/tests.sh message-test
|
2008-02-11 12:06:31 +01:00
|
|
|
|
2008-02-17 14:26:41 +01:00
|
|
|
misc-test: tests.sh
|
|
|
|
rm -f misc-test
|
|
|
|
ln -s $(srcdir)/tests.sh misc-test
|
|
|
|
|
2002-09-09 12:16:24 +02:00
|
|
|
mode-test: tests.sh
|
2007-11-18 16:07:16 +01:00
|
|
|
rm -f mode-test
|
2002-09-12 04:26:17 +02:00
|
|
|
ln -s $(srcdir)/tests.sh mode-test
|
2002-09-09 12:16:24 +02:00
|
|
|
|
2008-07-27 14:45:04 +02:00
|
|
|
opless-channel-test: tests.sh
|
|
|
|
rm -f opless-channel-test
|
|
|
|
ln -s $(srcdir)/tests.sh opless-channel-test
|
|
|
|
|
2008-11-13 22:46:06 +01:00
|
|
|
server-link-test: tests.sh
|
|
|
|
rm -f server-link-test
|
|
|
|
ln -s $(srcdir)/tests.sh server-link-test
|
|
|
|
|
2015-12-30 17:10:26 +01:00
|
|
|
server-login-test: tests.sh
|
|
|
|
rm -f server-login-test
|
|
|
|
ln -s $(srcdir)/tests.sh server-login-test
|
|
|
|
|
2008-07-27 14:45:04 +02:00
|
|
|
who-test: tests.sh
|
|
|
|
rm -f who-test
|
|
|
|
ln -s $(srcdir)/tests.sh who-test
|
|
|
|
|
2008-02-18 15:24:01 +01:00
|
|
|
whois-test: tests.sh
|
|
|
|
rm -f whois-test
|
|
|
|
ln -s $(srcdir)/tests.sh whois-test
|
|
|
|
|
2008-11-13 22:46:06 +01:00
|
|
|
TESTS = start-server1 \
|
2002-09-09 12:16:24 +02:00
|
|
|
connect-test \
|
2008-11-13 22:46:06 +01:00
|
|
|
start-server2 \
|
2002-09-09 12:16:24 +02:00
|
|
|
channel-test \
|
2008-05-04 23:34:36 +02:00
|
|
|
invite-test \
|
2008-05-04 00:46:02 +02:00
|
|
|
join-test \
|
2008-05-05 16:04:48 +02:00
|
|
|
kick-test \
|
2008-07-27 14:45:04 +02:00
|
|
|
message-test \
|
2008-02-17 14:26:41 +01:00
|
|
|
misc-test \
|
2002-09-09 12:16:24 +02:00
|
|
|
mode-test \
|
2008-05-01 15:19:31 +02:00
|
|
|
opless-channel-test \
|
2008-05-04 00:46:02 +02:00
|
|
|
who-test \
|
2008-02-18 15:24:01 +01:00
|
|
|
whois-test \
|
2008-11-13 22:46:06 +01:00
|
|
|
server-link-test \
|
2015-12-30 17:10:26 +01:00
|
|
|
server-login-test \
|
2008-11-13 22:46:06 +01:00
|
|
|
stop-server2 \
|
2002-09-10 00:56:07 +02:00
|
|
|
stress-server.sh \
|
2008-11-13 22:46:06 +01:00
|
|
|
stop-server1
|
2002-09-09 12:16:24 +02:00
|
|
|
|
|
|
|
# -eof-
|