-
Notifications
You must be signed in to change notification settings - Fork 381
/
Copy pathautomake_boilerplate_cookie.am
42 lines (27 loc) · 1.17 KB
/
automake_boilerplate_cookie.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
## Generated by vmodtool.py --boilerplate.
vmod_cookie_vcc ?= $(srcdir)/vmod_cookie.vcc
vmod_vcc_files += $(vmod_cookie_vcc)
vmod_LTLIBRARIES += libvmod_cookie.la
libvmod_cookie_la_SOURCES = \
vmod_cookie.c
libvmod_cookie_la_CFLAGS =
vmodtoolargs_cookie ?= --strict --boilerplate -o vcc_cookie_if
vmod_cookie_symbols_regex ?= Vmod_cookie_Data
libvmod_cookie_la_LDFLAGS = \
-export-symbols-regex $(vmod_cookie_symbols_regex) \
$(AM_LDFLAGS) \
$(VMOD_LDFLAGS)
nodist_libvmod_cookie_la_SOURCES = vcc_cookie_if.c vcc_cookie_if.h
EXTRA_libvmod_cookie_la_DEPENDENCIES = $(nodist_libvmod_cookie_la_SOURCES)
EXTRA_DIST += automake_boilerplate_cookie.am
$(libvmod_cookie_la_OBJECTS): vcc_cookie_if.h
vcc_cookie_if.h vmod_cookie.rst vmod_cookie.man.rst: vcc_cookie_if.c
# A doc-change will not update mtime on the .h and .c files, so a
# touch(1) is necessary to signal that vmodtool was in fact run.
vcc_cookie_if.c: $(VMODTOOL) $(srcdir)/vmod_cookie.vcc
@PYTHON@ $(VMODTOOL) $(vmodtoolargs_cookie) $(srcdir)/vmod_cookie.vcc
touch vcc_cookie_if.c
clean-local: clean-vmod-cookie
clean-vmod-cookie:
rm -f $(nodist_libvmod_cookie_la_SOURCES)
rm -f vmod_cookie.rst vmod_cookie.man.rst