Commit 79408e0e authored by Sebastien Gougeaud's avatar Sebastien Gougeaud Committed by Thomas Leibovici
Browse files

make: fix 'warning: jobserver [...] Add + to parent make rule



According to the documentation, this warning means that the parent
process does not know that the child is a make process, and can not
communicate with it. This is easily fixed by replacing all 'make'
commands in Makefile.am by $(MAKE).

Change-Id: Ie36f55880a470b334185af015994d542c3dbe745
Signed-off-by: default avatarSebastien Gougeaud <sebastien.gougeaud@cea.fr>
Reviewed-on: https://cws-fleury.labs.ocre.cea.fr/gerrit/6658


Reviewed-by: Linter
Reviewed-by: default avatarQuentin Bouget <quentin.bouget@cea.fr>
Tested-by: default avatarJenkins s8open_nr <s8open_nr@ccc.ocre.cea.fr>
Reviewed-by: default avatarThomas Leibovici <thomas.leibovici@cea.fr>
parent 52fea1e8
......@@ -13,4 +13,4 @@ noinst_HEADERS=pho_cfg.h pho_comm.h pho_common.h pho_dss.h pho_io.h \
include_HEADERS=pho_attrs.h phobos_store.h phobos_admin.h
$(proto_headers): %.pb-c.h: $(protodir)/%.proto
make -C $(protodir) gen-proto
$(MAKE) -C $(protodir) gen-proto
......@@ -12,10 +12,10 @@ proto_headers=$(incdir)/pho_proto_common.pb-c.h $(incdir)/pho_proto_lrs.pb-c.h
proto_sources=$(srldir)/proto_common.pb-c.c $(srldir)/proto_lrs.pb-c.c
$(proto_headers): $(incdir)/%.pb-c.h: %.proto
make gen-proto
$(MAKE) gen-proto
$(proto_sources): $(srldir)/%.pb-c.c: pho_%.proto
make gen-proto
$(MAKE) gen-proto
gen-proto:
protoc-c --c_out=. ${libpho_proto_la_SOURCES}
......
......@@ -8,4 +8,4 @@ libpho_serializer_la_SOURCES=srl_lrs.c $(proto_sources)
libpho_serializer_la_LIBADD=-lprotobuf-c
$(proto_sources): %.pb-c.c: $(protodir)/pho_%.proto
make -C $(protodir) gen-proto
$(MAKE) -C $(protodir) gen-proto
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment