Debian Codegraph @

include/Makefile

raw
1 include ../extra.mk
2
3 SUBDIRS = inline protocol
4
5 DISTCLEAN = hooktypes.h instpaths.h
6 pre-depend: ${DISTCLEAN}
7
8 INCLUDES = \
9 abirev.h \
10 account.h \
11 atheme.h \
12 atheme_memory.h \
13 atheme_string.h \
14 auth.h \
15 authcookie.h \
16 base64.h \
17 channels.h \
18 commandtree.h \
19 common.h \
20 conf.h \
21 confprocess.h \
22 connection.h \
23 crypto.h \
24 culture.h \
25 database_backend.h \
26 datastream.h \
27 entity-validation.h \
28 entity.h \
29 flags.h \
30 global.h \
31 hook.h \
32 hooktypes.h \
33 httpd.h \
34 i18n.h \
35 instpaths.h \
36 libathemecore.h \
37 linker.h \
38 match.h \
39 md5.h \
40 module.h \
41 object.h \
42 phandler.h \
43 pmodule.h \
44 privs.h \
45 res.h \
46 reslib.h \
47 sasl.h \
48 serno.h \
49 servers.h \
50 services.h \
51 servtree.h \
52 sourceinfo.h \
53 stdinc.h \
54 sysconf.h \
55 table.h \
56 taint.h \
57 template.h \
58 tools.h \
59 uid.h \
60 uplink.h \
61 users.h
62
63 hooktypes.h: hooktypes.in mkhooktypes.sh
64 $(info Generate: $@)
65 @sh mkhooktypes.sh hooktypes.in >hooktypes.h
66
67 instpaths.h: ../extra.mk instpaths.h.in
68 $(info Generate: $@)
69 @$(SED) \
70 -e 's|@BINDIR[@]|$(bindir)|g' \
71 -e 's|@DATADIR[@]|$(DATADIR)|g' \
72 -e 's|@DOCDIR[@]|$(DOCDIR)|g' \
73 -e 's|@LOCALEDIR[@]|$(LOCALEDIR)|g' \
74 -e 's|@LOGDIR[@]|$(LOGDIR)|g' \
75 -e 's|@MODDIR[@]|$(MODDIR)|g' \
76 -e 's|@PREFIX[@]|$(prefix)|g' \
77 -e 's|@RUNDIR[@]|$(RUNDIR)|g' \
78 -e 's|@SHAREDIR[@]|$(SHAREDIR)|g' \
79 -e 's|@SYSCONFDIR[@]|$(sysconfdir)|g' \
80 < "[email protected]" > "$@"
81
82 include ../buildsys.mk