]>
Commit | Line | Data |
---|---|---|
1 | AM_CPPFLAGS = @RX_INCLUDES@ | |
2 | LIBS = @LIBS@ @RX_LIBS@ | |
3 | ||
4 | noinst_PROGRAMS = srvx | |
5 | EXTRA_PROGRAMS = checkdb globtest | |
6 | noinst_DATA = chanserv.help global.help modcmd.help nickserv.help opserv.help saxdb.help sendmail.help mod-sockcheck.help mod-helpserv.help mod-memoserv.help | |
7 | EXTRA_DIST = $(noinst_DATA) | |
8 | BUILT_SOURCES = arch-version.h | |
9 | noinst_HEADERS = arch-version.h | |
10 | ||
11 | .PHONY: checkversion | |
12 | arch-version.h: checkversion | |
13 | checkversion: | |
14 | @tla logs -f >/dev/null || exit 0; \ | |
15 | TMPFILE=`mktemp arch-version.h.XXXXXX` || exit 1 ; \ | |
16 | echo "#define ARCH_VERSION \"`tla logs -f | tail -n 1`\"" >> $$TMPFILE ; \ | |
17 | if diff -q arch-version.h $$TMPFILE >/dev/null 2>&1 ; then \ | |
18 | rm $$TMPFILE ; \ | |
19 | else \ | |
20 | echo "Putting new arch version into arch-version.h" ; \ | |
21 | rm -f arch-version.h ; \ | |
22 | mv $$TMPFILE arch-version.h ; \ | |
23 | fi | |
24 | ||
25 | EXTRA_srvx_SOURCES = proto-bahamut.c proto-common.c proto-p10.c mod-snoop.c mod-memoserv.c mod-helpserv.c mod-sockcheck.c | |
26 | srvx_LDADD = @MODULE_OBJS@ | |
27 | srvx_DEPENDENCIES = @MODULE_OBJS@ | |
28 | srvx_SOURCES = \ | |
29 | arch-version.h \ | |
30 | chanserv.c chanserv.h \ | |
31 | compat.c compat.h \ | |
32 | conf.c conf.h \ | |
33 | dict-splay.c dict.h \ | |
34 | getopt.c getopt.h \ | |
35 | getopt1.c getopt.h \ | |
36 | gline.c gline.h \ | |
37 | global.c global.h \ | |
38 | hash.c hash.h \ | |
39 | heap.c heap.h \ | |
40 | helpfile.c helpfile.h \ | |
41 | ioset.c ioset.h \ | |
42 | log.c log.h \ | |
43 | main.c common.h \ | |
44 | md5.c md5.h \ | |
45 | modcmd.c modcmd.h \ | |
46 | modules.c modules.h \ | |
47 | nickserv.c nickserv.h \ | |
48 | opserv.c opserv.h \ | |
49 | policer.c policer.h \ | |
50 | proto.h \ | |
51 | recdb.c recdb.h \ | |
52 | saxdb.c saxdb.h \ | |
53 | sendmail.c sendmail.h \ | |
54 | timeq.c timeq.h \ | |
55 | tools.c | |
56 | ||
57 | checkdb_SOURCES = checkdb.c common.h compat.c compat.h dict-splay.c dict.h recdb.c recdb.h saxdb.c saxdb.h tools.c conf.h log.h modcmd.h saxdb.h timeq.h | |
58 | globtest_SOURCES = common.h compat.c compat.h dict-splay.c dict.h globtest.c tools.c |