diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-08-05 19:50:12 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2017-08-05 20:21:05 +0300 |
commit | 625b9a4fa3c302715b06fcde8da3544f71cfe8b0 (patch) | |
tree | aa56be3b3129c8bfba769cfc9ec763ee3b1f9b69 /src/Makefile.am | |
parent | aa3bfb206b14da4de737394d73098fb069b3d8ac (diff) | |
download | vmod-dbrw-625b9a4fa3c302715b06fcde8da3544f71cfe8b0.tar.gz vmod-dbrw-625b9a4fa3c302715b06fcde8da3544f71cfe8b0.tar.bz2 |
Switch to new acvmod. Remove the --with-varnish-source option. Fix the testsuite.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 00110d9..f971354 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,5 +1,5 @@ # This file is part of vmod-dbrw -# Copyright (C) 2013-2014, 2016 Sergey Poznyakoff +# Copyright (C) 2013-2017 Sergey Poznyakoff # # Vmod-dbrw is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -14,11 +14,7 @@ # You should have received a copy of the GNU General Public License # along with vmod-dbrw. If not, see <http://www.gnu.org/licenses/>. -AM_CPPFLAGS =\ - -I$(VARNISHSRC)/include\ - -I$(VARNISHSRC)/bin/varnishd\ - -I$(VARNISHSRC) - +AM_CPPFLAGS=$(VARNISHAPI_CFLAGS) -I. noinst_LTLIBRARIES = libsql.la libsql_la_SOURCES = \ be.c\ @@ -50,12 +46,11 @@ vmod_dbrw.lo: vcc_if.h CLEANFILES = vcc_if.c vcc_if.h *.rst -vmodtool = $(VARNISHSRC)/lib/libvcc/vmodtool.py vmodtoolargs = --strict vccfile = $(top_srcdir)/src/vmod_dbrw.vcc vcc_if.c vcc_if.h: $(vmodtool) $(vccfile) - $(AM_V_GEN)$(PYTHON) $(vmodtool) $(vmodtoolargs) $(vccfile) + $(AM_V_GEN)$(PYTHON) $(VARNISHAPI_VMODTOOL) $(vmodtoolargs) $(vccfile) EXTRA_DIST = \ vmod_dbrw.vcc |