// set up the build dir and DLL name\r
if (PHP_DEBUG == "yes" && PHP_ZTS == "yes") {\r
DEFINE("BUILD_DIR", PHP_OBJECT_OUT_DIR + "Debug_TS");\r
- DEFINE("PHPDLL", "php" + PHP_VERSION + "ts_debug.dll");\r
- DEFINE("PHPLIB", "php" + PHP_VERSION + "ts_debug.lib");\r
+ if (!MODE_PHPIZE) {\r
+ DEFINE("PHPDLL", "php" + PHP_VERSION + "ts_debug.dll");\r
+ DEFINE("PHPLIB", "php" + PHP_VERSION + "ts_debug.lib");\r
+ }\r
} else if (PHP_DEBUG == "yes" && PHP_ZTS == "no") {\r
DEFINE("BUILD_DIR", PHP_OBJECT_OUT_DIR + "Debug");\r
- DEFINE("PHPDLL", "php" + PHP_VERSION + "_debug.dll");\r
- DEFINE("PHPLIB", "php" + PHP_VERSION + "_debug.lib");\r
+ if (!MODE_PHPIZE) {\r
+ DEFINE("PHPDLL", "php" + PHP_VERSION + "_debug.dll");\r
+ DEFINE("PHPLIB", "php" + PHP_VERSION + "_debug.lib");\r
+ }\r
} else if (PHP_DEBUG == "no" && PHP_ZTS == "yes") {\r
DEFINE("BUILD_DIR", PHP_OBJECT_OUT_DIR + "Release_TS");\r
- DEFINE("PHPDLL", "php" + PHP_VERSION + "ts.dll");\r
- DEFINE("PHPLIB", "php" + PHP_VERSION + "ts.lib");\r
+ if (!MODE_PHPIZE) {\r
+ DEFINE("PHPDLL", "php" + PHP_VERSION + "ts.dll");\r
+ DEFINE("PHPLIB", "php" + PHP_VERSION + "ts.lib");\r
+ }\r
} else if (PHP_DEBUG == "no" && PHP_ZTS == "no") {\r
DEFINE("BUILD_DIR", PHP_OBJECT_OUT_DIR + "Release");\r
- DEFINE("PHPDLL", "php" + PHP_VERSION + ".dll");\r
- DEFINE("PHPLIB", "php" + PHP_VERSION + ".lib");\r
+ if (!MODE_PHPIZE) {\r
+ DEFINE("PHPDLL", "php" + PHP_VERSION + ".dll");\r
+ DEFINE("PHPLIB", "php" + PHP_VERSION + ".lib");\r
+ }\r
+}\r
+\r
+if (MODE_PHPIZE) {\r
+ DEFINE("PHPDLL", PHP_DLL);\r
+ DEFINE("PHPLIB", PHP_DLL_LIB);\r
}\r
\r
// Find the php_build dir - it contains headers and libraries\r