# Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
# der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
#
-# $Id: Makefile.am,v 1.28 2002/10/07 21:16:13 alex Exp $
+# $Id: Makefile.am,v 1.31 2002/12/12 12:36:41 alex Exp $
#
AUTOMAKE_OPTIONS = ../portab/ansi2knr
sbin_PROGRAMS = ngircd
ngircd_SOURCES = ngircd.c channel.c client.c conf.c conn.c hash.c irc.c \
- irc-channel.c irc-login.c irc-mode.c irc-op.c irc-oper.c irc-server.c \
- irc-write.c lists.c log.c match.c parse.c resolve.c tool.c
+ irc-channel.c irc-info.c irc-login.c irc-mode.c irc-op.c irc-oper.c \
+ irc-server.c irc-write.c lists.c log.c match.c parse.c resolve.c tool.c
ngircd_LDFLAGS = -L../portab
ngircd_LDADD = -lngportab
noinst_HEADERS = ngircd.h channel.h client.h conf.h conn.h hash.h irc.h \
- irc-channel.h irc-login.h irc-mode.h irc-op.h irc-oper.h irc-server.h \
- irc-write.h lists.h log.h match.h parse.h resolve.h tool.h \
+ irc-channel.h irc-info.h irc-login.h irc-mode.h irc-op.h irc-oper.h \
+ irc-server.h irc-write.h lists.h log.h match.h parse.h resolve.h tool.h \
messages.h defines.h
clean-local:
ngircd.c: cvs-date cvs-version.h
cvs-date:
- grep VERSION $(srcdir)/../config.h | grep "CVS" \
- && echo "#define CVSDATE \"$$( grep "\$$Id" *.c *.h | awk "{ print \$$6 }" | sort | tail -n 1 )\"" > $(srcdir)/cvs-version.new \
- || echo "" > $(srcdir)/cvs-version.new
- diff $(srcdir)/cvs-version.h $(srcdir)/cvs-version.new \
- || cp $(srcdir)/cvs-version.new $(srcdir)/cvs-version.h
+ grep VERSION ../config.h | grep "CVS" \
+ && echo "#define CVSDATE \"$$( grep "\$$Id" $(srcdir)/*.c \
+ | awk "{ print \$$9 }" | sort | tail -n 1 )\"" > cvs-version.new \
+ || echo "" > cvs-version.new
+ diff cvs-version.h cvs-version.new || cp cvs-version.new cvs-version.h
TESTS = check-version check-help