mirror of https://gitee.com/bigwinds/arangodb
29 lines
1.1 KiB
Makefile
29 lines
1.1 KiB
Makefile
# -*- mode: Makefile; -*-
|
|
|
|
## -----------------------------------------------------------------------------
|
|
## --SECTION-- PROTOCOL BUFFERS
|
|
## -----------------------------------------------------------------------------
|
|
|
|
################################################################################
|
|
### @brief built sources
|
|
################################################################################
|
|
|
|
BUILT_SOURCES += $(PROTOBUF_FILES)
|
|
|
|
################################################################################
|
|
### @brief protocol buffers
|
|
################################################################################
|
|
|
|
%.pb.cpp: %.proto @PROTOBUF_PROTOC@
|
|
@PROTOBUF_PROTOC@ --cpp_out . $<
|
|
mv $(addsuffix .cc,$(basename $@)) $@
|
|
|
|
## -----------------------------------------------------------------------------
|
|
## --SECTION-- END-OF-FILE
|
|
## -----------------------------------------------------------------------------
|
|
|
|
## Local Variables:
|
|
## mode: outline-minor
|
|
## outline-regexp: "^\\(### @brief\\|## --SECTION--\\|# -\\*- \\)"
|
|
## End:
|