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 6f15c062 2002-09-07 alex # $Id: Makefile.am,v 1.27 2002/09/07 18:06:29 alex Exp $
13 020c6d8b 2002-01-02 alex #
14 f4ade537 2001-12-11 alex
15 8430c557 2002-05-22 alex AUTOMAKE_OPTIONS = ../portab/ansi2knr
16 8430c557 2002-05-22 alex
17 acd91c01 2002-06-02 alex INCLUDES = -I$(srcdir)/../portab
18 ca33cbda 2002-03-12 alex
19 b79ba679 2002-03-25 alex LINTARGS = -weak -warnunixlib +unixlib -booltype BOOLEAN
20 b79ba679 2002-03-25 alex
21 f4ade537 2001-12-11 alex sbin_PROGRAMS = ngircd
22 f4ade537 2001-12-11 alex
23 8a45b177 2002-03-14 alex ngircd_SOURCES = ngircd.c channel.c client.c conf.c conn.c hash.c irc.c \
24 2728c74b 2002-05-27 alex irc-channel.c irc-login.c irc-mode.c irc-op.c irc-oper.c irc-server.c \
25 adbb2e09 2002-06-26 alex irc-write.c lists.c log.c match.c parse.c resolve.c tool.c
26 f4ade537 2001-12-11 alex
27 509a34f0 2002-05-19 alex ngircd_LDFLAGS = -L../portab
28 cf029a81 2002-05-19 alex
29 509a34f0 2002-05-19 alex ngircd_LDADD = -lngportab
30 509a34f0 2002-05-19 alex
31 8a45b177 2002-03-14 alex noinst_HEADERS = ngircd.h channel.h client.h conf.h conn.h hash.h irc.h \
32 2728c74b 2002-05-27 alex irc-channel.h irc-login.h irc-mode.h irc-op.h irc-oper.h irc-server.h \
33 adbb2e09 2002-06-26 alex irc-write.h lists.h log.h match.h parse.h resolve.h tool.h \
34 ca33cbda 2002-03-12 alex messages.h defines.h
35 f4ade537 2001-12-11 alex
36 0253bcc8 2002-02-21 alex clean-local:
37 b79ba679 2002-03-25 alex rm -f check-version check-help lint.out
38 0253bcc8 2002-02-21 alex
39 f4ade537 2001-12-11 alex maintainer-clean-local:
40 f4ade537 2001-12-11 alex rm -f Makefile Makefile.in
41 f4ade537 2001-12-11 alex
42 0253bcc8 2002-02-21 alex check-version: Makefile
43 0253bcc8 2002-02-21 alex echo "#!/bin/sh" > check-version
44 6f15c062 2002-09-07 alex echo "./ngircd --version | grep ngircd > /dev/null 2>&1" >> check-version
45 3c233aa9 2002-02-21 alex chmod 755 check-version
46 0253bcc8 2002-02-21 alex
47 0253bcc8 2002-02-21 alex check-help: Makefile
48 0253bcc8 2002-02-21 alex echo "#!/bin/sh" > check-help
49 0253bcc8 2002-02-21 alex echo "./ngircd --help | grep help > /dev/null 2>&1" >> check-help
50 3c233aa9 2002-02-21 alex chmod 755 check-help
51 0253bcc8 2002-02-21 alex
52 b79ba679 2002-03-25 alex lint:
53 b79ba679 2002-03-25 alex rm -f lint.out
54 b79ba679 2002-03-25 alex for f in *.c; do \
55 b79ba679 2002-03-25 alex echo "checking $$f ..."; \
56 2d4f7847 2002-07-22 alex splint $$f $(LINTARGS) -I./.. -I./../portab $(AM_CFLAGS) > lint.out 2>&1; \
57 b79ba679 2002-03-25 alex grep "no warnings" lint.out > /dev/null 2>&1; \
58 b79ba679 2002-03-25 alex if [ $$? -ne 0 ]; then \
59 b79ba679 2002-03-25 alex echo; cat lint.out; echo; \
60 b79ba679 2002-03-25 alex fi; \
61 b79ba679 2002-03-25 alex done;
62 b79ba679 2002-03-25 alex
63 0253bcc8 2002-02-21 alex TESTS = check-version check-help
64 0253bcc8 2002-02-21 alex
65 f4ade537 2001-12-11 alex # -eof-