1
0
Fork 0
arangodb/lib/Makefile.protobuf

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: