summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2004-11-29 20:11:39 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2004-11-29 20:11:39 +0000
commit417da4047cc700e3a920fbbc19e48d7c04dcc2af (patch)
tree943a8c6827a9882a68a1d9c62b8708eecc8921fb
parent67c12c959d7ea9362251ffb8a8e55d3cf141adb2 (diff)
downloadATCD-417da4047cc700e3a920fbbc19e48d7c04dcc2af.tar.gz
ChangeLogTag: Mon Nov 29 14:10:12 2004 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--ChangeLog7
-rw-r--r--ace/ace.mpc36
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"
+ }
}