diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-10-14 15:28:51 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-10-14 17:54:41 +0300 |
commit | f035194d7d1b6cc0846ad7a5d86e0d6fa9463c67 (patch) | |
tree | 494d180cee9a078727c8d4965caa65cb2052f33d /src/Makefile.am | |
parent | 58f7dbc0658b3d73816a1bc91b75c2bdac733510 (diff) | |
download | vmod-binlog-f035194d7d1b6cc0846ad7a5d86e0d6fa9463c67.tar.gz vmod-binlog-f035194d7d1b6cc0846ad7a5d86e0d6fa9463c67.tar.bz2 |
New utility binlogsel
* configure.ac: Check for yacc.
* src/.gitignore: Update.
* src/Makefile.am (libbinlog_a_SOURCES): Add new files.
Build binlogsel.
* src/binlogcat.c: Use xmalloc.
* src/binlogsel.c: New file.
* src/parse-datetime.h: New file.
* src/parse-datetime.y: New file.
* src/xalloc.c: New file.
* src/xalloc.h: New file.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 4e31e89..565444a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -17,13 +17,16 @@ | |||
17 | AM_CPPFLAGS = -I$(VARNISHSRC)/include -I$(VARNISHSRC) | 17 | AM_CPPFLAGS = -I$(VARNISHSRC)/include -I$(VARNISHSRC) |
18 | 18 | ||
19 | noinst_LIBRARIES = libbinlog.a | 19 | noinst_LIBRARIES = libbinlog.a |
20 | libbinlog_a_SOURCES = pack.c err.c | 20 | libbinlog_a_SOURCES = pack.c err.c parse-datetime.y xalloc.c |
21 | libbinlog_a_CFLAGS = $(AM_CFLAGS) | 21 | libbinlog_a_CFLAGS = $(AM_CFLAGS) |
22 | 22 | ||
23 | bin_PROGRAMS = binlogcat | 23 | bin_PROGRAMS = binlogcat binlogsel |
24 | binlogcat_SOURCES = binlogcat.c | 24 | binlogcat_SOURCES = binlogcat.c |
25 | binlogcat_LDADD = ./libbinlog.a | 25 | binlogcat_LDADD = ./libbinlog.a |
26 | 26 | ||
27 | binlogsel_SOURCES = binlogsel.c | ||
28 | binlogsel_LDADD = ./libbinlog.a | ||
29 | |||
27 | vmoddir = $(VMODDIR) | 30 | vmoddir = $(VMODDIR) |
28 | vmod_LTLIBRARIES = libvmod_binlog.la | 31 | vmod_LTLIBRARIES = libvmod_binlog.la |
29 | 32 | ||
@@ -36,7 +39,7 @@ libvmod_binlog_la_SOURCES = \ | |||
36 | vmod-binlog.h\ | 39 | vmod-binlog.h\ |
37 | vcc_if.c vcc_if.h | 40 | vcc_if.c vcc_if.h |
38 | 41 | ||
39 | noinst_HEADERS = pack.h err.h | 42 | noinst_HEADERS = pack.h err.h parse-datetime.h xalloc.h |
40 | 43 | ||
41 | BUILT_SOURCES = vcc_if.c vcc_if.h | 44 | BUILT_SOURCES = vcc_if.c vcc_if.h |
42 | 45 | ||