diff --git a/PC/VS7.1/_bsddb.vcproj b/PC/VS7.1/_bsddb.vcproj
index 85da3b352fb..4fb78db5fe5 100644
--- a/PC/VS7.1/_bsddb.vcproj
+++ b/PC/VS7.1/_bsddb.vcproj
@@ -20,7 +20,7 @@
+ RelativePath="..\..\Modules\_bsddb.c">
diff --git a/PC/VS7.1/_ctypes.vcproj b/PC/VS7.1/_ctypes.vcproj
index 748ee44f7f8..b4b9ed13931 100644
--- a/PC/VS7.1/_ctypes.vcproj
+++ b/PC/VS7.1/_ctypes.vcproj
@@ -20,7 +20,7 @@
+ RelativePath="..\..\Modules\_ctypes\_ctypes.c">
+ RelativePath="..\..\Modules\_ctypes\callbacks.c">
+ RelativePath="..\..\Modules\_ctypes\callproc.c">
+ RelativePath="..\..\Modules\_ctypes\cfield.c">
+ RelativePath="..\..\Modules\_ctypes\libffi_msvc\ffi.c">
+ RelativePath="..\..\Modules\_ctypes\malloc_closure.c">
+ RelativePath="..\..\Modules\_ctypes\libffi_msvc\prep_cif.c">
+ RelativePath="..\..\Modules\_ctypes\stgdict.c">
+ RelativePath="..\..\Modules\_ctypes\libffi_msvc\win32.c">
@@ -277,7 +277,7 @@
+ RelativePath="..\..\Modules\_ctypes\libffi_msvc\win64.asm">
diff --git a/PC/VS7.1/_ctypes_test.vcproj b/PC/VS7.1/_ctypes_test.vcproj
index a4bb7f1385a..fd237e50b81 100644
--- a/PC/VS7.1/_ctypes_test.vcproj
+++ b/PC/VS7.1/_ctypes_test.vcproj
@@ -19,7 +19,7 @@
+ RelativePath="..\..\Modules\_ctypes\_ctypes_test.c">
diff --git a/PC/VS7.1/_elementtree.vcproj b/PC/VS7.1/_elementtree.vcproj
index 587a35c1ac3..63301d7f1c3 100644
--- a/PC/VS7.1/_elementtree.vcproj
+++ b/PC/VS7.1/_elementtree.vcproj
@@ -21,7 +21,7 @@
+ RelativePath="..\..\Modules\_elementtree.c">
+ RelativePath="..\..\Modules\expat\xmlparse.c">
+ RelativePath="..\..\Modules\expat\xmlrole.c">
+ RelativePath="..\..\Modules\expat\xmltok.c">
diff --git a/PC/VS7.1/_msi.vcproj b/PC/VS7.1/_msi.vcproj
index be2a92cfad9..af294535d9d 100644
--- a/PC/VS7.1/_msi.vcproj
+++ b/PC/VS7.1/_msi.vcproj
@@ -5,7 +5,7 @@
Name="_msi"
ProjectGUID="{2C0BEFB9-70E2-4F80-AC5B-4AB8EE023574}"
SccProjectName="_msi"
- SccLocalPath="..\pc">
+ SccLocalPath="..\..\pc">
@@ -22,7 +22,7 @@
+ RelativePath="..\..\PC\_msi.c">
diff --git a/PC/VS7.1/_socket.vcproj b/PC/VS7.1/_socket.vcproj
index 26f77efbeef..e3a0cc0a7d4 100644
--- a/PC/VS7.1/_socket.vcproj
+++ b/PC/VS7.1/_socket.vcproj
@@ -20,7 +20,7 @@
+ RelativePath="..\..\Modules\socketmodule.c">
diff --git a/PC/VS7.1/_sqlite3.vcproj b/PC/VS7.1/_sqlite3.vcproj
index aea39780607..623ec3776ac 100644
--- a/PC/VS7.1/_sqlite3.vcproj
+++ b/PC/VS7.1/_sqlite3.vcproj
@@ -21,7 +21,7 @@
+ RelativePath="..\..\Modules\_sqlite\cache.c">
+ RelativePath="..\..\Modules\_sqlite\connection.c">
+ RelativePath="..\..\Modules\_sqlite\cursor.c">
+ RelativePath="..\..\Modules\_sqlite\microprotocols.c">
+ RelativePath="..\..\Modules\_sqlite\module.c">
+ RelativePath="..\..\Modules\_sqlite\prepare_protocol.c">
+ RelativePath="..\..\Modules\_sqlite\row.c">
+ RelativePath="..\..\Modules\_sqlite\statement.c">
+ RelativePath="..\..\Modules\_sqlite\util.c">
diff --git a/PC/VS7.1/_ssl.vcproj b/PC/VS7.1/_ssl.vcproj
index c1abd2486b2..78eadd2c50c 100644
--- a/PC/VS7.1/_ssl.vcproj
+++ b/PC/VS7.1/_ssl.vcproj
@@ -73,10 +73,10 @@
+ RelativePath="..\..\Modules\_ssl.c">
+ RelativePath="..\..\Modules\_hashopenssl.c">
diff --git a/PC/VS7.1/_testcapi.vcproj b/PC/VS7.1/_testcapi.vcproj
index a91d8ce16ea..4b2e257a453 100644
--- a/PC/VS7.1/_testcapi.vcproj
+++ b/PC/VS7.1/_testcapi.vcproj
@@ -22,7 +22,7 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="..\Include,..\PC"
+ AdditionalIncludeDirectories="..\..\Include,..\..\PC"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MMAP_EXPORTS"
StringPooling="TRUE"
RuntimeLibrary="2"
@@ -74,7 +74,7 @@
+ RelativePath="..\..\Modules\_testcapimodule.c">
diff --git a/PC/VS7.1/_tkinter.vcproj b/PC/VS7.1/_tkinter.vcproj
index f14e7277984..3a901443c0e 100644
--- a/PC/VS7.1/_tkinter.vcproj
+++ b/PC/VS7.1/_tkinter.vcproj
@@ -4,7 +4,7 @@
Version="7.10"
Name="_tkinter"
SccProjectName="_tkinter"
- SccLocalPath="..\..\..">
+ SccLocalPath="..\..\..\..">
@@ -21,7 +21,7 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="..\..\tcltk\include,..\Include,..\PC"
+ AdditionalIncludeDirectories="..\..\..\tcltk\include,..\..\Include,..\..\PC"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;WITH_APPINIT"
StringPooling="TRUE"
RuntimeLibrary="2"
@@ -35,7 +35,7 @@
Name="VCCustomBuildTool"/>
+ RelativePath="..\..\Modules\_tkinter.c">
+ RelativePath="..\..\Modules\tkappinit.c">
diff --git a/PC/VS7.1/bz2.vcproj b/PC/VS7.1/bz2.vcproj
index d86d325b43e..792a2e9fefa 100644
--- a/PC/VS7.1/bz2.vcproj
+++ b/PC/VS7.1/bz2.vcproj
@@ -21,7 +21,7 @@
+ RelativePath="..\..\Modules\bz2module.c">
diff --git a/PC/VS7.1/make_versioninfo.vcproj b/PC/VS7.1/make_versioninfo.vcproj
index 7bdaaccc31c..ed075f5cac9 100644
--- a/PC/VS7.1/make_versioninfo.vcproj
+++ b/PC/VS7.1/make_versioninfo.vcproj
@@ -23,7 +23,7 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="..\Include,..\PC"
+ AdditionalIncludeDirectories="..\..\Include,..\..\PC"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
StringPooling="TRUE"
RuntimeLibrary="2"
@@ -35,9 +35,9 @@
CompileAs="0"/>
+ Outputs="..\..\PC\pythonnt_rc.h"/>
+ CommandLine="$(TargetFileName) > ..\..\PC\python_nt.h"/>
+ Outputs="..\..\PC\pythonnt_rc_d.h"/>
+ CommandLine="$(TargetFileName) > ..\..\PC\python_nt_d.h"/>
+ RelativePath="..\..\PC\make_versioninfo.c">
diff --git a/PC/VS7.1/pyexpat.vcproj b/PC/VS7.1/pyexpat.vcproj
index 1c5b3ad306c..3c26b5beca9 100644
--- a/PC/VS7.1/pyexpat.vcproj
+++ b/PC/VS7.1/pyexpat.vcproj
@@ -20,7 +20,7 @@
+ RelativePath="..\..\Modules\pyexpat.c">
+ RelativePath="..\..\Modules\expat\xmlparse.c">
+ RelativePath="..\..\Modules\expat\xmlrole.c">
+ RelativePath="..\..\Modules\expat\xmltok.c">
diff --git a/PC/VS7.1/python.vcproj b/PC/VS7.1/python.vcproj
index 8412e810de4..4c7b8f733b0 100644
--- a/PC/VS7.1/python.vcproj
+++ b/PC/VS7.1/python.vcproj
@@ -22,7 +22,7 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="..\Include,..\PC"
+ AdditionalIncludeDirectories="..\..\Include,..\..\PC"
PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
StringPooling="TRUE"
RuntimeLibrary="2"
@@ -80,7 +80,7 @@
+ AdditionalIncludeDirectories="..\..\Include"/>
+ RelativePath="..\..\PC\pycon.ico">
+ RelativePath="..\..\Modules\python.c">
+ RelativePath="..\..\PC\python_exe.rc">
diff --git a/PC/VS7.1/pythoncore.vcproj b/PC/VS7.1/pythoncore.vcproj
index ab0c3f54fe1..bce0c614b59 100644
--- a/PC/VS7.1/pythoncore.vcproj
+++ b/PC/VS7.1/pythoncore.vcproj
@@ -24,7 +24,7 @@
AdditionalOptions="/Zm200 "
Optimization="2"
InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="..\Include,..\PC"
+ AdditionalIncludeDirectories="..\..\Include,..\..\PC"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT"
StringPooling="TRUE"
RuntimeLibrary="2"
@@ -63,7 +63,7 @@
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
- AdditionalIncludeDirectories="..\Include"/>
+ AdditionalIncludeDirectories="..\..\Include"/>
+ AdditionalIncludeDirectories="..\..\Include"/>
+ AdditionalIncludeDirectories="..\..\Include"/>
+ AdditionalIncludeDirectories="..\..\Include"/>
+ RelativePath="..\..\Modules\zlib\adler32.c">
+ RelativePath="..\..\Modules\zlib\compress.c">
+ RelativePath="..\..\Modules\zlib\crc32.c">
+ RelativePath="..\..\Modules\zlib\deflate.c">
+ RelativePath="..\..\Modules\zlib\gzio.c">
+ RelativePath="..\..\Modules\zlib\infback.c">
+ RelativePath="..\..\Modules\zlib\inffast.c">
+ RelativePath="..\..\Modules\zlib\inflate.c">
+ RelativePath="..\..\Modules\zlib\inftrees.c">
+ RelativePath="..\..\Modules\zlib\trees.c">
+ RelativePath="..\..\Modules\zlib\uncompr.c">
+ RelativePath="..\..\Modules\zlibmodule.c">
+ AdditionalIncludeDirectories="..\..\Modules\zlib"/>
+ AdditionalIncludeDirectories="..\..\Modules\zlib"/>
+ AdditionalIncludeDirectories="..\..\Modules\zlib"/>
+ AdditionalIncludeDirectories="..\..\Modules\zlib"/>
+ RelativePath="..\..\Modules\zlib\zutil.c">
+ RelativePath="..\..\Modules\_bisectmodule.c">
+ RelativePath="..\..\Modules\cjkcodecs\_codecs_cn.c">
+ RelativePath="..\..\Modules\cjkcodecs\_codecs_hk.c">
+ RelativePath="..\..\Modules\cjkcodecs\_codecs_iso2022.c">
+ RelativePath="..\..\Modules\cjkcodecs\_codecs_jp.c">
+ RelativePath="..\..\Modules\cjkcodecs\_codecs_kr.c">
+ RelativePath="..\..\Modules\cjkcodecs\_codecs_tw.c">
+ RelativePath="..\..\Modules\_codecsmodule.c">
+ RelativePath="..\..\Modules\_csv.c">
+ RelativePath="..\..\Modules\_functoolsmodule.c">
+ RelativePath="..\..\Modules\_heapqmodule.c">
+ RelativePath="..\..\Modules\_hotshot.c">
+ RelativePath="..\..\Modules\_localemodule.c">
+ RelativePath="..\..\Modules\_lsprof.c">
+ RelativePath="..\..\Modules\_randommodule.c">
+ RelativePath="..\..\Modules\_sre.c">
+ RelativePath="..\..\Modules\_struct.c">
+ RelativePath="..\..\Pc\_subprocess.c">
+ RelativePath="..\..\Modules\_typesmodule.c">
+ RelativePath="..\..\Modules\_weakref.c">
+ RelativePath="..\..\Pc\_winreg.c">
+ RelativePath="..\..\Objects\abstract.c">
+ RelativePath="..\..\Parser\acceler.c">
+ RelativePath="..\..\Modules\arraymodule.c">
+ RelativePath="..\..\Python\asdl.c">
+ RelativePath="..\..\Python\ast.c">
+ RelativePath="..\..\Modules\audioop.c">
+ RelativePath="..\..\Modules\binascii.c">
+ RelativePath="..\..\Parser\bitset.c">
+ RelativePath="..\..\Python\bltinmodule.c">
+ RelativePath="..\..\Objects\boolobject.c">
+ RelativePath="..\..\Objects\bufferobject.c">
+ RelativePath="..\..\Objects\cellobject.c">
+ RelativePath="..\..\Python\ceval.c">
+ RelativePath="..\..\Objects\classobject.c">
+ RelativePath="..\..\Modules\cmathmodule.c">
+ RelativePath="..\..\Objects\cobject.c">
+ RelativePath="..\..\Python\codecs.c">
+ RelativePath="..\..\Objects\codeobject.c">
+ RelativePath="..\..\Modules\_collectionsmodule.c">
+ RelativePath="..\..\Python\compile.c">
+ RelativePath="..\..\Objects\complexobject.c">
+ RelativePath="..\..\PC\config.c">
+ RelativePath="..\..\Modules\cPickle.c">
+ RelativePath="..\..\Modules\cStringIO.c">
+ RelativePath="..\..\Modules\datetimemodule.c">
+ RelativePath="..\..\Objects\descrobject.c">
+ RelativePath="..\..\Objects\dictobject.c">
+ RelativePath="..\..\PC\dl_nt.c">
+ RelativePath="..\..\Python\dynload_win.c">
+ RelativePath="..\..\Objects\enumobject.c">
+ RelativePath="..\..\Modules\errnomodule.c">
+ RelativePath="..\..\Python\errors.c">
+ RelativePath="..\..\Objects\exceptions.c">
+ RelativePath="..\..\Objects\fileobject.c">
+ RelativePath="..\..\Parser\firstsets.c">
+ RelativePath="..\..\Objects\floatobject.c">
+ RelativePath="..\..\Objects\frameobject.c">
+ RelativePath="..\..\Python\frozen.c">
+ RelativePath="..\..\Objects\funcobject.c">
+ RelativePath="..\..\Python\future.c">
+ RelativePath="..\..\Modules\gcmodule.c">
+ RelativePath="..\..\Objects\genobject.c">
+ RelativePath="..\..\Python\getargs.c">
+ RelativePath="..\..\Python\getcompiler.c">
+ RelativePath="..\..\Python\getcopyright.c">
+ RelativePath="..\..\Python\getmtime.c">
+ RelativePath="..\..\Python\getopt.c">
+ RelativePath="..\..\PC\getpathp.c">
+ RelativePath="..\..\Python\getplatform.c">
+ RelativePath="..\..\Python\getversion.c">
+ RelativePath="..\..\Python\graminit.c">
+ RelativePath="..\..\Parser\grammar.c">
+ RelativePath="..\..\Parser\grammar1.c">
+ RelativePath="..\..\Modules\imageop.c">
+ RelativePath="..\..\Python\import.c">
+ RelativePath="..\..\PC\import_nt.c">
+ AdditionalIncludeDirectories="..\..\Python"/>
+ AdditionalIncludeDirectories="..\..\Python"/>
+ AdditionalIncludeDirectories="..\..\Python"/>
+ AdditionalIncludeDirectories="..\..\Python"/>
+ RelativePath="..\..\Python\importdl.c">
+ RelativePath="..\..\Objects\intobject.c">
+ RelativePath="..\..\Objects\iterobject.c">
+ RelativePath="..\..\Modules\itertoolsmodule.c">
+ RelativePath="..\..\Parser\listnode.c">
+ RelativePath="..\..\Objects\listobject.c">
+ RelativePath="..\..\Objects\longobject.c">
+ RelativePath="..\..\Modules\main.c">
+ RelativePath="..\..\Python\marshal.c">
+ RelativePath="..\..\Modules\mathmodule.c">
+ RelativePath="..\..\Modules\md5.c">
+ RelativePath="..\..\Modules\md5module.c">
+ RelativePath="..\..\Parser\metagrammar.c">
+ RelativePath="..\..\Objects\methodobject.c">
+ RelativePath="..\..\Modules\mmapmodule.c">
+ RelativePath="..\..\Python\modsupport.c">
+ RelativePath="..\..\Objects\moduleobject.c">
+ RelativePath="..\..\PC\msvcrtmodule.c">
+ RelativePath="..\..\Modules\cjkcodecs\multibytecodec.c">
+ RelativePath="..\..\Parser\myreadline.c">
+ RelativePath="..\..\Python\mysnprintf.c">
+ RelativePath="..\..\Python\mystrtoul.c">
+ RelativePath="..\..\Parser\node.c">
+ RelativePath="..\..\Objects\object.c">
+ RelativePath="..\..\Objects\obmalloc.c">
+ RelativePath="..\..\Modules\operator.c">
+ RelativePath="..\..\Parser\parser.c">
+ RelativePath="..\..\Modules\parsermodule.c">
+ RelativePath="..\..\Parser\parsetok.c">
+ RelativePath="..\..\Python\peephole.c">
+ RelativePath="..\..\Modules\posixmodule.c">
+ RelativePath="..\..\Python\pyarena.c">
+ RelativePath="..\..\Python\pyfpe.c">
+ RelativePath="..\..\Python\pystate.c">
+ RelativePath="..\..\Python\pystrtod.c">
+ RelativePath="..\..\Python\Python-ast.c">
+ RelativePath="..\..\PC\python_nt.rc">
+ RelativePath="..\..\Python\pythonrun.c">
+ RelativePath="..\..\Objects\rangeobject.c">
+ RelativePath="..\..\Modules\rotatingtree.c">
+ RelativePath="..\..\Objects\setobject.c">
+ RelativePath="..\..\Modules\sha256module.c">
+ RelativePath="..\..\Modules\sha512module.c">
+ RelativePath="..\..\Modules\shamodule.c">
+ RelativePath="..\..\Modules\signalmodule.c">
+ RelativePath="..\..\Objects\sliceobject.c">
+ RelativePath="..\..\Objects\stringobject.c">
+ RelativePath="..\..\Modules\stropmodule.c">
+ RelativePath="..\..\Python\structmember.c">
+ RelativePath="..\..\Objects\structseq.c">
+ RelativePath="..\..\Python\symtable.c">
+ RelativePath="..\..\Modules\symtablemodule.c">
+ RelativePath="..\..\Python\sysmodule.c">
+ RelativePath="..\..\Python\thread.c">
+ RelativePath="..\..\Modules\threadmodule.c">
+ RelativePath="..\..\Modules\timemodule.c">
+ RelativePath="..\..\Parser\tokenizer.c">
+ RelativePath="..\..\Python\traceback.c">
+ RelativePath="..\..\Objects\tupleobject.c">
+ RelativePath="..\..\Objects\typeobject.c">
+ RelativePath="..\..\Objects\unicodectype.c">
+ RelativePath="..\..\Objects\unicodeobject.c">
+ RelativePath="..\..\Objects\weakrefobject.c">
+ RelativePath="..\..\Modules\xxsubtype.c">
+ RelativePath="..\..\Modules\yuvconvert.c">
+ RelativePath="..\..\Modules\zipimport.c">
diff --git a/PC/VS7.1/pythonw.vcproj b/PC/VS7.1/pythonw.vcproj
index d00142fa1cb..823d27c1411 100644
--- a/PC/VS7.1/pythonw.vcproj
+++ b/PC/VS7.1/pythonw.vcproj
@@ -4,7 +4,7 @@
Version="7.10"
Name="pythonw"
SccProjectName="pythonw"
- SccLocalPath="..\pc">
+ SccLocalPath="..\..\pc">
@@ -20,7 +20,7 @@
+ RelativePath="..\..\PC\python_exe.rc">
+ RelativePath="..\..\PC\WinMain.c">
diff --git a/PC/VS7.1/select.vcproj b/PC/VS7.1/select.vcproj
index 615cc0f2207..6a8af4e184c 100644
--- a/PC/VS7.1/select.vcproj
+++ b/PC/VS7.1/select.vcproj
@@ -21,7 +21,7 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="..\Include,..\PC"
+ AdditionalIncludeDirectories="..\..\Include,..\..\PC"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS"
StringPooling="TRUE"
RuntimeLibrary="2"
@@ -77,7 +77,7 @@
+ RelativePath="..\..\Modules\selectmodule.c">
diff --git a/PC/VS7.1/unicodedata.vcproj b/PC/VS7.1/unicodedata.vcproj
index cc23da17641..682d06c9e64 100644
--- a/PC/VS7.1/unicodedata.vcproj
+++ b/PC/VS7.1/unicodedata.vcproj
@@ -22,7 +22,7 @@
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="1"
- AdditionalIncludeDirectories="..\Include,..\PC"
+ AdditionalIncludeDirectories="..\..\Include,..\..\PC"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;MMAP_EXPORTS"
StringPooling="TRUE"
RuntimeLibrary="2"
@@ -74,7 +74,7 @@
+ RelativePath="..\..\Modules\unicodedata.c">
diff --git a/PC/VS7.1/w9xpopen.vcproj b/PC/VS7.1/w9xpopen.vcproj
index 9015500dda6..6bd92732ef8 100644
--- a/PC/VS7.1/w9xpopen.vcproj
+++ b/PC/VS7.1/w9xpopen.vcproj
@@ -113,7 +113,7 @@
+ RelativePath="..\..\PC\w9xpopen.c">
diff --git a/PC/VS7.1/winsound.vcproj b/PC/VS7.1/winsound.vcproj
index 6736ad7958c..5ee9a4274ff 100644
--- a/PC/VS7.1/winsound.vcproj
+++ b/PC/VS7.1/winsound.vcproj
@@ -4,7 +4,7 @@
Version="7.10"
Name="winsound"
SccProjectName="winsound"
- SccLocalPath="..\pc">
+ SccLocalPath="..\..\pc">
@@ -21,7 +21,7 @@
+ RelativePath="..\..\PC\winsound.c">