https://github.com/p4lang/PI/blob/master/proto/Makefile.am We have quite a few protos and C++ compilation of all the generated source code for them can take quite some time.