mirror of
https://github.com/php/php-src.git
synced 2024-12-23 16:59:20 +08:00
4bc7a91be7
Conflicts: sapi/phpdbg/config.m4
30 lines
1.2 KiB
Plaintext
30 lines
1.2 KiB
Plaintext
ARG_ENABLE('phpdbg', 'Build phpdbg', 'no');
|
|
ARG_ENABLE('phpdbgs', 'Build phpdbg shared', 'no');
|
|
ARG_ENABLE('phpdbgwebhelper', 'Build phpdbg webhelper', 'yes');
|
|
|
|
PHPDBG_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 phpdbg_sigsafe.c phpdbg_wait.c phpdbg_io.c ' +
|
|
'phpdbg_sigio_win32.c phpdbg_eol.c phpdbg_out.c';
|
|
PHPDBG_DLL='php' + PHP_VERSION + 'phpdbg.dll';
|
|
PHPDBG_EXE='phpdbg.exe';
|
|
|
|
if (PHP_PHPDBG == "yes") {
|
|
SAPI('phpdbg', PHPDBG_SOURCES, PHPDBG_EXE);
|
|
ADD_FLAG("LIBS_PHPDBG", "ws2_32.lib user32.lib");
|
|
ADD_FLAG("CFLAGS_PHPDBG", "/D YY_NO_UNISTD_H");
|
|
ADD_FLAG("LDFLAGS_PHPDBG", "/stack:8388608");
|
|
|
|
if (PHP_PHPDBGWEBHELPER == "yes") {
|
|
EXTENSION('phpdbg-webhelper', 'phpdbg_rinit_hook.c phpdbg_webdata_compress.c');
|
|
}
|
|
}
|
|
|
|
if (PHP_PHPDBGS == "yes") {
|
|
SAPI('phpdbgs', PHPDBG_SOURCES, PHPDBG_DLL, '/D PHP_PHPDBG_EXPORTS /I win32');
|
|
ADD_FLAG("LIBS_PHPDBGS", "ws2_32.lib user32.lib");
|
|
ADD_FLAG("CFLAGS_PHPDBGS", "/D YY_NO_UNISTD_H");
|
|
}
|
|
|