From 9ff68a8c4866af636ba3ddc77bf335c6ddee3bdb Mon Sep 17 00:00:00 2001 From: borutr Date: Wed, 28 Aug 2002 11:36:49 +0000 Subject: [PATCH] - added Release configuration in VS projects - review of compiler an linker options - VC .exe files are generated in bin_vc directory, not to interfere with binaries generated from other projects (cygwin, mingw, bcc ...) git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2080 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- as/as_z80.dsp | 58 +++++++++++++++++++++-------- as/aslink.dsp | 58 +++++++++++++++++++++-------- as/asx8051.dsp | 58 +++++++++++++++++++++-------- packihx/PackIhx.dsp | 54 ++++++++++++++++++++------- src/avr/avr.dsp | 47 +++++++++++++++++++---- src/avr/avra.dsp | 57 +++++++++++++++++++++++----- src/ds390/ds390.dsp | 47 +++++++++++++++++++---- src/ds390/ds390a.dsp | 55 ++++++++++++++++++++++----- src/mcs51/mcs51.dsp | 47 +++++++++++++++++++---- src/mcs51/mcs51a.dsp | 55 ++++++++++++++++++++++----- src/pic/pic.dsp | 47 +++++++++++++++++++---- src/pic/pica.dsp | 55 ++++++++++++++++++++++----- src/src.dsp | 72 +++++++++++++++++++++++++---------- src/xa51/xa51.dsp | 47 +++++++++++++++++++---- src/xa51/xa51a.dsp | 55 ++++++++++++++++++++++----- src/z80/z80.dsp | 47 +++++++++++++++++++---- src/z80/z80a.dsp | 89 ++++++++++++++++++++++++++++++++++++++------ 17 files changed, 761 insertions(+), 187 deletions(-) diff --git a/as/as_z80.dsp b/as/as_z80.dsp index 204c1372..128b5f6d 100644 --- a/as/as_z80.dsp +++ b/as/as_z80.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Console Application" 0x0103 -CFG=as_z80 - Win32 Debug +CFG=as_z80 - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,11 +13,12 @@ CFG=as_z80 - Win32 Debug !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 "as_z80.mak" CFG="as_z80 - Win32 Debug" +!MESSAGE NMAKE /f "as_z80.mak" CFG="as_z80 - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "as_z80 - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE "as_z80 - Win32 Release" (based on "Win32 (x86) Console Application") !MESSAGE # Begin Project @@ -26,31 +27,62 @@ CFG=as_z80 - Win32 Debug # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe + +!IF "$(CFG)" == "as_z80 - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "as_z80___Win32_Debug" -# PROP BASE Intermediate_Dir "as_z80___Win32_Debug" +# PROP BASE Output_Dir "z80\Debug" +# PROP BASE Intermediate_Dir "z80\Debug" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 -# PROP Output_Dir "z80" -# PROP Intermediate_Dir "z80" +# PROP Output_Dir "z80\Debug" +# PROP Intermediate_Dir "z80\Debug" # PROP Ignore_Export_Lib 0 # 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 /G3 /ML /W3 /WX /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /FR /J /FD /GZ /c +# ADD BASE CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /FR /FD /GZ /c +# ADD CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /FR /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 /nologo /subsystem:console /debug /machine:I386 /out:"..\bin\as-z80.exe" /pdbtype:sept -# SUBTRACT LINK32 /incremental:no +# ADD BASE LINK32 /nologo /subsystem:console /debug /machine:I386 /out:"..\bin_vc\as-z80.exe" /pdbtype:sept +# ADD LINK32 /nologo /subsystem:console /debug /machine:I386 /out:"..\bin_vc\as-z80.exe" /pdbtype:sept + +!ELSEIF "$(CFG)" == "as_z80 - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "z80\Release" +# PROP BASE Intermediate_Dir "z80\Release" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "z80\Release" +# PROP Intermediate_Dir "z80\Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /FD /c +# ADD CPP /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /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 /nologo /subsystem:console /machine:I386 /out:"..\bin_vc\as-z80.exe" /pdbtype:sept +# ADD LINK32 /nologo /subsystem:console /machine:I386 /out:"..\bin_vc\as-z80.exe" /pdbtype:sept + +!ENDIF + # Begin Target # Name "as_z80 - Win32 Debug" +# Name "as_z80 - Win32 Release" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" @@ -123,9 +155,5 @@ SOURCE=.\z80\string.h SOURCE=.\z80\z80.h # End Source File # End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group # End Target # End Project diff --git a/as/aslink.dsp b/as/aslink.dsp index 1be9cbba..30d52b7f 100644 --- a/as/aslink.dsp +++ b/as/aslink.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Console Application" 0x0103 -CFG=aslink - Win32 Debug +CFG=aslink - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,11 +13,12 @@ CFG=aslink - Win32 Debug !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 "aslink.mak" CFG="aslink - Win32 Debug" +!MESSAGE NMAKE /f "aslink.mak" CFG="aslink - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "aslink - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE "aslink - Win32 Release" (based on "Win32 (x86) Console Application") !MESSAGE # Begin Project @@ -26,31 +27,62 @@ CFG=aslink - Win32 Debug # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe + +!IF "$(CFG)" == "aslink - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "aslink___Win32_Debug" -# PROP BASE Intermediate_Dir "aslink___Win32_Debug" +# PROP BASE Output_Dir "msc51\Debug" +# PROP BASE Intermediate_Dir "msc51\Debug" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 -# PROP Output_Dir "mcs51" -# PROP Intermediate_Dir "mcs51" +# PROP Output_Dir "msc51\Debug" +# PROP Intermediate_Dir "msc51\Debug" # PROP Ignore_Export_Lib 0 # 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 /G3 /ML /W3 /WX /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /FR /J /FD /GZ /c +# ADD BASE CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /FR /FD /GZ /c +# ADD CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /FR /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 /nologo /subsystem:console /debug /machine:I386 /out:"..\bin\aslink.exe" /pdbtype:sept -# SUBTRACT LINK32 /incremental:no /nodefaultlib +# ADD BASE LINK32 /nologo /subsystem:console /debug /machine:I386 /out:"..\bin_vc\aslink.exe" /pdbtype:sept +# ADD LINK32 /nologo /subsystem:console /debug /machine:I386 /out:"..\bin_vc\aslink.exe" /pdbtype:sept + +!ELSEIF "$(CFG)" == "aslink - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "mcs51\Release" +# PROP BASE Intermediate_Dir "mcs51\Release" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "mcs51\Release" +# PROP Intermediate_Dir "mcs51\Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /FD /c +# ADD CPP /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /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 /nologo /subsystem:console /machine:I386 /out:"..\bin_vc\aslink.exe" /pdbtype:sept +# ADD LINK32 /nologo /subsystem:console /machine:I386 /out:"..\bin_vc\aslink.exe" /pdbtype:sept + +!ENDIF + # Begin Target # Name "aslink - Win32 Debug" +# Name "aslink - Win32 Release" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" @@ -135,9 +167,5 @@ SOURCE=.\mcs51\i8051.h SOURCE=.\mcs51\string.h # End Source File # End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group # End Target # End Project diff --git a/as/asx8051.dsp b/as/asx8051.dsp index 22e1cb25..9301824c 100644 --- a/as/asx8051.dsp +++ b/as/asx8051.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Console Application" 0x0103 -CFG=asx8051 - Win32 Debug +CFG=asx8051 - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,11 +13,12 @@ CFG=asx8051 - Win32 Debug !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 "asx8051.mak" CFG="asx8051 - Win32 Debug" +!MESSAGE NMAKE /f "asx8051.mak" CFG="asx8051 - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "asx8051 - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE "asx8051 - Win32 Release" (based on "Win32 (x86) Console Application") !MESSAGE # Begin Project @@ -26,31 +27,62 @@ CFG=asx8051 - Win32 Debug # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe + +!IF "$(CFG)" == "asx8051 - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 -# PROP BASE Output_Dir "Debug" -# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Output_Dir "xa51\Debug" +# PROP BASE Intermediate_Dir "xa51\Debug" # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 -# PROP Output_Dir "mcs51" -# PROP Intermediate_Dir "mcs51" +# PROP Output_Dir "xa51\Debug" +# PROP Intermediate_Dir "xa51\Debug" # PROP Ignore_Export_Lib 0 # 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 /G3 /ML /W3 /WX /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /FR /J /FD /GZ /c +# ADD BASE CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /FR /FD /GZ /c +# ADD CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /FR /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 /nologo /subsystem:console /debug /machine:I386 /out:"\sdcc\bin\asx8051.exe" /pdbtype:sept -# SUBTRACT LINK32 /incremental:no +# ADD BASE LINK32 /nologo /subsystem:console /debug /machine:I386 /out:"..\bin_vc\asx8051.exe" /pdbtype:sept +# ADD LINK32 /nologo /subsystem:console /debug /machine:I386 /out:"..\bin_vc\asx8051.exe" /pdbtype:sept + +!ELSEIF "$(CFG)" == "asx8051 - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "xa51\Release" +# PROP BASE Intermediate_Dir "xa51\Release" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "xa51\Release" +# PROP Intermediate_Dir "xa51\Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /FD /c +# ADD CPP /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "INDEXLIB" /D "MLH_MAP" /D "SDK" /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 /nologo /subsystem:console /machine:I386 /out:"..\bin_vc\asx8051.exe" /pdbtype:sept +# ADD LINK32 /nologo /subsystem:console /machine:I386 /out:"..\bin_vc\asx8051.exe" /pdbtype:sept + +!ENDIF + # Begin Target # Name "asx8051 - Win32 Debug" +# Name "asx8051 - Win32 Release" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" @@ -123,9 +155,5 @@ SOURCE=.\mcs51\asm.h SOURCE=.\mcs51\i8051.h # End Source File # End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group # End Target # End Project diff --git a/packihx/PackIhx.dsp b/packihx/PackIhx.dsp index ffb7e319..ed37f561 100644 --- a/packihx/PackIhx.dsp +++ b/packihx/PackIhx.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Console Application" 0x0103 -CFG=packihx - Win32 Debug +CFG=packihx - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,11 +13,12 @@ CFG=packihx - Win32 Debug !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 "PackIhx.mak" CFG="packihx - Win32 Debug" +!MESSAGE NMAKE /f "PackIhx.mak" CFG="packihx - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "packihx - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE "packihx - Win32 Release" (based on "Win32 (x86) Console Application") !MESSAGE # Begin Project @@ -26,6 +27,9 @@ CFG=packihx - Win32 Debug # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe + +!IF "$(CFG)" == "packihx - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -33,24 +37,52 @@ RSC=rc.exe # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "" +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" # PROP Ignore_Export_Lib 0 # 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 /G3 /ML /W3 /WX /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /J /FD /GZ /c +# ADD BASE CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c +# ADD CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /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 /nologo /subsystem:console /debug /machine:I386 /out:"\sdcc\bin\packihx.exe" /pdbtype:sept -# SUBTRACT LINK32 /incremental:no +# ADD BASE LINK32 /nologo /subsystem:console /debug /machine:I386 /out:"..\bin_vc\packihx.exe" /pdbtype:sept +# ADD LINK32 /nologo /subsystem:console /debug /machine:I386 /out:"..\bin_vc\packihx.exe" /pdbtype:sept + +!ELSEIF "$(CFG)" == "packihx - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c +# ADD CPP /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /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 /nologo /subsystem:console /machine:I386 /out:"..\bin_vc\packihx.exe" /pdbtype:sept +# ADD LINK32 /nologo /subsystem:console /machine:I386 /out:"..\bin_vc\packihx.exe" /pdbtype:sept + +!ENDIF + # Begin Target # Name "packihx - Win32 Debug" +# Name "packihx - Win32 Release" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" @@ -63,9 +95,5 @@ SOURCE=.\packihx.c # PROP Default_Filter "h;hpp;hxx;hm;inl" # End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group # End Target # End Project diff --git a/src/avr/avr.dsp b/src/avr/avr.dsp index 0ea55454..984c60d9 100644 --- a/src/avr/avr.dsp +++ b/src/avr/avr.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Static Library" 0x0104 -CFG=avr - Win32 Debug +CFG=avr - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,11 +13,12 @@ CFG=avr - Win32 Debug !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 "avr.mak" CFG="avr - Win32 Debug" +!MESSAGE NMAKE /f "avr.mak" CFG="avr - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "avr - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "avr - Win32 Release" (based on "Win32 (x86) Static Library") !MESSAGE # Begin Project @@ -26,6 +27,9 @@ CFG=avr - Win32 Debug # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe + +!IF "$(CFG)" == "avr - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -33,22 +37,49 @@ RSC=rc.exe # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "" +# 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 "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /G3 /ML /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /J /FD /GZ /Zm500 /c +# ADD BASE CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /FD /GZ /Zm500 /c +# ADD CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /FD /GZ /Zm500 /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 /out:"port.lib" +# ADD BASE LIB32 /nologo /out:"Debug\port.lib" +# ADD LIB32 /nologo /out:"Debug\port.lib" + +!ELSEIF "$(CFG)" == "avr - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm500 /c +# ADD CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm500 /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 /out:"Release\port.lib" +# ADD LIB32 /nologo /out:"Release\port.lib" + +!ENDIF + # Begin Target # Name "avr - Win32 Debug" +# Name "avr - Win32 Release" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" diff --git a/src/avr/avra.dsp b/src/avr/avra.dsp index acb9cf04..cf60a70b 100644 --- a/src/avr/avra.dsp +++ b/src/avr/avra.dsp @@ -4,27 +4,31 @@ # TARGTYPE "Win32 (x86) Generic Project" 0x010a -CFG=avra - Win32 Debug +CFG=avra - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run -!MESSAGE +!MESSAGE !MESSAGE NMAKE /f "avra.mak". -!MESSAGE +!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 "avra.mak" CFG="avra - Win32 Debug" -!MESSAGE +!MESSAGE +!MESSAGE NMAKE /f "avra.mak" CFG="avra - Win32 Release" +!MESSAGE !MESSAGE Possible choices for configuration are: -!MESSAGE +!MESSAGE !MESSAGE "avra - Win32 Debug" (based on "Win32 (x86) Generic Project") -!MESSAGE +!MESSAGE "avra - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" MTL=midl.exe + +!IF "$(CFG)" == "avra - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -35,22 +39,55 @@ MTL=midl.exe # PROP Output_Dir "" # PROP Intermediate_Dir "" # PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "avra - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "" +# PROP Intermediate_Dir "" +# PROP Target_Dir "" + +!ENDIF + # Begin Target # Name "avra - Win32 Debug" - +# Name "avra - Win32 Release" # Begin Source File SOURCE=.\peeph.def + +!IF "$(CFG)" == "avra - Win32 Debug" + +# PROP Ignore_Default_Tool 1 +# Begin Custom Build +InputPath=.\peeph.def + +"peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul + +# End Custom Build + +!ELSEIF "$(CFG)" == "avra - Win32 Release" + +# PROP BASE Ignore_Default_Tool 1 # PROP Ignore_Default_Tool 1 # Begin Custom Build InputPath=.\peeph.def "peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - echo on gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul # End Custom Build + +!ENDIF + # End Source File # End Target # End Project diff --git a/src/ds390/ds390.dsp b/src/ds390/ds390.dsp index dc65fe51..c9264132 100644 --- a/src/ds390/ds390.dsp +++ b/src/ds390/ds390.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Static Library" 0x0104 -CFG=ds390 - Win32 Debug +CFG=ds390 - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,11 +13,12 @@ CFG=ds390 - Win32 Debug !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 "ds390.mak" CFG="ds390 - Win32 Debug" +!MESSAGE NMAKE /f "ds390.mak" CFG="ds390 - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "ds390 - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "ds390 - Win32 Release" (based on "Win32 (x86) Static Library") !MESSAGE # Begin Project @@ -26,6 +27,9 @@ CFG=ds390 - Win32 Debug # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe + +!IF "$(CFG)" == "ds390 - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -33,22 +37,49 @@ RSC=rc.exe # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "" +# 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 "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /J /FD /GZ /Zm500 /c +# ADD BASE CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /FD /GZ /Zm500 /c +# ADD CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /FD /GZ /Zm500 /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 /out:"port.lib" +# ADD BASE LIB32 /nologo /out:"Debug\port.lib" +# ADD LIB32 /nologo /out:"Debug\port.lib" + +!ELSEIF "$(CFG)" == "ds390 - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm500 /c +# ADD CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm500 /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 /out:"Release\port.lib" +# ADD LIB32 /nologo /out:"Release\port.lib" + +!ENDIF + # Begin Target # Name "ds390 - Win32 Debug" +# Name "ds390 - Win32 Release" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" diff --git a/src/ds390/ds390a.dsp b/src/ds390/ds390a.dsp index 34b77750..140ad6a2 100644 --- a/src/ds390/ds390a.dsp +++ b/src/ds390/ds390a.dsp @@ -4,27 +4,31 @@ # TARGTYPE "Win32 (x86) Generic Project" 0x010a -CFG=ds390a - Win32 Debug +CFG=ds390a - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run -!MESSAGE +!MESSAGE !MESSAGE NMAKE /f "ds390a.mak". -!MESSAGE +!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 "ds390a.mak" CFG="ds390a - Win32 Debug" -!MESSAGE +!MESSAGE +!MESSAGE NMAKE /f "ds390a.mak" CFG="ds390a - Win32 Release" +!MESSAGE !MESSAGE Possible choices for configuration are: -!MESSAGE +!MESSAGE !MESSAGE "ds390a - Win32 Debug" (based on "Win32 (x86) Generic Project") -!MESSAGE +!MESSAGE "ds390a - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" MTL=midl.exe + +!IF "$(CFG)" == "ds390a - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -35,21 +39,52 @@ MTL=midl.exe # PROP Output_Dir "" # PROP Intermediate_Dir "" # PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "ds390a - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "" +# PROP Intermediate_Dir "" +# PROP Target_Dir "" + +!ENDIF + # Begin Target # Name "ds390a - Win32 Debug" - +# Name "ds390a - Win32 Release" # Begin Source File SOURCE=.\peeph.def + +!IF "$(CFG)" == "ds390a - Win32 Debug" + +# Begin Custom Build +InputPath=.\peeph.def + +"peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul + +# End Custom Build + +!ELSEIF "$(CFG)" == "ds390a - Win32 Release" + # Begin Custom Build InputPath=.\peeph.def "peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - echo on gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul # End Custom Build + +!ENDIF + # End Source File # End Target # End Project diff --git a/src/mcs51/mcs51.dsp b/src/mcs51/mcs51.dsp index 28588b64..95249f99 100644 --- a/src/mcs51/mcs51.dsp +++ b/src/mcs51/mcs51.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Static Library" 0x0104 -CFG=mcs51 - Win32 Debug +CFG=mcs51 - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,11 +13,12 @@ CFG=mcs51 - Win32 Debug !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 "mcs51.mak" CFG="mcs51 - Win32 Debug" +!MESSAGE NMAKE /f "mcs51.mak" CFG="mcs51 - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "mcs51 - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "mcs51 - Win32 Release" (based on "Win32 (x86) Static Library") !MESSAGE # Begin Project @@ -26,6 +27,9 @@ CFG=mcs51 - Win32 Debug # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe + +!IF "$(CFG)" == "mcs51 - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -33,22 +37,49 @@ RSC=rc.exe # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "" +# 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 "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /G3 /ML /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /J /FD /Zm500 /GZ /c +# ADD BASE CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /FD /GZ /Zm500 /c +# ADD CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /FD /GZ /Zm500 /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 /out:"port.lib" +# ADD BASE LIB32 /nologo /out:"Debug\port.lib" +# ADD LIB32 /nologo /out:"Debug\port.lib" + +!ELSEIF "$(CFG)" == "mcs51 - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm500 /c +# ADD CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm500 /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 /out:"Release\port.lib" +# ADD LIB32 /nologo /out:"Release\port.lib" + +!ENDIF + # Begin Target # Name "mcs51 - Win32 Debug" +# Name "mcs51 - Win32 Release" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" diff --git a/src/mcs51/mcs51a.dsp b/src/mcs51/mcs51a.dsp index ce9c1faa..c146d8de 100644 --- a/src/mcs51/mcs51a.dsp +++ b/src/mcs51/mcs51a.dsp @@ -4,27 +4,31 @@ # TARGTYPE "Win32 (x86) Generic Project" 0x010a -CFG=msc51a - Win32 Debug +CFG=msc51a - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run -!MESSAGE +!MESSAGE !MESSAGE NMAKE /f "mcs51a.mak". -!MESSAGE +!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 "mcs51a.mak" CFG="msc51a - Win32 Debug" -!MESSAGE +!MESSAGE +!MESSAGE NMAKE /f "mcs51a.mak" CFG="msc51a - Win32 Release" +!MESSAGE !MESSAGE Possible choices for configuration are: -!MESSAGE +!MESSAGE !MESSAGE "msc51a - Win32 Debug" (based on "Win32 (x86) Generic Project") -!MESSAGE +!MESSAGE "msc51a - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" MTL=midl.exe + +!IF "$(CFG)" == "msc51a - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -35,21 +39,52 @@ MTL=midl.exe # PROP Output_Dir "" # PROP Intermediate_Dir "" # PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "msc51a - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Win32_Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "" +# PROP Intermediate_Dir "" +# PROP Target_Dir "" + +!ENDIF + # Begin Target # Name "msc51a - Win32 Debug" - +# Name "msc51a - Win32 Release" # Begin Source File SOURCE=.\peeph.def + +!IF "$(CFG)" == "msc51a - Win32 Debug" + +# Begin Custom Build +InputPath=.\peeph.def + +"peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul + +# End Custom Build + +!ELSEIF "$(CFG)" == "msc51a - Win32 Release" + # Begin Custom Build InputPath=.\peeph.def "peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - echo on gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul # End Custom Build + +!ENDIF + # End Source File # End Target # End Project diff --git a/src/pic/pic.dsp b/src/pic/pic.dsp index 40488e11..7de9799f 100644 --- a/src/pic/pic.dsp +++ b/src/pic/pic.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Static Library" 0x0104 -CFG=pic - Win32 Debug +CFG=pic - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,11 +13,12 @@ CFG=pic - Win32 Debug !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 "pic.mak" CFG="pic - Win32 Debug" +!MESSAGE NMAKE /f "pic.mak" CFG="pic - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "pic - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "pic - Win32 Release" (based on "Win32 (x86) Static Library") !MESSAGE # Begin Project @@ -26,6 +27,9 @@ CFG=pic - Win32 Debug # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe + +!IF "$(CFG)" == "pic - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -33,22 +37,49 @@ RSC=rc.exe # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "" +# 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 "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /G3 /ML /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /J /FD /Zm500 /GZ /c +# ADD BASE CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /FD /GZ /Zm500 /c +# ADD CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /FD /GZ /Zm500 /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 /out:"port.lib" +# ADD BASE LIB32 /nologo /out:"Debug\port.lib" +# ADD LIB32 /nologo /out:"Debug\port.lib" + +!ELSEIF "$(CFG)" == "pic - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm500 /c +# ADD CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm500 /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 /out:"Release\port.lib" +# ADD LIB32 /nologo /out:"Release\port.lib" + +!ENDIF + # Begin Target # Name "pic - Win32 Debug" +# Name "pic - Win32 Release" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" diff --git a/src/pic/pica.dsp b/src/pic/pica.dsp index 94cb37a4..ec9c196f 100644 --- a/src/pic/pica.dsp +++ b/src/pic/pica.dsp @@ -4,27 +4,31 @@ # TARGTYPE "Win32 (x86) Generic Project" 0x010a -CFG=pica - Win32 Debug +CFG=pica - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run -!MESSAGE +!MESSAGE !MESSAGE NMAKE /f "pica.mak". -!MESSAGE +!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 "pica.mak" CFG="pica - Win32 Debug" -!MESSAGE +!MESSAGE +!MESSAGE NMAKE /f "pica.mak" CFG="pica - Win32 Release" +!MESSAGE !MESSAGE Possible choices for configuration are: -!MESSAGE +!MESSAGE !MESSAGE "pica - Win32 Debug" (based on "Win32 (x86) Generic Project") -!MESSAGE +!MESSAGE "pica - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" MTL=midl.exe + +!IF "$(CFG)" == "pica - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -35,21 +39,52 @@ MTL=midl.exe # PROP Output_Dir "" # PROP Intermediate_Dir "" # PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "pica - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "" +# PROP Intermediate_Dir "" +# PROP Target_Dir "" + +!ENDIF + # Begin Target # Name "pica - Win32 Debug" - +# Name "pica - Win32 Release" # Begin Source File SOURCE=.\peeph.def + +!IF "$(CFG)" == "pica - Win32 Debug" + +# Begin Custom Build +InputPath=.\peeph.def + +"peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul + +# End Custom Build + +!ELSEIF "$(CFG)" == "pica - Win32 Release" + # Begin Custom Build InputPath=.\peeph.def "peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - echo on gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul # End Custom Build + +!ENDIF + # End Source File # End Target # End Project diff --git a/src/src.dsp b/src/src.dsp index 2f110547..95672b71 100644 --- a/src/src.dsp +++ b/src/src.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Console Application" 0x0103 -CFG=src - Win32 Debug +CFG=src - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,11 +13,12 @@ CFG=src - Win32 Debug !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 "src.mak" CFG="src - Win32 Debug" +!MESSAGE NMAKE /f "src.mak" CFG="src - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "src - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE "src - Win32 Release" (based on "Win32 (x86) Console Application") !MESSAGE # Begin Project @@ -26,6 +27,9 @@ CFG=src - Win32 Debug # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe + +!IF "$(CFG)" == "src - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -33,24 +37,52 @@ RSC=rc.exe # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "" +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" # PROP Ignore_Export_Lib 0 # 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 /G3 /ML /W3 /Gm /GX /ZI /Od /I ".." /I "..\support\util" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /J /FD /GZ /c +# ADD BASE CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "..\support\util" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /FD /GZ /c +# ADD CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "..\support\util" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /FR /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 mcs51/port.lib z80/port.lib avr/port.lib ds390/port.lib pic/port.lib /nologo /subsystem:console /pdb:none /debug /machine:I386 /nodefaultlib:"libcd" /out:"..\bin\sdcc.exe" -# SUBTRACT LINK32 /verbose /nodefaultlib +# ADD BASE LINK32 mcs51\Debug\port.lib z80\Debug\port.lib avr\Debug\port.lib ds390\Debug\port.lib pic\Debug\port.lib /nologo /subsystem:console /debug /machine:I386 /out:"..\bin_vc\sdcc.exe" /pdbtype:sept +# ADD LINK32 mcs51\Debug\port.lib z80\Debug\port.lib avr\Debug\port.lib ds390\Debug\port.lib pic\Debug\port.lib /nologo /subsystem:console /debug /machine:I386 /out:"..\bin_vc\sdcc.exe" /pdbtype:sept + +!ELSEIF "$(CFG)" == "src - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Ignore_Export_Lib 0 +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /W3 /GX /O2 /I ".." /I "..\support\util" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /FD /c +# ADD CPP /nologo /ML /W3 /GX /O2 /I ".." /I "..\support\util" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /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 mcs51\Release\port.lib z80\Release\port.lib avr\Release\port.lib ds390\Release\port.lib pic\Release\port.lib /nologo /subsystem:console /pdb:none /machine:I386 /out:"..\bin_vc\sdcc.exe" /pdbtype:sept +# ADD LINK32 mcs51\Release\port.lib z80\Release\port.lib avr\Release\port.lib ds390\Release\port.lib pic\Release\port.lib /nologo /subsystem:console /pdb:none /machine:I386 /out:"..\bin_vc\sdcc.exe" /pdbtype:sept + +!ENDIF + # Begin Target # Name "src - Win32 Debug" +# Name "src - Win32 Release" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" @@ -65,6 +97,9 @@ SOURCE=..\support\Util\NewAlloc.c # Begin Source File SOURCE=.\SDCC.lex + +!IF "$(CFG)" == "src - Win32 Debug" + USERDEP__SDCC_="sdccy.h" # Begin Custom Build InputPath=.\SDCC.lex @@ -73,17 +108,20 @@ InputPath=.\SDCC.lex flex -osdcclex.c sdcc.lex # End Custom Build -# End Source File -# Begin Source File -SOURCE=.\SDCC.y +!ELSEIF "$(CFG)" == "src - Win32 Release" + +USERDEP__SDCC_="sdccy.h" # Begin Custom Build -InputPath=.\SDCC.y +InputPath=.\SDCC.lex -"sdccy.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - bison -d -v -o sdccy.c sdcc.y +"SDCClex.c" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + flex -osdcclex.c sdcc.lex # End Custom Build + +!ENDIF + # End Source File # Begin Source File @@ -298,10 +336,6 @@ SOURCE=.\sdccy.h SOURCE=.\spawn.h # End Source File # End Group -# Begin Group "Resource Files" - -# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" -# End Group # Begin Group "Regression Test" # PROP Default_Filter "" diff --git a/src/xa51/xa51.dsp b/src/xa51/xa51.dsp index 2d74ad59..fdf94beb 100644 --- a/src/xa51/xa51.dsp +++ b/src/xa51/xa51.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Static Library" 0x0104 -CFG=xa51 - Win32 Debug +CFG=xa51 - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,11 +13,12 @@ CFG=xa51 - Win32 Debug !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 "xa51.mak" CFG="xa51 - Win32 Debug" +!MESSAGE NMAKE /f "xa51.mak" CFG="xa51 - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "xa51 - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "xa51 - Win32 Release" (based on "Win32 (x86) Static Library") !MESSAGE # Begin Project @@ -26,6 +27,9 @@ CFG=xa51 - Win32 Debug # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe + +!IF "$(CFG)" == "xa51 - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -33,22 +37,49 @@ RSC=rc.exe # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "" +# 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 "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /G3 /ML /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /J /FD /Zm500 /GZ /c +# ADD BASE CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /FD /GZ /Zm500 /c +# ADD CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /FD /GZ /Zm500 /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 /out:"port.lib" +# ADD BASE LIB32 /nologo /out:"Debug\port.lib" +# ADD LIB32 /nologo /out:"Debug\port.lib" + +!ELSEIF "$(CFG)" == "xa51 - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm500 /c +# ADD CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm500 /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 /out:"Release\port.lib" +# ADD LIB32 /nologo /out:"Release\port.lib" + +!ENDIF + # Begin Target # Name "xa51 - Win32 Debug" +# Name "xa51 - Win32 Release" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" diff --git a/src/xa51/xa51a.dsp b/src/xa51/xa51a.dsp index 8622beea..7546d620 100644 --- a/src/xa51/xa51a.dsp +++ b/src/xa51/xa51a.dsp @@ -4,27 +4,31 @@ # TARGTYPE "Win32 (x86) Generic Project" 0x010a -CFG=msc51a - Win32 Debug +CFG=xa51a - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run -!MESSAGE +!MESSAGE !MESSAGE NMAKE /f "xa51a.mak". -!MESSAGE +!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 "xa51a.mak" CFG="msc51a - Win32 Debug" -!MESSAGE +!MESSAGE +!MESSAGE NMAKE /f "xa51a.mak" CFG="xa51a - Win32 Release" +!MESSAGE !MESSAGE Possible choices for configuration are: -!MESSAGE +!MESSAGE !MESSAGE "xa51a - Win32 Debug" (based on "Win32 (x86) Generic Project") -!MESSAGE +!MESSAGE "xa51a - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" MTL=midl.exe + +!IF "$(CFG)" == "xa51a - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -35,21 +39,52 @@ MTL=midl.exe # PROP Output_Dir "" # PROP Intermediate_Dir "" # PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "xa51a - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "" +# PROP Intermediate_Dir "" +# PROP Target_Dir "" + +!ENDIF + # Begin Target # Name "xa51a - Win32 Debug" - +# Name "xa51a - Win32 Release" # Begin Source File SOURCE=.\peeph.def + +!IF "$(CFG)" == "xa51a - Win32 Debug" + +# Begin Custom Build +InputPath=.\peeph.def + +"peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul + +# End Custom Build + +!ELSEIF "$(CFG)" == "xa51a - Win32 Release" + # Begin Custom Build InputPath=.\peeph.def "peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - echo on gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul # End Custom Build + +!ENDIF + # End Source File # End Target # End Project diff --git a/src/z80/z80.dsp b/src/z80/z80.dsp index d5adcc6c..51811e9a 100644 --- a/src/z80/z80.dsp +++ b/src/z80/z80.dsp @@ -4,7 +4,7 @@ # TARGTYPE "Win32 (x86) Static Library" 0x0104 -CFG=z80 - Win32 Debug +CFG=z80 - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run !MESSAGE @@ -13,11 +13,12 @@ CFG=z80 - Win32 Debug !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 "z80.mak" CFG="z80 - Win32 Debug" +!MESSAGE NMAKE /f "z80.mak" CFG="z80 - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE !MESSAGE "z80 - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "z80 - Win32 Release" (based on "Win32 (x86) Static Library") !MESSAGE # Begin Project @@ -26,6 +27,9 @@ CFG=z80 - Win32 Debug # PROP Scc_LocalPath "" CPP=cl.exe RSC=rc.exe + +!IF "$(CFG)" == "z80 - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -33,22 +37,49 @@ RSC=rc.exe # PROP BASE Target_Dir "" # PROP Use_MFC 0 # PROP Use_Debug_Libraries 1 -# PROP Output_Dir "" -# PROP Intermediate_Dir "" +# 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 "_MBCS" /D "_LIB" /YX /FD /GZ /c -# ADD CPP /nologo /G3 /ML /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /J /FD /GZ /Zm500 /c +# ADD BASE CPP /nologo /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /Zm500 /c +# ADD CPP /nologo /G5 /MLd /W3 /Gm /GX /ZI /Od /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /FR /FD /GZ /Zm500 /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 /out:"port.lib" +# ADD BASE LIB32 /nologo /out:"Debug\port.lib" +# ADD LIB32 /nologo /out:"Debug\port.lib" + +!ELSEIF "$(CFG)" == "z80 - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /Zm500 /FD /c +# ADD CPP /nologo /ML /W3 /GX /O2 /I ".." /I "." /I "..\.." /I "..\..\support\util" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /FD /Zm500 /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 /out:"Release\port.lib" +# ADD LIB32 /nologo /out:"Release\port.lib" + +!ENDIF + # Begin Target # Name "z80 - Win32 Debug" +# Name "z80 - Win32 Release" # Begin Group "Source Files" # PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat" diff --git a/src/z80/z80a.dsp b/src/z80/z80a.dsp index 536217c4..f7341ac5 100644 --- a/src/z80/z80a.dsp +++ b/src/z80/z80a.dsp @@ -4,27 +4,31 @@ # TARGTYPE "Win32 (x86) Generic Project" 0x010a -CFG=z80a - Win32 Debug +CFG=z80a - Win32 Release !MESSAGE This is not a valid makefile. To build this project using NMAKE, !MESSAGE use the Export Makefile command and run -!MESSAGE +!MESSAGE !MESSAGE NMAKE /f "z80a.mak". -!MESSAGE +!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 "z80a.mak" CFG="z80a - Win32 Debug" -!MESSAGE +!MESSAGE +!MESSAGE NMAKE /f "z80a.mak" CFG="z80a - Win32 Release" +!MESSAGE !MESSAGE Possible choices for configuration are: -!MESSAGE +!MESSAGE !MESSAGE "z80a - Win32 Debug" (based on "Win32 (x86) Generic Project") -!MESSAGE +!MESSAGE "z80a - Win32 Release" (based on "Win32 (x86) Generic Project") +!MESSAGE # Begin Project # PROP AllowPerConfigDependencies 0 # PROP Scc_ProjName "" # PROP Scc_LocalPath "" MTL=midl.exe + +!IF "$(CFG)" == "z80a - Win32 Debug" + # PROP BASE Use_MFC 0 # PROP BASE Use_Debug_Libraries 1 # PROP BASE Output_Dir "Debug" @@ -35,45 +39,106 @@ MTL=midl.exe # PROP Output_Dir "" # PROP Intermediate_Dir "" # PROP Target_Dir "" + +!ELSEIF "$(CFG)" == "z80a - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "" +# PROP Intermediate_Dir "" +# PROP Target_Dir "" + +!ENDIF + # Begin Target # Name "z80a - Win32 Debug" - +# Name "z80a - Win32 Release" # Begin Source File SOURCE=".\peeph-gbz80.def" + +!IF "$(CFG)" == "z80a - Win32 Debug" + # Begin Custom Build InputPath=".\peeph-gbz80.def" "peeph-gbz80.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - echo on gawk -f ../SDCCpeeph.awk $(InputPath) >peeph-gbz80.rul # End Custom Build + +!ELSEIF "$(CFG)" == "z80a - Win32 Release" + +# Begin Custom Build +InputPath=".\peeph-gbz80.def" + +"peeph-gbz80.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + gawk -f ../SDCCpeeph.awk $(InputPath) >peeph-gbz80.rul + +# End Custom Build + +!ENDIF + # End Source File # Begin Source File SOURCE=".\peeph-z80.def" + +!IF "$(CFG)" == "z80a - Win32 Debug" + +# Begin Custom Build +InputPath=".\peeph-z80.def" + +"peeph-z80.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + gawk -f ../SDCCpeeph.awk $(InputPath) >peeph-z80.rul + +# End Custom Build + +!ELSEIF "$(CFG)" == "z80a - Win32 Release" + # Begin Custom Build InputPath=".\peeph-z80.def" "peeph-z80.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - echo on gawk -f ../SDCCpeeph.awk $(InputPath) >peeph-z80.rul # End Custom Build + +!ENDIF + # End Source File # Begin Source File SOURCE=".\peeph.def" + +!IF "$(CFG)" == "z80a - Win32 Debug" + # Begin Custom Build InputPath=".\peeph.def" "peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" - echo on gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul # End Custom Build + +!ELSEIF "$(CFG)" == "z80a - Win32 Release" + +# Begin Custom Build +InputPath=".\peeph.def" + +"peeph.rul" : $(SOURCE) "$(INTDIR)" "$(OUTDIR)" + gawk -f ../SDCCpeeph.awk $(InputPath) >peeph.rul + +# End Custom Build + +!ENDIF + # End Source File # End Target # End Project -- 2.30.2