diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-10-13 12:44:12 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-10-13 12:48:04 +0300 |
commit | 23f262e8c6181465347c3bb47644f9d86fcb7432 (patch) | |
tree | cdf5ac3a861395ade00b71e7b8cdd641db67032c /src/Makefile.am | |
parent | 510fc646f13b843d046323e3477edb6c1bc2258d (diff) | |
download | vmod-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')
-rw-r--r-- | src/Makefile.am | 10 |
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 | |||
@@ -18,5 +18,9 @@ AM_CPPFLAGS = -I$(VARNISHSRC)/include -I$(VARNISHSRC) | |||
18 | 18 | ||
19 | noinst_LIBRARIES = libbinlog.a | ||
20 | libbinlog_a_SOURCES = pack.c err.c | ||
21 | libbinlog_a_CFLAGS = $(AM_CFLAGS) | ||
22 | |||
19 | bin_PROGRAMS = binlogcat | 23 | bin_PROGRAMS = binlogcat |
20 | binlogcat_SOURCES = binlogcat.c pack.c | 24 | binlogcat_SOURCES = binlogcat.c |
21 | binlogcat_CFLAGS = $(AM_CFLAGS) | 25 | binlogcat_LDADD = ./libbinlog.a |
22 | 26 | ||
@@ -34,3 +38,3 @@ libvmod_binlog_la_SOURCES = \ | |||
34 | 38 | ||
35 | noinst_HEADERS = pack.h | 39 | noinst_HEADERS = pack.h err.h |
36 | 40 | ||