[7297] Fixed profession spells sorting in trainer spell list at client.
[getmangos.git] / dep / ACE_wrappers / ace / svcconf.mpb
blobc2eee25b8c88a95a5d0a02d5e3b9131fca8f895e
1 // -*- MPC -*-
2 // $Id: svcconf.mpb 81335 2008-04-11 01:53:36Z iliyan $
4 feature(ace_svcconf) {
5   macros -= ACE_LACKS_ACE_SVCCONF
7   Source_Files(ACE_COMPONENTS) {
8     DLL.cpp
9     Dynamic_Service_Base.cpp
10     Dynamic_Service_Dependency.cpp
11     Parse_Node.cpp
12     Service_Config.cpp
13     Service_Gestalt.cpp
14     Service_Manager.cpp
15     Service_Object.cpp
16     Service_Repository.cpp
17     Service_Types.cpp
18     Shared_Object.cpp
19     Svc_Conf_Lexer.cpp
20     Svc_Conf_y.cpp
21     Encoding_Converter.cpp
22     Encoding_Converter_Factory.cpp
23     UTF8_Encoding_Converter.cpp
24     UTF16_Encoding_Converter.cpp
25     UTF32_Encoding_Converter.cpp
26     XML_Svc_Conf.cpp
27   }
29   verbatim(gnuace, local) {
30     "Svc_Conf_y.cpp: Svc_Conf.y"
31     "ifeq ($(notdir $(YACC)), bison)"
32     "   $(YACC) -l -d Svc_Conf.y"
33     "   sed -e 's/fprintf/ACE_OS::fprintf/g' \\"       // Use ACE's fprintf, not library's
34     "       -e 's/\\t/  /g' \\"                        // Eliminate tabs (replace with 2 spaces)
35     "       -e 's/yy/ace_yy/g' \\"
36     "       -e 's/->ace_yyerrno/->yyerrno/g' \\"       // This reverses the ace_ prefix where it
37     "       -e 's/->ace_yylineno/->yylineno/g' \\"     // should not have been added by the substitution, above.
38     "       -e 's/ NULL/ 0/g' \\"
39     "       -e 's/ace_yyerror[ ]*([ ]*\"/ace_yyerror (ACE_SVC_CONF_PARAM->yyerrno, ACE_SVC_CONF_PARAM->yylineno, \"/g' \\"
40     "       -e 's/ace_yyerror[ ]*([ ]*ace_yymsg/ace_yyerror (ACE_SVC_CONF_PARAM->yyerrno, ACE_SVC_CONF_PARAM->yylineno, ace_yymsg/g' \\"
41     "       -e 's/ace_yyerror[ ]*([ ]*YY_/ace_yyerror (ACE_SVC_CONF_PARAM->yyerrno, ACE_SVC_CONF_PARAM->yylineno, YY_/g' \\"
42     "       -e 's@#include <stdio\.h>@@' \\"
43     "       -e 's/Svc_Conf\\.tab\\.c/Svc_Conf_y.cpp/g' <Svc_Conf.tab.c >$@"
44     "   $(RM) -f Svc_Conf.tab.c Svc_Conf_y.cpp.orig"
45     "else"
46     "   @echo 'ERROR: You must use bison 1.35 or higher to process this file'"
47     "   @/bin/false"
48     "endif"
50     "Svc_Conf_Token_Table.h: Svc_Conf.y Svc_Conf_y.cpp"
51     "ifeq ($(notdir $(YACC)), bison)"
52     "   mv Svc_Conf.tab.h Svc_Conf_Token_Table.h"
53     "else"
54     "   @echo 'ERROR: You must use bison 1.35 or higher to process this file'"
55     "   @/bin/false"
56     "endif"
57   }