diff --git a/src/xpdev/csv_file.dsp b/src/xpdev/csv_file.dsp index 9e65dc435fe24cd87ba7d2556ecc7aef1332e0ca..c1b1da62039d1ea6d90df4fe3fc2ee9850501444 100644 --- a/src/xpdev/csv_file.dsp +++ b/src/xpdev/csv_file.dsp @@ -1,96 +1,96 @@ -# Microsoft Developer Studio Project File - Name="csv_file" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Console Application" 0x0103 - -CFG=csv_file - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "csv_file.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "csv_file.mak" CFG="csv_file - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "csv_file - Win32 Release" (based on "Win32 (x86) Console Application") -!MESSAGE "csv_file - Win32 Debug" (based on "Win32 (x86) Console Application") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "csv_file - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "Release" -# PROP Intermediate_Dir "Release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 - -!ELSEIF "$(CFG)" == "csv_file - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "csv_file___Win32_Debug" -# PROP BASE Intermediate_Dir "csv_file___Win32_Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LINK32=link.exe -# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept -# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept - -!ENDIF - -# Begin Target - -# Name "csv_file - Win32 Release" -# Name "csv_file - Win32 Debug" -# Begin Source File - -SOURCE=.\csv_file.c -# End Source File -# Begin Source File - -SOURCE=.\genwrap.c -# End Source File -# Begin Source File - -SOURCE=.\str_list.c -# End Source File -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="csv_file" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=csv_file - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "csv_file.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "csv_file.mak" CFG="csv_file - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "csv_file - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE "csv_file - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "csv_file - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386 + +!ELSEIF "$(CFG)" == "csv_file - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "csv_file___Win32_Debug" +# PROP BASE Intermediate_Dir "csv_file___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept + +!ENDIF + +# Begin Target + +# Name "csv_file - Win32 Release" +# Name "csv_file - Win32 Debug" +# Begin Source File + +SOURCE=.\csv_file.c +# End Source File +# Begin Source File + +SOURCE=.\genwrap.c +# End Source File +# Begin Source File + +SOURCE=.\str_list.c +# End Source File +# End Target +# End Project diff --git a/src/xpdev/dirwrap.c b/src/xpdev/dirwrap.c index 08a36b19a473581b1fe2ef636baf7291f537e35d..d78c09842aba17c973b1440a5aa76ea95c3fca2f 100644 --- a/src/xpdev/dirwrap.c +++ b/src/xpdev/dirwrap.c @@ -573,33 +573,6 @@ BOOL DLLCALL fexistcase(char *path) #endif } -#ifdef __unix__ -int removecase(char *path) -{ - char inpath[MAX_PATH+1]; - char fname[MAX_PATH*4+1]; - char tmp[5]; - char *p; - int i; - - if(strchr(path,'?') || strchr(path,'*')) - return(-1); - SAFECOPY(inpath,path); - p=getfname(inpath); - fname[0]=0; - for(i=0;p[i];i++) { - if(isalpha(p[i])) - sprintf(tmp,"[%c%c]",toupper(p[i]),tolower(p[i])); - else - sprintf(tmp,"%c",p[i]); - strncat(fname,tmp,MAX_PATH*4); - } - *p=0; - - return(delfiles(inpath,fname)?-1:0); -} -#endif - #if !defined(S_ISDIR) #define S_ISDIR(x) ((x)&S_IFDIR) #endif @@ -660,10 +633,7 @@ int DLLCALL getfattr(const char* filename) #endif } -/****************************************************************************/ -/* Deletes all files in dir 'path' that match file spec 'spec' */ -/****************************************************************************/ -ulong DLLCALL delfiles(char *inpath, char *spec) +static ulong delfiles_and_or_dirs(char *inpath, char *spec, int dirs) { char path[MAX_PATH+1]; char lastch; @@ -678,8 +648,10 @@ ulong DLLCALL delfiles(char *inpath, char *spec) strcat(path,spec); glob(path,0,NULL,&g); for(i=0;i<g.gl_pathc;i++) { - if(isdir(g.gl_pathv[i])) - continue; + if(!dirs) { + if(isdir(g.gl_pathv[i])) + continue; + } CHMOD(g.gl_pathv[i],S_IWRITE); /* Incase it's been marked RDONLY */ if(remove(g.gl_pathv[i])==0) files++; @@ -688,6 +660,41 @@ ulong DLLCALL delfiles(char *inpath, char *spec) return(files); } +#ifdef __unix__ +int removecase(char *path) +{ + char inpath[MAX_PATH+1]; + char fname[MAX_PATH*4+1]; + char tmp[5]; + char *p; + int i; + + if(strchr(path,'?') || strchr(path,'*')) + return(-1); + SAFECOPY(inpath,path); + p=getfname(inpath); + fname[0]=0; + for(i=0;p[i];i++) { + if(isalpha(p[i])) + sprintf(tmp,"[%c%c]",toupper(p[i]),tolower(p[i])); + else + sprintf(tmp,"%c",p[i]); + strncat(fname,tmp,MAX_PATH*4); + } + *p=0; + + return(delfiles_and_or_dirs(inpath,fname,TRUE)?-1:0); +} +#endif + +/****************************************************************************/ +/* Deletes all files in dir 'path' that match file spec 'spec' */ +/****************************************************************************/ +ulong DLLCALL delfiles(char *inpath, char *spec) +{ + return(delfiles_and_or_dirs(inpath,spec,FALSE)); +} + /****************************************************************************/ /* Return free disk space in bytes (up to a maximum of 4GB) */ /****************************************************************************/ diff --git a/src/xpdev/xpdev.dsp b/src/xpdev/xpdev.dsp index f7d5796800dd0679f7d88ecba2d95d2dab8b67d9..a83e49eb0ad859c20b93e17ebfd58b7319bfc152 100644 --- a/src/xpdev/xpdev.dsp +++ b/src/xpdev/xpdev.dsp @@ -1,132 +1,132 @@ -# Microsoft Developer Studio Project File - Name="xpdev" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=xpdev - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "xpdev.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "xpdev.mak" CFG="xpdev - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "xpdev - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "xpdev - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "xpdev - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "msvc.win32.release" -# PROP Intermediate_Dir "msvc.win32.release" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /W3 /GX /O2 /I "../../include/microsoft/psdk" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo - -!ELSEIF "$(CFG)" == "xpdev - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "xpdev___Win32_Debug" -# PROP BASE Intermediate_Dir "xpdev___Win32_Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "msvc.win32.debug" -# PROP Intermediate_Dir "msvc.win32.debug" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../include/microsoft/psdk" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo - -!ENDIF - -# Begin Target - -# Name "xpdev - Win32 Release" -# Name "xpdev - Win32 Debug" -# Begin Source File - -SOURCE=.\dat_file.c -# End Source File -# Begin Source File - -SOURCE=.\datewrap.c -# End Source File -# Begin Source File - -SOURCE=.\dirwrap.c -# End Source File -# Begin Source File - -SOURCE=.\filewrap.c -# End Source File -# Begin Source File - -SOURCE=.\genwrap.c -# End Source File -# Begin Source File - -SOURCE=.\ini_file.c -# End Source File -# Begin Source File - -SOURCE=.\link_list.c -# End Source File -# Begin Source File - -SOURCE=.\netwrap.c -# End Source File -# Begin Source File - -SOURCE=.\semfile.c -# End Source File -# Begin Source File - -SOURCE=.\sockwrap.c -# End Source File -# Begin Source File - -SOURCE=.\str_list.c -# End Source File -# Begin Source File - -SOURCE=.\xpprintf.c -# End Source File -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="xpdev" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=xpdev - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "xpdev.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "xpdev.mak" CFG="xpdev - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "xpdev - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "xpdev - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "xpdev - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "msvc.win32.release" +# PROP Intermediate_Dir "msvc.win32.release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /W3 /GX /O2 /I "../../include/microsoft/psdk" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /YX /FD /c +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "xpdev - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "xpdev___Win32_Debug" +# PROP BASE Intermediate_Dir "xpdev___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "msvc.win32.debug" +# PROP Intermediate_Dir "msvc.win32.debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I "../../include/microsoft/psdk" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /YX /FD /GZ /c +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "xpdev - Win32 Release" +# Name "xpdev - Win32 Debug" +# Begin Source File + +SOURCE=.\dat_file.c +# End Source File +# Begin Source File + +SOURCE=.\datewrap.c +# End Source File +# Begin Source File + +SOURCE=.\dirwrap.c +# End Source File +# Begin Source File + +SOURCE=.\filewrap.c +# End Source File +# Begin Source File + +SOURCE=.\genwrap.c +# End Source File +# Begin Source File + +SOURCE=.\ini_file.c +# End Source File +# Begin Source File + +SOURCE=.\link_list.c +# End Source File +# Begin Source File + +SOURCE=.\netwrap.c +# End Source File +# Begin Source File + +SOURCE=.\semfile.c +# End Source File +# Begin Source File + +SOURCE=.\sockwrap.c +# End Source File +# Begin Source File + +SOURCE=.\str_list.c +# End Source File +# Begin Source File + +SOURCE=.\xpprintf.c +# End Source File +# End Target +# End Project diff --git a/src/xpdev/xpdev_mt.dsp b/src/xpdev/xpdev_mt.dsp index a7530986998c0c687eaa1d05cdd665e13fee4d43..a68a51fc2a254b5ab97a170052c114220bb44160 100644 --- a/src/xpdev/xpdev_mt.dsp +++ b/src/xpdev/xpdev_mt.dsp @@ -1,140 +1,140 @@ -# Microsoft Developer Studio Project File - Name="xpdev_mt" - Package Owner=<4> -# Microsoft Developer Studio Generated Build File, Format Version 6.00 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Static Library" 0x0104 - -CFG=xpdev_mt - Win32 Debug -!MESSAGE This is not a valid makefile. To build this project using NMAKE, -!MESSAGE use the Export Makefile command and run -!MESSAGE -!MESSAGE NMAKE /f "xpdev_mt.mak". -!MESSAGE -!MESSAGE You can specify a configuration when running NMAKE -!MESSAGE by defining the macro CFG on the command line. For example: -!MESSAGE -!MESSAGE NMAKE /f "xpdev_mt.mak" CFG="xpdev_mt - Win32 Debug" -!MESSAGE -!MESSAGE Possible choices for configuration are: -!MESSAGE -!MESSAGE "xpdev_mt - Win32 Release" (based on "Win32 (x86) Static Library") -!MESSAGE "xpdev_mt - Win32 Debug" (based on "Win32 (x86) Static Library") -!MESSAGE - -# Begin Project -# PROP AllowPerConfigDependencies 0 -# PROP Scc_ProjName "" -# PROP Scc_LocalPath "" -CPP=cl.exe -RSC=rc.exe - -!IF "$(CFG)" == "xpdev_mt - Win32 Release" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 0 -# PROP BASE Output_Dir "Release" -# PROP BASE Intermediate_Dir "Release" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 0 -# PROP Output_Dir "msvc.win32.release_mt" -# PROP Intermediate_Dir "msvc.win32.release_mt" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c -# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../include/microsoft/psdk" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "LINK_LIST_THREADSAFE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /YX /FD /c -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo - -!ELSEIF "$(CFG)" == "xpdev_mt - Win32 Debug" - -# PROP BASE Use_MFC 0 -# PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "xpdev_mt___Win32_Debug" -# PROP BASE Intermediate_Dir "xpdev_mt___Win32_Debug" -# PROP BASE Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "msvc.win32.debug_mt" -# PROP Intermediate_Dir "msvc.win32.debug_mt" -# PROP Target_Dir "" -# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../../include/microsoft/psdk" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "LINK_LIST_THREADSAFE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /YX /FD /GZ /c -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" -BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -LIB32=link.exe -lib -# ADD BASE LIB32 /nologo -# ADD LIB32 /nologo - -!ENDIF - -# Begin Target - -# Name "xpdev_mt - Win32 Release" -# Name "xpdev_mt - Win32 Debug" -# Begin Source File - -SOURCE=.\datewrap.c -# End Source File -# Begin Source File - -SOURCE=.\dirwrap.c -# End Source File -# Begin Source File - -SOURCE=.\filewrap.c -# End Source File -# Begin Source File - -SOURCE=.\genwrap.c -# End Source File -# Begin Source File - -SOURCE=.\ini_file.c -# End Source File -# Begin Source File - -SOURCE=.\link_list.c -# End Source File -# Begin Source File - -SOURCE=.\msg_queue.c -# End Source File -# Begin Source File - -SOURCE=.\netwrap.c -# End Source File -# Begin Source File - -SOURCE=.\semfile.c -# End Source File -# Begin Source File - -SOURCE=.\semwrap.c -# End Source File -# Begin Source File - -SOURCE=.\sockwrap.c -# End Source File -# Begin Source File - -SOURCE=.\str_list.c -# End Source File -# Begin Source File - -SOURCE=.\threadwrap.c -# End Source File -# Begin Source File - -SOURCE=.\xpprintf.c -# End Source File -# End Target -# End Project +# Microsoft Developer Studio Project File - Name="xpdev_mt" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=xpdev_mt - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "xpdev_mt.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "xpdev_mt.mak" CFG="xpdev_mt - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "xpdev_mt - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE "xpdev_mt - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +RSC=rc.exe + +!IF "$(CFG)" == "xpdev_mt - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "msvc.win32.release_mt" +# PROP Intermediate_Dir "msvc.win32.release_mt" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c +# ADD CPP /nologo /MT /W3 /GX /O2 /I "../../include/microsoft/psdk" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "LINK_LIST_THREADSAFE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /YX /FD /c +# ADD BASE RSC /l 0x409 /d "NDEBUG" +# ADD RSC /l 0x409 /d "NDEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ELSEIF "$(CFG)" == "xpdev_mt - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "xpdev_mt___Win32_Debug" +# PROP BASE Intermediate_Dir "xpdev_mt___Win32_Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "msvc.win32.debug_mt" +# PROP Intermediate_Dir "msvc.win32.debug_mt" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c +# ADD CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /I "../../include/microsoft/psdk" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "LINK_LIST_THREADSAFE" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /YX /FD /GZ /c +# ADD BASE RSC /l 0x409 /d "_DEBUG" +# ADD RSC /l 0x409 /d "_DEBUG" +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo +# ADD LIB32 /nologo + +!ENDIF + +# Begin Target + +# Name "xpdev_mt - Win32 Release" +# Name "xpdev_mt - Win32 Debug" +# Begin Source File + +SOURCE=.\datewrap.c +# End Source File +# Begin Source File + +SOURCE=.\dirwrap.c +# End Source File +# Begin Source File + +SOURCE=.\filewrap.c +# End Source File +# Begin Source File + +SOURCE=.\genwrap.c +# End Source File +# Begin Source File + +SOURCE=.\ini_file.c +# End Source File +# Begin Source File + +SOURCE=.\link_list.c +# End Source File +# Begin Source File + +SOURCE=.\msg_queue.c +# End Source File +# Begin Source File + +SOURCE=.\netwrap.c +# End Source File +# Begin Source File + +SOURCE=.\semfile.c +# End Source File +# Begin Source File + +SOURCE=.\semwrap.c +# End Source File +# Begin Source File + +SOURCE=.\sockwrap.c +# End Source File +# Begin Source File + +SOURCE=.\str_list.c +# End Source File +# Begin Source File + +SOURCE=.\threadwrap.c +# End Source File +# Begin Source File + +SOURCE=.\xpprintf.c +# End Source File +# End Target +# End Project