mirror of https://gitee.com/bigwinds/arangodb
35 lines
1.4 KiB
Makefile
35 lines
1.4 KiB
Makefile
# -*- mode: Makefile; -*-
|
|
|
|
################################################################################
|
|
## --SECTION-- PROTOCOL BUFFERS
|
|
################################################################################
|
|
|
|
################################################################################
|
|
### @brief built sources
|
|
################################################################################
|
|
|
|
BUILT_SOURCES += $(PROTOBUF_FILES)
|
|
|
|
################################################################################
|
|
### @brief protocol buffers
|
|
################################################################################
|
|
|
|
%.pb.cpp: %.proto .protobuf-build-@TRI_BITS@
|
|
@top_srcdir@/3rdParty/protobuf-2.4.1/BUILD/bin/protoc --cpp_out . $<
|
|
mv $(addsuffix .cc,$(basename $@)) $@
|
|
|
|
################################################################################
|
|
### @brief cleanup
|
|
################################################################################
|
|
|
|
CLEANUP += $(PROTOBUF_FILES)
|
|
|
|
################################################################################
|
|
## --SECTION-- END-OF-FILE
|
|
################################################################################
|
|
|
|
## Local Variables:
|
|
## mode: outline-minor
|
|
## outline-regexp: "^\\(### @brief\\|## --SECTION--\\|# -\\*- \\)"
|
|
## End:
|