summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
authorSergey Poznyakoff <gray@gnu.org.ua>2013-10-14 12:28:51 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-10-14 14:54:41 (GMT)
commitf035194d7d1b6cc0846ad7a5d86e0d6fa9463c67 (patch) (side-by-side diff)
tree494d180cee9a078727c8d4965caa65cb2052f33d /src/Makefile.am
parent58f7dbc0658b3d73816a1bc91b75c2bdac733510 (diff)
downloadvmod-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') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Makefile.am9
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 @@
AM_CPPFLAGS = -I$(VARNISHSRC)/include -I$(VARNISHSRC)
noinst_LIBRARIES = libbinlog.a
-libbinlog_a_SOURCES = pack.c err.c
+libbinlog_a_SOURCES = pack.c err.c parse-datetime.y xalloc.c
libbinlog_a_CFLAGS = $(AM_CFLAGS)
-bin_PROGRAMS = binlogcat
+bin_PROGRAMS = binlogcat binlogsel
binlogcat_SOURCES = binlogcat.c
binlogcat_LDADD = ./libbinlog.a
+binlogsel_SOURCES = binlogsel.c
+binlogsel_LDADD = ./libbinlog.a
+
vmoddir = $(VMODDIR)
vmod_LTLIBRARIES = libvmod_binlog.la
@@ -36,7 +39,7 @@ libvmod_binlog_la_SOURCES = \
vmod-binlog.h\
vcc_if.c vcc_if.h
-noinst_HEADERS = pack.h err.h
+noinst_HEADERS = pack.h err.h parse-datetime.h xalloc.h
BUILT_SOURCES = vcc_if.c vcc_if.h

Return to:

Send suggestions and report system problems to the System administrator.