Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
cff4e980
Commit
cff4e980
authored
Apr 03, 2023
by
Dridi Boukelmoune
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: Internally use a $(VSCTOOL) variable
And make vsc.am expect it as one of the input variables.
parent
7fda1321
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
configure.ac
configure.ac
+1
-0
vsc.am
vsc.am
+4
-3
No files found.
configure.ac
View file @
cff4e980
...
...
@@ -645,6 +645,7 @@ AC_SUBST(pkgsysconfdir)
# VMOD variables
AC_SUBST(vmoddir, [$\(pkglibdir\)/vmods])
AC_SUBST(VMODTOOL, [$\(top_srcdir\)/lib/libvcc/vmodtool.py])
AC_SUBST(VSCTOOL, [$\(top_srcdir\)/lib/libvsc/vsctool.py])
# Check for linker script support
gl_LD_VERSION_SCRIPT
...
...
vsc.am
View file @
cff4e980
# Generic rule to generate C code from VSC files. VSC files must be listed
# in the $(VSC_SRC) variable.
# in the $(VSC_SRC) variable. The $(VSCTOOL) variable must point to the
# location of vsctool.py, normally set up by varnish.m4 at configure time.
VSC_GEN = $(VSC_SRC:.vsc=.c) $(VSC_SRC:.vsc=.h)
$(VSC_GEN): $(
top_srcdir)/lib/libvsc/vsctool.py
$(VSC_GEN): $(
VSCTOOL)
.vsc.c:
$(AM_V_GEN) $(PYTHON) $(
top_srcdir)/lib/libvsc/vsctool.py
-ch $<
$(AM_V_GEN) $(PYTHON) $(
VSCTOOL)
-ch $<
clean-local: vsc-clean
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment