Commit f544b243 authored by Geoff Simmons's avatar Geoff Simmons

Fixes for make distcheck.

parent c48bfde0
......@@ -55,9 +55,9 @@ AC_ARG_VAR([VARNISHSRC], [path to Varnish source tree (REQUIRED)])
if test "${VARNISHSRC+set}" != set; then
AC_MSG_ERROR([VARNISHSRC must be set (path to Varnish source tree)])
fi
AC_CHECK_FILE(["$VARNISHSRC/include/miniobj.h"],
AC_CHECK_FILE(["$VARNISHSRC/include/vcs_version.h"],
[AC_MSG_RESULT([VARNISHSRC (Varnish source dir)... $VARNISHSRC])],
[AC_MSG_ERROR([VARNISHSRC ($VARNISHSRC) is not a Varnish source dir])])
[AC_MSG_ERROR([VARNISHSRC ($VARNISHSRC) is not a built Varnish source])])
# --enable-stack-protector
AC_ARG_ENABLE(stack-protector,
......
......@@ -8,11 +8,24 @@ AM_LDFLAGS = $(VARNISHAPI_LIBS) $(VMOD_LDFLAGS) -ldl
vmod_LTLIBRARIES = libvmod_pesi.la
libvmod_pesi_la_SOURCES = \
misc.h \
misc.c \
pesi.h \
pesi_flags.h \
pesi_tree.h \
pesi.c \
node.h \
node_assert.h \
node_head.h \
node_mempool.h \
node.c \
vmod_pesi.c \
vdp_pesi.h \
vdp_pesi.c \
debug.h \
tbl_set_parameter.h \
foreign/qdef.h \
foreign/from_cache_esi_deliver.h \
foreign/from_cache_esi_deliver.c \
foreign/from_cache_hash.h \
foreign/from_cache_hash.c
......@@ -27,11 +40,22 @@ dist_man_MANS = vdp_pesi.3
@BUILD_VSC_PESI@
vmod_pesi.c: vcc_if.h VSC_pesi.c VSC_pesi.h
vmod_pesi.lo: vcc_if.h VSC_pesi.c VSC_pesi.h misc.h node_mempool.h \
pesi_flags.h vdp_pesi.h tbl_set_parameter.h
vdp_pesi.lo: debug.h vdp_pesi.h node.h node_assert.h pesi.h pesi_flags.h \
pesi_tree.h misc.h
misc.lo: misc.h debug.h
node.lo: debug.h node.h node_assert.h node_mempool.h pesi.h misc.h vcc_if.h \
foreign/from_cache_hash.h
pesi.lo: debug.h VSC_pesi.h pesi_tree.h pesi_flags.h pesi.h
vcc_if.h vmod_pesi.rst vmod_pesi.man.rst: vcc_if.c
foreign/from_cache_hash.c: foreign/from_cache_hash.h
foreign/from_cache_hash.lo: foreign/from_cache_hash.h
vcc_if.c: vdp_pesi.vcc
$(AM_V_VMODTOOL) $(PYTHON) $(VMODTOOL) -o vcc_if $(srcdir)/vdp_pesi.vcc
......@@ -54,7 +78,7 @@ TESTS = @VMOD_TESTS@
EXTRA_DIST = \
vdp_pesi.vcc \
selector.vsc \
pesi.vsc \
$(VMOD_TESTS)
CLEANFILES = \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment