diff --git a/targets/SIMU/USER/Makefile b/targets/SIMU/USER/Makefile index f88ed518ca481ddbc1eca028cddfe8dd52b5604e..f059bfe95a5996f60cfe3ae40ee7405220ff9a02 100644 --- a/targets/SIMU/USER/Makefile +++ b/targets/SIMU/USER/Makefile @@ -329,6 +329,13 @@ ASN1DIR=$(ASN1MESSAGESDIR)/ASN1 -include $(OAISIM_PAD_OBJS:.o=.d) -include $(ASN1_MSG_OBJS1:.o=.d) +ifdef ENABLE_ITTI +gccxml_available = $(shell if [ `gccxml --version | grep GCC-XML -c` = "0" ]; then echo "0" ; else echo "1" ; fi ) +ifeq ($(gccxml_available), 0) +$(error gccxml is missing, please install) +endif +endif + $(ITTI_MESSAGES_XML): $(ITTI_MESSAGES_FILE) @echo "Generating messages.xml ..." @gccxml $(L2_incl) $(UTILS_incl) $< -fxml=$@