diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-23 17:26:36 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-01-23 17:26:36 +0000 |
commit | 5b896b67a9fe87806f97b6b030922b8cc6dad88e (patch) | |
tree | 51f6f1d4c4bf5eeb8c1ae64e215de4c2154c309d | |
parent | bc5e49f8213c8a6e0f289b32167a9596cdc03749 (diff) | |
download | ATCD-5b896b67a9fe87806f97b6b030922b8cc6dad88e.tar.gz |
added patch to fix up y.tab.cpp to compile cleanly with g++
-rw-r--r-- | TAO/TAO_IDL/fe/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/TAO_IDL/fe/Makefile b/TAO/TAO_IDL/fe/Makefile index b93212c644f..d050417679e 100644 --- a/TAO/TAO_IDL/fe/Makefile +++ b/TAO/TAO_IDL/fe/Makefile @@ -62,15 +62,16 @@ LFLAGS = -t # Create the parser and lexer y.tab.h y.tab.cpp: idl.yy @-$(RM) -f $@ - @$(YACC) $(YFLAGS) idl.yy + $(YACC) $(YFLAGS) idl.yy @mv -f y.tab.c y.tab.cpp @patch < y.tab.cpp.diff lex.yy.cpp: idl.ll y.tab.h $(LEX) $(LFLAGS) idl.ll > $@ - sed -e "s/unistd/stdio/g" -e "s@#include <@#include /**/ <@" -e "s/ECHO/TAO_ECHO/g" < $@ >> /tmp/$@ - cp /tmp/$@ $@ - $(RM) -f /tmp/$@ + @sed -e "s/unistd/stdio/g" -e "s@#include <@#include /**/ <@" -e "s/ECHO/TAO_ECHO/g" < $@ >> /tmp/$@ + @cp /tmp/$@ $@ + @(RM) -f /tmp/$@ + @patch < lex.yy.cpp.diff #---------------------------------------------------------------------------- # Dependencies |