summaryrefslogtreecommitdiffabout
path: root/src/Makefile.am
Side-by-side diff
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 @@
AM_CPPFLAGS = -I$(VARNISHSRC)/include -I$(VARNISHSRC)
+noinst_LIBRARIES = libbinlog.a
+libbinlog_a_SOURCES = pack.c err.c
+libbinlog_a_CFLAGS = $(AM_CFLAGS)
+
bin_PROGRAMS = binlogcat
-binlogcat_SOURCES = binlogcat.c pack.c
-binlogcat_CFLAGS = $(AM_CFLAGS)
+binlogcat_SOURCES = binlogcat.c
+binlogcat_LDADD = ./libbinlog.a
vmoddir = $(VMODDIR)
vmod_LTLIBRARIES = libvmod_binlog.la
@@ -32,7 +36,7 @@ libvmod_binlog_la_SOURCES = \
vmod-binlog.h\
vcc_if.c vcc_if.h
-noinst_HEADERS = pack.h
+noinst_HEADERS = pack.h err.h
BUILT_SOURCES = vcc_if.c vcc_if.h

Return to:

Send suggestions and report system problems to the System administrator.