summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
authorSergey Poznyakoff <gray@gnu.org.ua>2013-10-13 09:44:12 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-10-13 09:48:04 (GMT)
commit23f262e8c6181465347c3bb47644f9d86fcb7432 (patch) (unidiff)
treecdf5ac3a861395ade00b71e7b8cdd641db67032c /src/Makefile.am
parent510fc646f13b843d046323e3477edb6c1bc2258d (diff)
downloadvmod-binlog-23f262e8c6181465347c3bb47644f9d86fcb7432.tar.gz
vmod-binlog-23f262e8c6181465347c3bb47644f9d86fcb7432.tar.bz2
* src/Makefile.am: New convenience library libbinlog.a
* src/binlogcat.c: Use functions from libbinlog.a * src/err.h: New file. * src/err.c: New file. * tests/.gitignore: Add binpack.c * tests/Makefile.am: Build binpack.c * tests/binpack.c: New file.
Diffstat (limited to 'src/Makefile.am') (more/less context) (ignore whitespace changes)
-rw-r--r--src/Makefile.am10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 9ce519f..4e31e89 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -16,9 +16,13 @@
16 16
17AM_CPPFLAGS = -I$(VARNISHSRC)/include -I$(VARNISHSRC) 17AM_CPPFLAGS = -I$(VARNISHSRC)/include -I$(VARNISHSRC)
18 18
19noinst_LIBRARIES = libbinlog.a
20libbinlog_a_SOURCES = pack.c err.c
21libbinlog_a_CFLAGS = $(AM_CFLAGS)
22
19bin_PROGRAMS = binlogcat 23bin_PROGRAMS = binlogcat
20binlogcat_SOURCES = binlogcat.c pack.c 24binlogcat_SOURCES = binlogcat.c
21binlogcat_CFLAGS = $(AM_CFLAGS) 25binlogcat_LDADD = ./libbinlog.a
22 26
23vmoddir = $(VMODDIR) 27vmoddir = $(VMODDIR)
24vmod_LTLIBRARIES = libvmod_binlog.la 28vmod_LTLIBRARIES = libvmod_binlog.la
@@ -32,7 +36,7 @@ libvmod_binlog_la_SOURCES = \
32 vmod-binlog.h\ 36 vmod-binlog.h\
33 vcc_if.c vcc_if.h 37 vcc_if.c vcc_if.h
34 38
35noinst_HEADERS = pack.h 39noinst_HEADERS = pack.h err.h
36 40
37BUILT_SOURCES = vcc_if.c vcc_if.h 41BUILT_SOURCES = vcc_if.c vcc_if.h
38 42

Return to:

Send suggestions and report system problems to the System administrator.