summaryrefslogtreecommitdiff
path: root/ace/Makefile
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2002-07-30 16:11:07 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2002-07-30 16:11:07 +0000
commit3dcafce4e48f7ddb7bc7145b1bf25682c140e93c (patch)
treefb86552a5726a43cb41a6894c0614bb6aa2dcc42 /ace/Makefile
parentd6ece668bd564af127bea917b0c545bf456c39e4 (diff)
downloadATCD-3dcafce4e48f7ddb7bc7145b1bf25682c140e93c.tar.gz
ChangeLogTag:Tue Jul 30 09:07:29 2002 Ossama Othman <ossama@uci.edu>
Diffstat (limited to 'ace/Makefile')
-rw-r--r--ace/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/ace/Makefile b/ace/Makefile
index 6a0b8a89604..a1234671827 100644
--- a/ace/Makefile
+++ b/ace/Makefile
@@ -562,6 +562,7 @@ Svc_Conf_y.cpp: Svc_Conf.y
-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/$@ $@; \
@@ -575,12 +576,14 @@ Svc_Conf_l.cpp: 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 <stdio\.h>@#include /**/ \"ace/OS.h\"@" \
-e "s@#include <@#include /**/ <@" \
-e "s@ECHO@ACE_SVC_CONF_ECHO@" < $@ > /tmp/$@; \
cp /tmp/$@ $@; \