Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
STATS: Add more hierarchy to counters.
[vpp.git]
/
src
/
suffix-rules.mk
diff --git
a/src/suffix-rules.mk
b/src/suffix-rules.mk
index
495d828
..
8b1ab83
100644
(file)
--- a/
src/suffix-rules.mk
+++ b/
src/suffix-rules.mk
@@
-14,12
+14,13
@@
# Shared suffix rules
# Please do not set "SUFFIXES = .api.h .api" here
# Shared suffix rules
# Please do not set "SUFFIXES = .api.h .api" here
-%.api.h: %.api @VPPAPIGEN@
+VPPAPIGEN = $(top_srcdir)/tools/vppapigen/vppapigen
+%.api.h: %.api
@echo " APIGEN " $@ ; \
mkdir -p `dirname $@` ; \
@echo " APIGEN " $@ ; \
mkdir -p `dirname $@` ; \
-
@VPPAPIGEN@
--includedir $(top_srcdir) --input $< --output $@
+
$(VPPAPIGEN)
--includedir $(top_srcdir) --input $< --output $@
%.api.json: %.api
@echo " JSON API" $@ ; \
mkdir -p `dirname $@` ; \
%.api.json: %.api
@echo " JSON API" $@ ; \
mkdir -p `dirname $@` ; \
-
@VPPAPIGEN@
--includedir $(top_srcdir) --input $< JSON --output $@
+
$(VPPAPIGEN)
--includedir $(top_srcdir) --input $< JSON --output $@