Blame


1 020c6d8b 2002-01-02 alex #
2 020c6d8b 2002-01-02 alex # ngIRCd -- The Next Generation IRC Daemon
3 020c6d8b 2002-01-02 alex # Copyright (c)2001,2002 by Alexander Barton (alex@barton.de)
4 020c6d8b 2002-01-02 alex #
5 020c6d8b 2002-01-02 alex # Dieses Programm ist freie Software. Sie koennen es unter den Bedingungen
6 020c6d8b 2002-01-02 alex # der GNU General Public License (GPL), wie von der Free Software Foundation
7 020c6d8b 2002-01-02 alex # herausgegeben, weitergeben und/oder modifizieren, entweder unter Version 2
8 020c6d8b 2002-01-02 alex # der Lizenz oder (wenn Sie es wuenschen) jeder spaeteren Version.
9 020c6d8b 2002-01-02 alex # Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
10 020c6d8b 2002-01-02 alex # der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
11 020c6d8b 2002-01-02 alex #
12 b79ba679 2002-03-25 alex # $Id: Makefile.am,v 1.18 2002/03/25 19:38:16 alex Exp $
13 020c6d8b 2002-01-02 alex #
14 f4ade537 2001-12-11 alex
15 ca33cbda 2002-03-12 alex AM_CFLAGS = -I$(srcdir)/../portab
16 ca33cbda 2002-03-12 alex
17 b79ba679 2002-03-25 alex LINTARGS = -weak -warnunixlib +unixlib -booltype BOOLEAN
18 b79ba679 2002-03-25 alex
19 f4ade537 2001-12-11 alex sbin_PROGRAMS = ngircd
20 f4ade537 2001-12-11 alex
21 8a45b177 2002-03-14 alex ngircd_SOURCES = ngircd.c channel.c client.c conf.c conn.c hash.c irc.c \
22 2ee05c9a 2002-03-03 alex irc-channel.c irc-login.c irc-mode.c irc-oper.c irc-server.c \
23 2ee05c9a 2002-03-03 alex irc-write.c log.c parse.c tool.c
24 f4ade537 2001-12-11 alex
25 8a45b177 2002-03-14 alex noinst_HEADERS = ngircd.h channel.h client.h conf.h conn.h hash.h irc.h \
26 2ee05c9a 2002-03-03 alex irc-channel.h irc-login.h irc-mode.h irc-oper.h irc-server.h \
27 2ee05c9a 2002-03-03 alex irc-write.h log.h parse.h tool.h \
28 ca33cbda 2002-03-12 alex messages.h defines.h
29 f4ade537 2001-12-11 alex
30 0253bcc8 2002-02-21 alex clean-local:
31 b79ba679 2002-03-25 alex rm -f check-version check-help lint.out
32 0253bcc8 2002-02-21 alex
33 f4ade537 2001-12-11 alex maintainer-clean-local:
34 f4ade537 2001-12-11 alex rm -f Makefile Makefile.in
35 f4ade537 2001-12-11 alex
36 0253bcc8 2002-02-21 alex check-version: Makefile
37 0253bcc8 2002-02-21 alex echo "#!/bin/sh" > check-version
38 0253bcc8 2002-02-21 alex echo "./ngircd --version | grep version > /dev/null 2>&1" >> check-version
39 3c233aa9 2002-02-21 alex chmod 755 check-version
40 0253bcc8 2002-02-21 alex
41 0253bcc8 2002-02-21 alex check-help: Makefile
42 0253bcc8 2002-02-21 alex echo "#!/bin/sh" > check-help
43 0253bcc8 2002-02-21 alex echo "./ngircd --help | grep help > /dev/null 2>&1" >> check-help
44 3c233aa9 2002-02-21 alex chmod 755 check-help
45 0253bcc8 2002-02-21 alex
46 b79ba679 2002-03-25 alex lint:
47 b79ba679 2002-03-25 alex rm -f lint.out
48 b79ba679 2002-03-25 alex for f in *.c; do \
49 b79ba679 2002-03-25 alex echo "checking $$f ..."; \
50 b79ba679 2002-03-25 alex splint $$f $(LINTARGS) -I./.. $(AM_CFLAGS) > lint.out 2>&1; \
51 b79ba679 2002-03-25 alex grep "no warnings" lint.out > /dev/null 2>&1; \
52 b79ba679 2002-03-25 alex if [ $$? -ne 0 ]; then \
53 b79ba679 2002-03-25 alex echo; cat lint.out; echo; \
54 b79ba679 2002-03-25 alex fi; \
55 b79ba679 2002-03-25 alex done;
56 b79ba679 2002-03-25 alex
57 37c7087c 2002-03-10 alex install-data-hook:
58 37c7087c 2002-03-10 alex $(mkinstalldirs) $(DESTDIR)$(localstatedir)
59 37c7087c 2002-03-10 alex
60 0253bcc8 2002-02-21 alex TESTS = check-version check-help
61 0253bcc8 2002-02-21 alex
62 f4ade537 2001-12-11 alex # -eof-