diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2004-11-29 20:11:39 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2004-11-29 20:11:39 +0000 |
commit | 417da4047cc700e3a920fbbc19e48d7c04dcc2af (patch) | |
tree | 943a8c6827a9882a68a1d9c62b8708eecc8921fb | |
parent | 67c12c959d7ea9362251ffb8a8e55d3cf141adb2 (diff) | |
download | ATCD-417da4047cc700e3a920fbbc19e48d7c04dcc2af.tar.gz |
ChangeLogTag: Mon Nov 29 14:10:12 2004 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | ace/ace.mpc | 36 |
2 files changed, 43 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index afc6e3737ea..45e8d477d1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Mon Nov 29 14:10:12 2004 Chad Elliott <elliott_c@ociweb.com> + + * ace/ace.mpc: + + Added a verbatim clause with MPC-ized versions of the original + Svc_Conf_y.cpp and Svc_Conf_l.cpp targets from Makefile.ace. + Mon Nov 29 13:12:14 2004 Chad Elliott <elliott_c@ociweb.com> * bin/MakeProjectCreator/templates/gnu.mpd: diff --git a/ace/ace.mpc b/ace/ace.mpc index debfc277490..7f251355452 100644 --- a/ace/ace.mpc +++ b/ace/ace.mpc @@ -492,4 +492,40 @@ project(ACE) : acedefaults, aceversion, core, qt_reactor, other, codecs, token, README ../VERSION } + verbatim(gnuace, local) { + "Svc_Conf_y.cpp: Svc_Conf.y" + " $(YACC) -l -d Svc_Conf.y" + " sed -e 's/char \\*getenv/char *ace_foo/g' \\" + " -e 's/= getenv/= ACE_OS::getenv/g' \\" + " -e 's/fprintf/ACE_OS::fprintf/g' \\" + " -e 's/yy/ace_yy/g' \\" + " -e 's/->ace_yyerrno/->yyerrno/g' \\" + " -e 's/->ace_yylineno/->yylineno/g' \\" + " -e 's/YY/ACE_YY/g' \\" + " -e 's/Svc_Conf\\.tab\\.c/Svc_Conf_y.cpp/g' < Svc_Conf.tab.c > /tmp/$@" + " cp /tmp/$@ $@" + " patch < ../etc/Svc_Conf_y.cpp.diff" + " echo \/\/ '$$Id$$' > Svc_Conf_Tokens.h" + " cat Svc_Conf.tab.h >> Svc_Conf_Tokens.h" + " $(RM) -f /tmp/$@ Svc_Conf.tab.c Svc_Conf.tab.h Svc_Conf_y.cpp.orig" + + "Svc_Conf_l.cpp: Svc_Conf.l" + " $(LEX) -L -t -I Svc_Conf.l > $@" + " sed -e 's/unistd/stdio/g' \\" + " -e 's/yy/ace_yy/g' \\" + " -e 's/YY/ACE_YY/g' \\" + " -e 's/->ace_yyerrno/->yyerrno/g' \\" + " -e 's/->ace_yylineno/->yylineno/g' \\" + " -e 's/free( ptr );/free( ACE_MALLOC_T (ptr) );/g' \\" + " -e 's/exit( 1 );/ACE_OS::exit( 1 );/g' \\" + " -e 's/isatty( fileno(file)/ACE_OS::isatty( fileno (file)/g' \\" + " -e 's/int isatty/int nop_isatty/g' \\" + " -e 's/realloc( ptr, size );/realloc( ACE_MALLOC_T (ptr), size );/g' \\" + " -e 's@#include <stdio\.h>@#include /**/ \"ace/OS.h\"@' \\" + " -e 's@#include <@#include /**/ <@' \\" + " -e 's@ECHO@ACE_SVC_CONF_ECHO@' < $@ > /tmp/$@" + " cp /tmp/$@ $@" + " patch < ../etc/Svc_Conf_l.cpp.diff" + " $(RM) -f /tmp/$@ Svc_Conf_l.cpp.orig" + } } |