Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
API refactoring : vxlan-gpe
[vpp.git]
/
build-data
/
suffix-rules.mk
diff --git
a/build-data/suffix-rules.mk
b/build-data/suffix-rules.mk
index
9506929
..
e3eeb92
100644
(file)
--- a/
build-data/suffix-rules.mk
+++ b/
build-data/suffix-rules.mk
@@
-20,4
+20,8
@@
$(CC) $(CPPFLAGS) -E -P -C -x c $^ \
| vppapigen --input - --output $@ --show-name $@
-
+%.api.json: %.api
+ @echo " JSON APIGEN " $@ ; \
+ mkdir -p `dirname $@` ; \
+ $(CC) $(CPPFLAGS) -E -P -C -x c $^ \
+ | vppapigen --input - --json $@