]> arthur.barton.de Git - ngircd-alex.git/blob - src/ngircd/Makefile.ng
Clarify that "CAFile" is not set by default
[ngircd-alex.git] / src / ngircd / Makefile.ng
1 #
2 # ngIRCd -- The Next Generation IRC Daemon
3 # Copyright (c)2001-2024 Alexander Barton (alex@barton.de) and Contributors
4 #
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.
10 #
11
12 __ng_Makefile_am_template__
13
14 EXTRA_DIST = Makefile.ng
15
16 AM_CPPFLAGS = -I$(srcdir)/../portab -I$(srcdir)/../tool -I$(srcdir)/../ipaddr
17
18 sbin_PROGRAMS = ngircd
19
20 ngircd_SOURCES = \
21         ngircd.c \
22         array.c \
23         channel.c \
24         class.c \
25         client.c \
26         client-cap.c \
27         conf.c \
28         conn.c \
29         conn-encoding.c \
30         conn-func.c \
31         conn-ssl.c \
32         conn-zip.c \
33         hash.c \
34         io.c \
35         irc.c \
36         irc-cap.c \
37         irc-channel.c \
38         irc-encoding.c \
39         irc-info.c \
40         irc-login.c \
41         irc-metadata.c \
42         irc-mode.c \
43         irc-op.c \
44         irc-oper.c \
45         irc-server.c \
46         irc-write.c \
47         lists.c \
48         log.c \
49         login.c \
50         match.c \
51         numeric.c \
52         op.c \
53         pam.c \
54         parse.c \
55         proc.c \
56         resolve.c \
57         sighandlers.c
58
59 ngircd_LDFLAGS = -L../portab -L../tool -L../ipaddr
60
61 ngircd_LDADD = -lngportab -lngtool -lngipaddr
62
63 noinst_HEADERS = \
64         ngircd.h \
65         array.h \
66         channel.h \
67         class.h \
68         client.h \
69         client-cap.h \
70         conf.h \
71         conf-ssl.h \
72         conn.h \
73         conn-encoding.h \
74         conn-func.h \
75         conn-ssl.h \
76         conn-zip.h \
77         defines.h \
78         hash.h \
79         io.h \
80         irc.h \
81         irc-cap.h \
82         irc-channel.h \
83         irc-encoding.h \
84         irc-info.h \
85         irc-login.h \
86         irc-macros.h \
87         irc-metadata.h \
88         irc-mode.h \
89         irc-op.h \
90         irc-oper.h \
91         irc-server.h \
92         irc-write.h \
93         lists.h \
94         log.h \
95         login.h \
96         match.h \
97         messages.h \
98         numeric.h \
99         op.h \
100         pam.h \
101         parse.h \
102         proc.h \
103         resolve.h \
104         sighandlers.h
105
106 clean-local:
107         rm -f check-version check-help
108
109 maintainer-clean-local:
110         rm -f Makefile Makefile.in Makefile.am
111
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
116
117 check-help: Makefile
118         echo "#!/bin/sh" > check-help
119         echo "./ngircd --help | grep help >/dev/null 2>&1" >>check-help
120         chmod 755 check-help
121
122 TESTS = check-version check-help
123
124 # -eof-