From fd7dcaf9a5529aa4d4672215256db865f8a9b16a Mon Sep 17 00:00:00 2001 From: winckel <winckel@eurecom.fr> Date: Thu, 24 Oct 2013 12:29:18 +0000 Subject: [PATCH] Added corrected autodependencies rules for "messages.xml". git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4271 818b1a75-f10b-46b9-bf7c-635c3b92a50f --- targets/SIMU/USER/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/targets/SIMU/USER/Makefile b/targets/SIMU/USER/Makefile index 8bf08bc125..def8aa6395 100644 --- a/targets/SIMU/USER/Makefile +++ b/targets/SIMU/USER/Makefile @@ -321,7 +321,7 @@ S1AP_DIR=$(OPENAIR2_DIR)/S1AP ASN1MESSAGESDIR=$(S1AP_DIR)/MESSAGES ASN1DIR=$(ASN1MESSAGESDIR)/ASN1 --include $(ITTI_MESSAGES_XML:.xml:.d) +-include $(ITTI_MESSAGES_XML:.xml=.d) -include $(OBJ:.o=.d) -include $(OAISIM_OBJS:.o=.d) -include $(OAISIM_PAD_OBJS:.o=.d) @@ -334,12 +334,12 @@ $(ITTI_MESSAGES_H) : $(ITTI_MESSAGES_XML) $(ITTI_MESSAGES_XML) : $(ITTI_MESSAGES_FILE) @echo "Generating messages.xml ..." @gccxml $(L2_incl) $(UTILS_incl) $< -fxml=$@ - @$(CC) -MM $(L2_incl) $(UTILS_incl) $< > $(basename $<).d - @mv -f $(basename $<).d $(basename $<).d.tmp - @sed -e 's|.*:|$@:|' < $(basename $<).d.tmp > $(basename $<).d - @sed -e 's/.*://' -e 's/\\$$//' < $(basename $<).d.tmp | fmt -1 | \ - sed -e 's/^ *//' -e 's/$$/:/' >> $(basename $<).d - @rm -f $(basename $<).d.tmp + @$(CC) -MM $(L2_incl) $(UTILS_incl) $< > $(basename $@).d + @mv -f $(basename $@).d $(basename $@).d.tmp + @sed -e 's|.*:|$@:|' < $(basename $@).d.tmp > $(basename $@).d + @sed -e 's/.*://' -e 's/\\$$//' < $(basename $@).d.tmp | fmt -1 | \ + sed -e 's/^ *//' -e 's/$$/:/' >> $(basename $@).d + @rm -f $(basename $@).d.tmp $(OBJ) $(OAISIM_OBJS) $(OAISIM_PAD_OBJS) $(ASN1_MSG_OBJS1) : %.o : %.c @echo Compiling $< -- GitLab