1ARG_ENABLE('phpdbg', 'Build phpdbg', 'no'); 2ARG_ENABLE('phpdbgs', 'Build phpdbg shared', 'no'); 3 4PHPDBG_SOURCES='phpdbg.c phpdbg_prompt.c phpdbg_cmd.c phpdbg_info.c phpdbg_help.c phpdbg_break.c phpdbg_print.c phpdbg_bp.c phpdbg_opcode.c phpdbg_list.c phpdbg_utils.c phpdbg_set.c phpdbg_frame.c phpdbg_watch.c phpdbg_win.c phpdbg_btree.c phpdbg_parser.c phpdbg_lexer.c'; 5PHPDBG_DLL='php' + PHP_VERSION + 'phpdbg.dll'; 6PHPDBG_EXE='phpdbg.exe'; 7 8if (PHP_PHPDBG == "yes") { 9 SAPI('phpdbg', PHPDBG_SOURCES, PHPDBG_EXE); 10 ADD_FLAG("LIBS_PHPDBG", "ws2_32.lib user32.lib"); 11 ADD_FLAG("CFLAGS_PHPDBG", "/D YY_NO_UNISTD_H"); 12} 13 14if (PHP_PHPDBGS == "yes") { 15 SAPI('phpdbgs', PHPDBG_SOURCES, PHPDBG_DLL, '/D PHP_PHPDBG_EXPORTS /I win32'); 16 ADD_FLAG("LIBS_PHPDBGS", "ws2_32.lib user32.lib"); 17 ADD_FLAG("CFLAGS_PHPDBGS", "/D YY_NO_UNISTD_H"); 18} 19 20