root/src/modules-lua/Makefile.in

Revision d00b3d5de1f858f8204da9db700a44f9b103cae1, 1.2 kB (checked in by Theo Schlossnagle <jesus@omniti.com>, 4 years ago)

Holy crap, ticket #4 is really old. Took all day to do this, but it seems
to work and is amazingly readable for what it implements. This version
doesn't upport measuring jitter which is substantially more complicated.

Enjoy!

refs #4

  • 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/module/varnish.lua \
33         noit/module/smtp.lua \
34         noit/module/http.lua \
35         noit/module/resmon.lua \
36         noit/module/tcp.lua \
37         noit/module/ntp.lua
38
39 all:
40
41 install:
42         $(top_srcdir)/buildtools/mkinstalldirs $(DESTDIR)$(MODULES_DIR)/noit/module
43         for lua in $(LUA); do \
44                 $(INSTALL) -m 0644 $$lua $(DESTDIR)$(MODULES_DIR)/$$lua ; \
45         done
46
47 alldocs:        ../modules/docs
48         for lua in $(LUA); do \
49                 $(top_srcdir)/src/lua/src/lua extract_xml.lua $$lua tmp.xml ; \
50                 test -f tmp.xml && \
51                         $(XSLTPROC) ../modules/module.xsl tmp.xml | \
52                         $(XMLLINT) --format - > \
53                         $(top_srcdir)/docs/config/modules/`echo $$lua | sed -e 's/\.lua/.xml/; s/\//./g'` ; \
54                 rm -f tmp.xml ; \
55         done
Note: See TracBrowser for help on using the browser.