2 # ngIRCd -- The Next Generation IRC Daemon
3 # Copyright (c)2001-2024 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 EXTRA_DIST = Makefile.ng
16 AM_CPPFLAGS = -I$(srcdir)/../portab -I$(srcdir)/../tool -I$(srcdir)/../ipaddr
18 sbin_PROGRAMS = ngircd
59 ngircd_LDFLAGS = -L../portab -L../tool -L../ipaddr
61 ngircd_LDADD = -lngportab -lngtool -lngipaddr
107 rm -f check-version check-help
109 maintainer-clean-local:
110 rm -f Makefile Makefile.in Makefile.am
112 check-version: Makefile
113 echo "#!/bin/sh" > check-version
114 echo "./ngircd --version | grep ngircd >/dev/null 2>&1" >>check-version
115 chmod 755 check-version
118 echo "#!/bin/sh" > check-help
119 echo "./ngircd --help | grep help >/dev/null 2>&1" >>check-help
122 TESTS = check-version check-help