Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
131 lines (122 sloc) 2.77 KB
#
# API headers
nobase_pkginclude_HEADERS = \
tbl/acct_fields.h \
tbl/backend_poll.h \
tbl/ban_vars.h \
tbl/body_status.h \
tbl/http_headers.h \
tbl/http_response.h \
tbl/locks.h \
tbl/steps.h \
tbl/symbol_kind.h \
tbl/vcc_types.h \
tbl/vcl_returns.h \
tbl/vrt_stv_var.h \
tbl/vsc_all.h \
tbl/vsc_fields.h \
tbl/vsc_f_main.h \
tbl/vsl_tags.h \
tbl/vsl_tags_http.h \
vapi/vsm.h \
vapi/vsm_int.h \
vapi/vsc.h \
vapi/vsc_int.h \
vapi/vsl.h \
vapi/vsl_int.h \
vcli.h
# Private headers
nobase_noinst_HEADERS = \
binary_heap.h \
compat/daemon.h \
compat/execinfo.h \
compat/srandomdev.h \
flopen.h \
libvcl.h \
persistent.h \
vcli_common.h \
vcli_priv.h \
vcli_serve.h \
vcs_version.h \
vct.h \
vend.h \
vev.h \
vfil.h \
vin.h \
vlu.h \
vmb.h \
vnum.h \
vpf.h \
vsub.h \
vss.h \
vtcp.h \
vtim.h
# Headers for use with vmods
pkgdataincludedir = $(pkgdatadir)/include
nobase_pkgdatainclude_HEADERS = \
miniobj.h \
vas.h \
vav.h \
vbm.h \
vcl.h \
vcs.h \
vmod_abi.h \
vqueue.h \
vre.h \
vdef.h \
vrt.h \
vrt_obj.h \
vsb.h \
vsha256.h
tbl/vrt_stv_var.h tbl/vcl_returns.h vcl.h vrt_obj.h: $(top_srcdir)/lib/libvcl/generate.py $(top_srcdir)/include/vrt.h
mkdir -p tbl
@PYTHON@ $(top_srcdir)/lib/libvcl/generate.py $(top_srcdir) $(top_builddir)
BUILT_SOURCES = vcs_version.h vmod_abi.h
MAINTAINERCLEANFILES = vcs_version.h
vcs_version.h: FORCE
@if [ -d "$(top_srcdir)/.git" ]; then \
V="$$(git show -s --pretty=format:%h)" \
H="$$(head -n 1 vcs_version.h 2>/dev/null || true)"; \
if [ "/* $$V */" != "$$H" ]; then \
( \
echo "/* $$V */" ;\
echo '/*' ;\
echo ' * NB: This file is machine generated, DO NOT EDIT!' ;\
echo ' *' ;\
echo ' * Run make to regenerate' ;\
echo ' *' ;\
echo ' */' ;\
echo "/* $$V */" ;\
echo '' ;\
echo "#define VCS_Version \"$$V\"" \
) > vcs_version.h ; \
fi \
else \
if [ ! -f vcs_version.h ]; then \
( \
echo "/* NOGIT */" ; \
echo '/* No git commit ID available, see include/Makefile.am for explanation */' ; \
echo '#define VCS_Version "NOGIT"' \
) > vcs_version.h ; \
fi \
fi
FORCE:
# If vcs_version contains NOGIT, Varnish has not been built from a
# tarball made with make dist, nor from a git checkout, so there's no
# way for us to give strong guarantees about what version you're
# actually running.
#
# The way to fix this is to either build Varnish from a tarball made
# with `make dist` or a git checkout.
vmod_abi.h: vcs_version.h
@GITID=$$(sed 's/[^0-9a-f]//g;q' vcs_version.h) ; \
if [ -z "$$GITID" ]; then \
echo "warning: weak VMOD ABI checking, see include/Makefile.am" ; \
fi ; \
echo "#define VMOD_ABI_Version \"@PACKAGE_STRING@ $$GITID\"" > vmod_abi.h
CLEANFILES = \
tbl/vcl_returns.h \
tbl/vrt_stv_var.h \
vcl.h \
vrt_obj.h \
vmod_abi.h
Jump to Line
Something went wrong with that request. Please try again.