-
Notifications
You must be signed in to change notification settings - Fork 381
/
Copy pathautomake_boilerplate_blob.am
49 lines (34 loc) · 1.24 KB
/
automake_boilerplate_blob.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
43
44
45
46
47
48
49
## Generated by vmodtool.py --boilerplate.
vmod_blob_vcc ?= $(srcdir)/vmod_blob.vcc
vmod_vcc_files += $(vmod_blob_vcc)
vmod_LTLIBRARIES += libvmod_blob.la
libvmod_blob_la_SOURCES = \
vmod_blob.c \
vmod_blob.h \
vmod_blob_base64.c \
vmod_blob_hex.c \
vmod_blob_id.c \
vmod_blob_tbl_case.h \
vmod_blob_tbl_encodings.h \
vmod_blob_url.c
libvmod_blob_la_CFLAGS =
vmodtoolargs_blob ?= --strict --boilerplate -o vcc_blob_if
vmod_blob_symbols_regex ?= Vmod_blob_Data
libvmod_blob_la_LDFLAGS = \
-export-symbols-regex $(vmod_blob_symbols_regex) \
$(AM_LDFLAGS) \
$(VMOD_LDFLAGS)
nodist_libvmod_blob_la_SOURCES = vcc_blob_if.c vcc_blob_if.h
EXTRA_libvmod_blob_la_DEPENDENCIES = $(nodist_libvmod_blob_la_SOURCES)
EXTRA_DIST += automake_boilerplate_blob.am
$(libvmod_blob_la_OBJECTS): vcc_blob_if.h
vcc_blob_if.h vmod_blob.rst vmod_blob.man.rst: vcc_blob_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_blob_if.c: $(VMODTOOL) $(srcdir)/vmod_blob.vcc
@PYTHON@ $(VMODTOOL) $(vmodtoolargs_blob) $(srcdir)/vmod_blob.vcc
touch vcc_blob_if.c
clean-local: clean-vmod-blob
clean-vmod-blob:
rm -f $(nodist_libvmod_blob_la_SOURCES)
rm -f vmod_blob.rst vmod_blob.man.rst