version 1.1, 2012/02/21 23:48:06
|
version 1.1.1.3, 2013/07/22 01:32:15
|
Line 65 if (MODE_PHPIZE) {
|
Line 65 if (MODE_PHPIZE) {
|
WScript.Quit(10);
|
WScript.Quit(10);
|
}
|
}
|
} else {
|
} else {
|
if (!FSO.FileExists("README.SVN-RULES")) {
| if (!FSO.FileExists("README.GIT-RULES")) {
|
STDERR.WriteLine("Must be run from the root of the php source");
|
STDERR.WriteLine("Must be run from the root of the php source");
|
WScript.Quit(10);
|
WScript.Quit(10);
|
}
|
}
|
Line 74 if (MODE_PHPIZE) {
|
Line 74 if (MODE_PHPIZE) {
|
var CWD = WshShell.CurrentDirectory;
|
var CWD = WshShell.CurrentDirectory;
|
|
|
if (typeof(CWD) == "undefined") {
|
if (typeof(CWD) == "undefined") {
|
CWD = FSO.GetParentFolderName(FSO.GetAbsolutePathName("README.SVN-RULES"));
| CWD = FSO.GetParentFolderName(FSO.GetAbsolutePathName("README.GIT-RULES"));
|
}
|
}
|
|
|
/* defaults; we pick up the precise versions from configure.in */
|
/* defaults; we pick up the precise versions from configure.in */
|
Line 414 can be built that way. \
|
Line 414 can be built that way. \
|
'php-build', 'snapshot-template', 'ereg',
|
'php-build', 'snapshot-template', 'ereg',
|
'pcre-regex', 'fastcgi', 'force-cgi-redirect',
|
'pcre-regex', 'fastcgi', 'force-cgi-redirect',
|
'path-info-check', 'zts', 'ipv6', 'memory-limit',
|
'path-info-check', 'zts', 'ipv6', 'memory-limit',
|
'zend-multibyte', 'fd-setsize', 'memory-manager', 't1lib'
| 'zend-multibyte', 'fd-setsize', 'memory-manager',
|
| 't1lib', 'pgi', 'pgo'
|
);
|
);
|
var force;
|
var force;
|
|
|
Line 1060 function SAPI(sapiname, file_list, makefiletarget, cfl
|
Line 1061 function SAPI(sapiname, file_list, makefiletarget, cfl
|
ldflags = "$(LDFLAGS)";
|
ldflags = "$(LDFLAGS)";
|
manifest = "-@$(_VC_MANIFEST_EMBED_EXE)";
|
manifest = "-@$(_VC_MANIFEST_EMBED_EXE)";
|
}
|
}
|
|
|
|
if(PHP_PGI == "yes" || PHP_PGO != "no") {
|
|
ldflags += " /PGD:$(PGOPGD_DIR)\\" + makefiletarget.substring(0, makefiletarget.indexOf(".")) + ".pgd";
|
|
}
|
|
|
if (MODE_PHPIZE) {
|
if (MODE_PHPIZE) {
|
if (ld) {
|
if (ld) {
|
Line 1199 function EXTENSION(extname, file_list, shared, cflags,
|
Line 1204 function EXTENSION(extname, file_list, shared, cflags,
|
var objs = null;
|
var objs = null;
|
var EXT = extname.toUpperCase();
|
var EXT = extname.toUpperCase();
|
var extname_for_printing;
|
var extname_for_printing;
|
|
var ldflags;
|
|
|
if (shared == null) {
|
if (shared == null) {
|
eval("shared = PHP_" + EXT + "_SHARED;");
|
eval("shared = PHP_" + EXT + "_SHARED;");
|
Line 1228 function EXTENSION(extname, file_list, shared, cflags,
|
Line 1234 function EXTENSION(extname, file_list, shared, cflags,
|
MFO.WriteLine("# objects for EXT " + extname);
|
MFO.WriteLine("# objects for EXT " + extname);
|
MFO.WriteBlankLines(1);
|
MFO.WriteBlankLines(1);
|
|
|
|
|
ADD_SOURCES(configure_module_dirname, file_list, extname, obj_dir);
|
ADD_SOURCES(configure_module_dirname, file_list, extname, obj_dir);
|
|
|
MFO.WriteBlankLines(1);
|
MFO.WriteBlankLines(1);
|
Line 1242 function EXTENSION(extname, file_list, shared, cflags,
|
Line 1247 function EXTENSION(extname, file_list, shared, cflags,
|
var resname = generate_version_info_resource(dllname, extname, configure_module_dirname, false);
|
var resname = generate_version_info_resource(dllname, extname, configure_module_dirname, false);
|
var ld = "@$(CC)";
|
var ld = "@$(CC)";
|
|
|
|
ldflags = "";
|
|
if (PHP_PGI == "yes" || PHP_PGO != "no") {
|
|
ldflags = " /PGD:$(PGOPGD_DIR)\\" + dllname.substring(0, dllname.indexOf(".")) + ".pgd";
|
|
}
|
|
|
MFO.WriteLine("$(BUILD_DIR)\\" + libname + ": $(BUILD_DIR)\\" + dllname);
|
MFO.WriteLine("$(BUILD_DIR)\\" + libname + ": $(BUILD_DIR)\\" + dllname);
|
MFO.WriteBlankLines(1);
|
MFO.WriteBlankLines(1);
|
if (MODE_PHPIZE) {
|
if (MODE_PHPIZE) {
|
Line 1249 function EXTENSION(extname, file_list, shared, cflags,
|
Line 1259 function EXTENSION(extname, file_list, shared, cflags,
|
MFO.WriteLine("\t" + ld + " $(" + EXT + "_GLOBAL_OBJS) $(PHPLIB) $(LIBS_" + EXT + ") $(LIBS) $(BUILD_DIR)\\" + resname + " /link /out:$(BUILD_DIR)\\" + dllname + " $(DLL_LDFLAGS) $(LDFLAGS) $(LDFLAGS_" + EXT + ")");
|
MFO.WriteLine("\t" + ld + " $(" + EXT + "_GLOBAL_OBJS) $(PHPLIB) $(LIBS_" + EXT + ") $(LIBS) $(BUILD_DIR)\\" + resname + " /link /out:$(BUILD_DIR)\\" + dllname + " $(DLL_LDFLAGS) $(LDFLAGS) $(LDFLAGS_" + EXT + ")");
|
} else {
|
} else {
|
MFO.WriteLine("$(BUILD_DIR)\\" + dllname + ": $(DEPS_" + EXT + ") $(" + EXT + "_GLOBAL_OBJS) $(BUILD_DIR)\\$(PHPLIB) $(BUILD_DIR)\\" + resname);
|
MFO.WriteLine("$(BUILD_DIR)\\" + dllname + ": $(DEPS_" + EXT + ") $(" + EXT + "_GLOBAL_OBJS) $(BUILD_DIR)\\$(PHPLIB) $(BUILD_DIR)\\" + resname);
|
MFO.WriteLine("\t" + ld + " $(" + EXT + "_GLOBAL_OBJS) $(BUILD_DIR)\\$(PHPLIB) $(LIBS_" + EXT + ") $(LIBS) $(BUILD_DIR)\\" + resname + " /link /out:$(BUILD_DIR)\\" + dllname + " $(DLL_LDFLAGS) $(LDFLAGS) $(LDFLAGS_" + EXT + ")");
| MFO.WriteLine("\t" + ld + " $(" + EXT + "_GLOBAL_OBJS) $(BUILD_DIR)\\$(PHPLIB) $(LIBS_" + EXT + ") $(LIBS) $(BUILD_DIR)\\" + resname + " /link /out:$(BUILD_DIR)\\" + dllname + ldflags + " $(DLL_LDFLAGS) $(LDFLAGS) $(LDFLAGS_" + EXT + ")");
|
}
|
}
|
MFO.WriteLine("\t-@$(_VC_MANIFEST_EMBED_DLL)");
|
MFO.WriteLine("\t-@$(_VC_MANIFEST_EMBED_DLL)");
|
MFO.WriteBlankLines(1);
|
MFO.WriteBlankLines(1);
|