root/src/modules-lua/Makefile.in

Revision de30ea9a40e3c6c47f37331e1c311513058f924d, 1.5 kB (checked in by Philip Maddox <pmaddox@circonus.com>, 2 years ago)

Moved split from smtp.lua into extras.lua, a new file for extra non-task-specific functions. Added extras.lua to the build.

  • Property mode set to 100644
Line 
1 CC=@CC@
2 CPPFLAGS=@CPPFLAGS@
3 CFLAGS=@CFLAGS@
4 PGCFLAGS=@PGCFLAGS@
5 LDFLAGS=@LDFLAGS@
6 AR=@AR@
7 RANLIB=@RANLIB@
8 LIBS=@LIBS@
9 PGLIBS=@PGLIBS@
10 INSTALL=@INSTALL@
11
12 prefix=@prefix@
13 exec_prefix=@exec_prefix@
14 bindir=@bindir@
15 sbindir=@sbindir@
16 libdir=@libdir@
17 includedir=${prefix}/include
18 libexecdir=@libexecdir@
19 datarootdir = @datarootdir@
20 mandir=@mandir@
21 mansubdir=@mansubdir@
22 docdir=${prefix}/@docdir@
23 sysconfdir=@sysconfdir@
24 srcdir=@srcdir@
25 top_srcdir=@top_srcdir@
26 XSLTPROC=@XSLTPROC@
27 XMLLINT=@XMLLINT@
28 MODULES_DIR=@MODULES_DIR@
29
30 LUA=noit/timeval.lua \
31         noit/HttpClient.lua \
32         noit/extras.lua \
33         noit/module/varnish.lua \
34         noit/module/smtp.lua \
35         noit/module/http.lua \
36         noit/module/haproxy.lua \
37         noit/module/jezebel.lua \
38         noit/module/resmon.lua \
39         noit/module/memcached.lua \
40         noit/module/munin.lua \
41         noit/module/tcp.lua \
42         noit/module/imap.lua \
43         noit/module/ntp.lua \
44         noit/module/nrpe.lua \
45         noit/module/redis.lua \
46         noit/module/nginx.lua
47
48 all:
49
50 install:
51         $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(MODULES_DIR)/noit/module
52         for lua in $(LUA); do \
53                 $(INSTALL) -m 0644 $$lua $(DESTDIR)$(MODULES_DIR)/$$lua ; \
54         done
55
56 alldocs:        ../../docs
57         for lua in $(LUA); do \
58                 $(top_srcdir)/src/lua/src/lua extract_xml.lua $$lua tmp.xml ; \
59                 test -f tmp.xml && \
60                         $(XSLTPROC) ../modules/module.xsl tmp.xml | \
61                         $(XMLLINT) --format - > \
62                         $(top_srcdir)/docs/config/modules/`echo $$lua | sed -e 's/\.lua/.xml/; s/\//./g'` ; \
63                 rm -f tmp.xml ; \
64         done
65
66 clean:
67
68 distclean:      clean
69         rm -f Makefile
70
Note: See TracBrowser for help on using the browser.