diff --git a/lib/des/des.dsp b/lib/des/des.dsp new file mode 100644 index 000000000..628742bbd --- /dev/null +++ b/lib/des/des.dsp @@ -0,0 +1,258 @@ +# Microsoft Developer Studio Project File - Name="des" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=des - 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 NMAKE /f "des.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 "des.mak" CFG="des - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "des - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "des - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "des - 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 Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\roken" /I "." /I "..\..\include" /I "..\..\include\win32" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "HAVE_CONFIG_H" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# 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 /nologo /subsystem:windows /dll /machine:I386 +# ADD LINK32 ..\roken\Release\roken.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /machine:I386 + +!ELSEIF "$(CFG)" == "des - 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 Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir ".\Debug" +# PROP Intermediate_Dir ".\Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\roken" /I "." /I "..\..\include" /I "..\..\include\win32" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "HAVE_CONFIG_H" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# 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 /nologo /subsystem:windows /dll /debug /machine:I386 +# ADD LINK32 ..\roken\Debug\roken.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:I386 + +!ENDIF + +# Begin Target + +# Name "des - Win32 Release" +# Name "des - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" +# Begin Source File + +SOURCE=.\cbc3_enc.c +# End Source File +# Begin Source File + +SOURCE=.\cbc_cksm.c +# End Source File +# Begin Source File + +SOURCE=.\cbc_enc.c +# End Source File +# Begin Source File + +SOURCE=.\cfb64ede.c +# End Source File +# Begin Source File + +SOURCE=.\cfb64enc.c +# End Source File +# Begin Source File + +SOURCE=.\cfb_enc.c +# End Source File +# Begin Source File + +SOURCE=.\des.def +# End Source File +# Begin Source File + +SOURCE=.\des_enc.c +# End Source File +# Begin Source File + +SOURCE=.\dllmain.c +# End Source File +# Begin Source File + +SOURCE=.\ecb3_enc.c +# End Source File +# Begin Source File + +SOURCE=.\ecb_enc.c +# End Source File +# Begin Source File + +SOURCE=.\ede_enc.c +# End Source File +# Begin Source File + +SOURCE=.\enc_read.c +# End Source File +# Begin Source File + +SOURCE=.\enc_writ.c +# End Source File +# Begin Source File + +SOURCE=.\fcrypt.c +# End Source File +# Begin Source File + +SOURCE=.\key_par.c +# End Source File +# Begin Source File + +SOURCE=.\ncbc_enc.c +# End Source File +# Begin Source File + +SOURCE=.\ofb64ede.c +# End Source File +# Begin Source File + +SOURCE=.\ofb64enc.c +# End Source File +# Begin Source File + +SOURCE=.\ofb_enc.c +# End Source File +# Begin Source File + +SOURCE=.\passwd_dlg.c +# End Source File +# Begin Source File + +SOURCE=.\pcbc_enc.c +# End Source File +# Begin Source File + +SOURCE=.\qud_cksm.c +# End Source File +# Begin Source File + +SOURCE=.\read_pwd.c +# End Source File +# Begin Source File + +SOURCE=.\rnd_keys.c +# End Source File +# Begin Source File + +SOURCE=.\rpc_enc.c +# End Source File +# Begin Source File + +SOURCE=.\set_key.c +# End Source File +# Begin Source File + +SOURCE=.\str2key.c +# End Source File +# Begin Source File + +SOURCE=.\supp.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" +# Begin Source File + +SOURCE=.\des.h +# End Source File +# Begin Source File + +SOURCE=.\des_locl.h +# End Source File +# Begin Source File + +SOURCE=.\des_ver.h +# End Source File +# Begin Source File + +SOURCE=.\md5.h +# End Source File +# Begin Source File + +SOURCE=.\passwd_dlg.h +# End Source File +# Begin Source File + +SOURCE=.\podd.h +# End Source File +# Begin Source File + +SOURCE=.\rpc_des.h +# End Source File +# Begin Source File + +SOURCE=.\sk.h +# End Source File +# Begin Source File + +SOURCE=.\spr.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE=.\passwd_dialog.rc +# End Source File +# End Group +# End Target +# End Project diff --git a/lib/des/des.mak b/lib/des/des.mak index 4c2995fdc..c20052706 100644 --- a/lib/des/des.mak +++ b/lib/des/des.mak @@ -1,19 +1,15 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - +# Microsoft Developer Studio Generated NMAKE File, Based on des.dsp !IF "$(CFG)" == "" -CFG=des - Win32 Debug -!MESSAGE No configuration specified. Defaulting to des - Win32 Debug. +CFG=des - Win32 Release +!MESSAGE No configuration specified. Defaulting to des - Win32 Release. !ENDIF !IF "$(CFG)" != "des - Win32 Release" && "$(CFG)" != "des - Win32 Debug" !MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile +!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 "des.mak" CFG="des - Win32 Debug" +!MESSAGE NMAKE /f "des.mak" CFG="des - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE @@ -28,31 +24,30 @@ NULL= !ELSE NULL=nul !ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "des - Win32 Debug" -CPP=cl.exe -RSC=rc.exe -MTL=mktyplib.exe !IF "$(CFG)" == "des - 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 "" OUTDIR=.\Release INTDIR=.\Release +# Begin Custom Macros +OutDir=.\.\Release +# End Custom Macros + +!IF "$(RECURSE)" == "0" ALL : "$(OUTDIR)\des.dll" +!ELSE + +ALL : "roken - Win32 Release" "$(OUTDIR)\des.dll" + +!ENDIF + +!IF "$(RECURSE)" == "1" +CLEAN :"roken - Win32 ReleaseCLEAN" +!ELSE CLEAN : +!ENDIF -@erase "$(INTDIR)\cbc3_enc.obj" -@erase "$(INTDIR)\cbc_cksm.obj" -@erase "$(INTDIR)\cbc_enc.obj" @@ -72,6 +67,7 @@ CLEAN : -@erase "$(INTDIR)\ofb64ede.obj" -@erase "$(INTDIR)\ofb64enc.obj" -@erase "$(INTDIR)\ofb_enc.obj" + -@erase "$(INTDIR)\passwd_dialog.res" -@erase "$(INTDIR)\passwd_dlg.obj" -@erase "$(INTDIR)\pcbc_enc.obj" -@erase "$(INTDIR)\qud_cksm.obj" @@ -81,6 +77,7 @@ CLEAN : -@erase "$(INTDIR)\set_key.obj" -@erase "$(INTDIR)\str2key.obj" -@erase "$(INTDIR)\supp.obj" + -@erase "$(INTDIR)\vc50.idb" -@erase "$(OUTDIR)\des.dll" -@erase "$(OUTDIR)\des.exp" -@erase "$(OUTDIR)\des.lib" @@ -88,32 +85,57 @@ CLEAN : "$(OUTDIR)" : if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /W3 /GX /O2 /I "..\roken" /I "." /I "..\..\include" /I "..\..\include\win32" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "HAVE_CONFIG_H" /YX /c +CPP=cl.exe CPP_PROJ=/nologo /MT /W3 /GX /O2 /I "..\roken" /I "." /I "..\..\include" /I\ "..\..\include\win32" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "HAVE_CONFIG_H"\ - /Fp"$(INTDIR)/des.pch" /YX /Fo"$(INTDIR)/" /c + /Fp"$(INTDIR)\des.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" +CPP_SBRS=. + +.c{$(CPP_OBJS)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(CPP_OBJS)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(CPP_OBJS)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.c{$(CPP_SBRS)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(CPP_SBRS)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(CPP_SBRS)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +MTL=midl.exe +MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 +RSC=rc.exe +RSC_PROJ=/l 0x409 /fo"$(INTDIR)\passwd_dialog.res" /d "NDEBUG" BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/des.bsc" +BSC32_FLAGS=/nologo /o"$(OUTDIR)\des.bsc" BSC32_SBRS= \ 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 /nologo /subsystem:windows /dll /machine:I386 -# ADD LINK32 ..\roken\Release\roken.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:windows /dll /machine:I386 LINK32_FLAGS=..\roken\Release\roken.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:windows /dll\ - /incremental:no /pdb:"$(OUTDIR)/des.pdb" /machine:I386 /def:".\des.def"\ - /out:"$(OUTDIR)/des.dll" /implib:"$(OUTDIR)/des.lib" + uuid.lib /nologo /subsystem:windows /dll /incremental:no\ + /pdb:"$(OUTDIR)\des.pdb" /machine:I386 /def:".\des.def"\ + /out:"$(OUTDIR)\des.dll" /implib:"$(OUTDIR)\des.lib" DEF_FILE= \ ".\des.def" LINK32_OBJS= \ @@ -136,6 +158,7 @@ LINK32_OBJS= \ "$(INTDIR)\ofb64ede.obj" \ "$(INTDIR)\ofb64enc.obj" \ "$(INTDIR)\ofb_enc.obj" \ + "$(INTDIR)\passwd_dialog.res" \ "$(INTDIR)\passwd_dlg.obj" \ "$(INTDIR)\pcbc_enc.obj" \ "$(INTDIR)\qud_cksm.obj" \ @@ -144,7 +167,8 @@ LINK32_OBJS= \ "$(INTDIR)\rpc_enc.obj" \ "$(INTDIR)\set_key.obj" \ "$(INTDIR)\str2key.obj" \ - "$(INTDIR)\supp.obj" + "$(INTDIR)\supp.obj" \ + "..\roken\Release\roken.lib" "$(OUTDIR)\des.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) $(LINK32) @<< @@ -153,22 +177,27 @@ LINK32_OBJS= \ !ELSEIF "$(CFG)" == "des - 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 Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" OUTDIR=.\Debug INTDIR=.\Debug +# Begin Custom Macros +OutDir=.\.\Debug +# End Custom Macros + +!IF "$(RECURSE)" == "0" ALL : "$(OUTDIR)\des.dll" +!ELSE + +ALL : "roken - Win32 Debug" "$(OUTDIR)\des.dll" + +!ENDIF + +!IF "$(RECURSE)" == "1" +CLEAN :"roken - Win32 DebugCLEAN" +!ELSE CLEAN : +!ENDIF -@erase "$(INTDIR)\cbc3_enc.obj" -@erase "$(INTDIR)\cbc_cksm.obj" -@erase "$(INTDIR)\cbc_enc.obj" @@ -188,6 +217,7 @@ CLEAN : -@erase "$(INTDIR)\ofb64ede.obj" -@erase "$(INTDIR)\ofb64enc.obj" -@erase "$(INTDIR)\ofb_enc.obj" + -@erase "$(INTDIR)\passwd_dialog.res" -@erase "$(INTDIR)\passwd_dlg.obj" -@erase "$(INTDIR)\pcbc_enc.obj" -@erase "$(INTDIR)\qud_cksm.obj" @@ -197,8 +227,8 @@ CLEAN : -@erase "$(INTDIR)\set_key.obj" -@erase "$(INTDIR)\str2key.obj" -@erase "$(INTDIR)\supp.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" + -@erase "$(INTDIR)\vc50.idb" + -@erase "$(INTDIR)\vc50.pdb" -@erase "$(OUTDIR)\des.dll" -@erase "$(OUTDIR)\des.exp" -@erase "$(OUTDIR)\des.ilk" @@ -208,33 +238,58 @@ CLEAN : "$(OUTDIR)" : if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\roken" /I "." /I "..\..\include" /I "..\..\include\win32" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "HAVE_CONFIG_H" /YX /c -CPP_PROJ=/nologo /MTd /W3 /Gm /GX /Zi /Od /I "..\roken" /I "." /I\ +CPP=cl.exe +CPP_PROJ=/nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\roken" /I "." /I\ "..\..\include" /I "..\..\include\win32" /D "WIN32" /D "_DEBUG" /D "_WINDOWS"\ - /D "HAVE_CONFIG_H" /Fp"$(INTDIR)/des.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/"\ - /c + /D "HAVE_CONFIG_H" /Fp"$(INTDIR)\des.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\"\ + /FD /c CPP_OBJS=.\Debug/ -CPP_SBRS=.\. -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" +CPP_SBRS=. + +.c{$(CPP_OBJS)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(CPP_OBJS)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(CPP_OBJS)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.c{$(CPP_SBRS)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cpp{$(CPP_SBRS)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +.cxx{$(CPP_SBRS)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< + +MTL=midl.exe +MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 +RSC=rc.exe +RSC_PROJ=/l 0x409 /fo"$(INTDIR)\passwd_dialog.res" /d "_DEBUG" BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/des.bsc" +BSC32_FLAGS=/nologo /o"$(OUTDIR)\des.bsc" BSC32_SBRS= \ 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 /nologo /subsystem:windows /dll /debug /machine:I386 -# ADD LINK32 ..\roken\Debug\roken.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:windows /dll /debug /machine:I386 LINK32_FLAGS=..\roken\Debug\roken.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:windows /dll\ - /incremental:yes /pdb:"$(OUTDIR)/des.pdb" /debug /machine:I386 /def:".\des.def"\ - /out:"$(OUTDIR)/des.dll" /implib:"$(OUTDIR)/des.lib" + uuid.lib /nologo /subsystem:windows /dll /incremental:yes\ + /pdb:"$(OUTDIR)\des.pdb" /debug /machine:I386 /def:".\des.def"\ + /out:"$(OUTDIR)\des.dll" /implib:"$(OUTDIR)\des.lib" DEF_FILE= \ ".\des.def" LINK32_OBJS= \ @@ -257,6 +312,7 @@ LINK32_OBJS= \ "$(INTDIR)\ofb64ede.obj" \ "$(INTDIR)\ofb64enc.obj" \ "$(INTDIR)\ofb_enc.obj" \ + "$(INTDIR)\passwd_dialog.res" \ "$(INTDIR)\passwd_dlg.obj" \ "$(INTDIR)\pcbc_enc.obj" \ "$(INTDIR)\qud_cksm.obj" \ @@ -265,7 +321,8 @@ LINK32_OBJS= \ "$(INTDIR)\rpc_enc.obj" \ "$(INTDIR)\set_key.obj" \ "$(INTDIR)\str2key.obj" \ - "$(INTDIR)\supp.obj" + "$(INTDIR)\supp.obj" \ + "..\roken\Debug\roken.lib" "$(OUTDIR)\des.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) $(LINK32) @<< @@ -274,65 +331,28 @@ LINK32_OBJS= \ !ENDIF -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< +!IF "$(CFG)" == "des - Win32 Release" || "$(CFG)" == "des - Win32 Debug" +SOURCE=.\cbc3_enc.c +DEP_CPP_CBC3_=\ + "..\..\include\win32\config.h"\ + ".\des.h"\ + ".\des_locl.h"\ -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< +"$(INTDIR)\cbc3_enc.obj" : $(SOURCE) $(DEP_CPP_CBC3_) "$(INTDIR)" -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< - -################################################################################ -# Begin Target - -# Name "des - Win32 Release" -# Name "des - Win32 Debug" - -!IF "$(CFG)" == "des - Win32 Release" - -!ELSEIF "$(CFG)" == "des - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\des.def - -!IF "$(CFG)" == "des - Win32 Release" - -!ELSEIF "$(CFG)" == "des - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\enc_read.c -DEP_CPP_ENC_R=\ +SOURCE=.\cbc_cksm.c +DEP_CPP_CBC_C=\ "..\..\include\win32\config.h"\ ".\des.h"\ ".\des_locl.h"\ -"$(INTDIR)\enc_read.obj" : $(SOURCE) $(DEP_CPP_ENC_R) "$(INTDIR)" +"$(INTDIR)\cbc_cksm.obj" : $(SOURCE) $(DEP_CPP_CBC_C) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File - SOURCE=.\cbc_enc.c DEP_CPP_CBC_E=\ "..\..\include\win32\config.h"\ @@ -343,38 +363,6 @@ DEP_CPP_CBC_E=\ "$(INTDIR)\cbc_enc.obj" : $(SOURCE) $(DEP_CPP_CBC_E) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\cbc3_enc.c -DEP_CPP_CBC3_=\ - "..\..\include\win32\config.h"\ - ".\des.h"\ - ".\des_locl.h"\ - - -"$(INTDIR)\cbc3_enc.obj" : $(SOURCE) $(DEP_CPP_CBC3_) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\cfb_enc.c -DEP_CPP_CFB_E=\ - "..\..\include\win32\config.h"\ - ".\des.h"\ - ".\des_locl.h"\ - - -"$(INTDIR)\cfb_enc.obj" : $(SOURCE) $(DEP_CPP_CFB_E) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - SOURCE=.\cfb64ede.c DEP_CPP_CFB64=\ "..\..\include\win32\config.h"\ @@ -385,10 +373,6 @@ DEP_CPP_CFB64=\ "$(INTDIR)\cfb64ede.obj" : $(SOURCE) $(DEP_CPP_CFB64) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File - SOURCE=.\cfb64enc.c DEP_CPP_CFB64E=\ "..\..\include\win32\config.h"\ @@ -399,9 +383,25 @@ DEP_CPP_CFB64E=\ "$(INTDIR)\cfb64enc.obj" : $(SOURCE) $(DEP_CPP_CFB64E) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File +SOURCE=.\cfb_enc.c +DEP_CPP_CFB_E=\ + "..\..\include\win32\config.h"\ + ".\des.h"\ + ".\des_locl.h"\ + + +"$(INTDIR)\cfb_enc.obj" : $(SOURCE) $(DEP_CPP_CFB_E) "$(INTDIR)" + + +SOURCE=.\des_enc.c +DEP_CPP_DES_E=\ + "..\..\include\win32\config.h"\ + ".\des.h"\ + ".\des_locl.h"\ + + +"$(INTDIR)\des_enc.obj" : $(SOURCE) $(DEP_CPP_DES_E) "$(INTDIR)" + SOURCE=.\dllmain.c DEP_CPP_DLLMA=\ @@ -411,9 +411,15 @@ DEP_CPP_DLLMA=\ "$(INTDIR)\dllmain.obj" : $(SOURCE) $(DEP_CPP_DLLMA) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File +SOURCE=.\ecb3_enc.c +DEP_CPP_ECB3_=\ + "..\..\include\win32\config.h"\ + ".\des.h"\ + ".\des_locl.h"\ + + +"$(INTDIR)\ecb3_enc.obj" : $(SOURCE) $(DEP_CPP_ECB3_) "$(INTDIR)" + SOURCE=.\ecb_enc.c DEP_CPP_ECB_E=\ @@ -426,24 +432,6 @@ DEP_CPP_ECB_E=\ "$(INTDIR)\ecb_enc.obj" : $(SOURCE) $(DEP_CPP_ECB_E) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ecb3_enc.c -DEP_CPP_ECB3_=\ - "..\..\include\win32\config.h"\ - ".\des.h"\ - ".\des_locl.h"\ - - -"$(INTDIR)\ecb3_enc.obj" : $(SOURCE) $(DEP_CPP_ECB3_) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - SOURCE=.\ede_enc.c DEP_CPP_EDE_E=\ "..\..\include\win32\config.h"\ @@ -454,151 +442,16 @@ DEP_CPP_EDE_E=\ "$(INTDIR)\ede_enc.obj" : $(SOURCE) $(DEP_CPP_EDE_E) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\cbc_cksm.c -DEP_CPP_CBC_C=\ +SOURCE=.\enc_read.c +DEP_CPP_ENC_R=\ "..\..\include\win32\config.h"\ ".\des.h"\ ".\des_locl.h"\ -"$(INTDIR)\cbc_cksm.obj" : $(SOURCE) $(DEP_CPP_CBC_C) "$(INTDIR)" +"$(INTDIR)\enc_read.obj" : $(SOURCE) $(DEP_CPP_ENC_R) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\qud_cksm.c -DEP_CPP_QUD_C=\ - "..\..\include\win32\config.h"\ - ".\des.h"\ - ".\des_locl.h"\ - - -"$(INTDIR)\qud_cksm.obj" : $(SOURCE) $(DEP_CPP_QUD_C) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\fcrypt.c -DEP_CPP_FCRYP=\ - "..\..\include\win32\config.h"\ - "..\..\include\win32\ktypes.h"\ - ".\des.h"\ - ".\des_locl.h"\ - ".\md5.h"\ - - -"$(INTDIR)\fcrypt.obj" : $(SOURCE) $(DEP_CPP_FCRYP) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\key_par.c -DEP_CPP_KEY_P=\ - "..\..\include\win32\config.h"\ - ".\des.h"\ - ".\des_locl.h"\ - - -"$(INTDIR)\key_par.obj" : $(SOURCE) $(DEP_CPP_KEY_P) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ncbc_enc.c -DEP_CPP_NCBC_=\ - "..\..\include\win32\config.h"\ - ".\des.h"\ - ".\des_locl.h"\ - - -"$(INTDIR)\ncbc_enc.obj" : $(SOURCE) $(DEP_CPP_NCBC_) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ofb_enc.c -DEP_CPP_OFB_E=\ - "..\..\include\win32\config.h"\ - ".\des.h"\ - ".\des_locl.h"\ - - -"$(INTDIR)\ofb_enc.obj" : $(SOURCE) $(DEP_CPP_OFB_E) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ofb64ede.c -DEP_CPP_OFB64=\ - "..\..\include\win32\config.h"\ - ".\des.h"\ - ".\des_locl.h"\ - - -"$(INTDIR)\ofb64ede.obj" : $(SOURCE) $(DEP_CPP_OFB64) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\ofb64enc.c -DEP_CPP_OFB64E=\ - "..\..\include\win32\config.h"\ - ".\des.h"\ - ".\des_locl.h"\ - - -"$(INTDIR)\ofb64enc.obj" : $(SOURCE) $(DEP_CPP_OFB64E) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\passwd_dlg.c -DEP_CPP_PASSW=\ - "..\..\include\win32\config.h"\ - ".\passwd_dlg.h"\ - - -"$(INTDIR)\passwd_dlg.obj" : $(SOURCE) $(DEP_CPP_PASSW) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\pcbc_enc.c -DEP_CPP_PCBC_=\ - "..\..\include\win32\config.h"\ - ".\des.h"\ - ".\des_locl.h"\ - - -"$(INTDIR)\pcbc_enc.obj" : $(SOURCE) $(DEP_CPP_PCBC_) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - SOURCE=.\enc_writ.c DEP_CPP_ENC_W=\ "..\..\include\win32\config.h"\ @@ -609,42 +462,120 @@ DEP_CPP_ENC_W=\ "$(INTDIR)\enc_writ.obj" : $(SOURCE) $(DEP_CPP_ENC_W) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\supp.c -DEP_CPP_SUPP_=\ - "..\..\include\win32\config.h"\ - ".\des.h"\ - ".\des_locl.h"\ - - -"$(INTDIR)\supp.obj" : $(SOURCE) $(DEP_CPP_SUPP_) "$(INTDIR)" - - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\rnd_keys.c -DEP_CPP_RND_K=\ - "..\..\include\protos.h"\ +SOURCE=.\fcrypt.c +DEP_CPP_FCRYP=\ "..\..\include\win32\config.h"\ "..\..\include\win32\ktypes.h"\ ".\des.h"\ ".\des_locl.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ + ".\md5.h"\ + {$(INCLUDE)}"sys\types.h"\ + + +"$(INTDIR)\fcrypt.obj" : $(SOURCE) $(DEP_CPP_FCRYP) "$(INTDIR)" + + +SOURCE=.\key_par.c +DEP_CPP_KEY_P=\ + "..\..\include\win32\config.h"\ + ".\des.h"\ + ".\des_locl.h"\ + + +"$(INTDIR)\key_par.obj" : $(SOURCE) $(DEP_CPP_KEY_P) "$(INTDIR)" + + +SOURCE=.\ncbc_enc.c +DEP_CPP_NCBC_=\ + "..\..\include\win32\config.h"\ + ".\des.h"\ + ".\des_locl.h"\ + + +"$(INTDIR)\ncbc_enc.obj" : $(SOURCE) $(DEP_CPP_NCBC_) "$(INTDIR)" + + +SOURCE=.\ofb64ede.c +DEP_CPP_OFB64=\ + "..\..\include\win32\config.h"\ + ".\des.h"\ + ".\des_locl.h"\ + + +"$(INTDIR)\ofb64ede.obj" : $(SOURCE) $(DEP_CPP_OFB64) "$(INTDIR)" + + +SOURCE=.\ofb64enc.c +DEP_CPP_OFB64E=\ + "..\..\include\win32\config.h"\ + ".\des.h"\ + ".\des_locl.h"\ + + +"$(INTDIR)\ofb64enc.obj" : $(SOURCE) $(DEP_CPP_OFB64E) "$(INTDIR)" + + +SOURCE=.\ofb_enc.c +DEP_CPP_OFB_E=\ + "..\..\include\win32\config.h"\ + ".\des.h"\ + ".\des_locl.h"\ + + +"$(INTDIR)\ofb_enc.obj" : $(SOURCE) $(DEP_CPP_OFB_E) "$(INTDIR)" + + +SOURCE=.\passwd_dlg.c +DEP_CPP_PASSW=\ + "..\..\include\win32\config.h"\ + ".\passwd_dlg.h"\ + + +"$(INTDIR)\passwd_dlg.obj" : $(SOURCE) $(DEP_CPP_PASSW) "$(INTDIR)" + + +SOURCE=.\pcbc_enc.c +DEP_CPP_PCBC_=\ + "..\..\include\win32\config.h"\ + ".\des.h"\ + ".\des_locl.h"\ + + +"$(INTDIR)\pcbc_enc.obj" : $(SOURCE) $(DEP_CPP_PCBC_) "$(INTDIR)" + + +SOURCE=.\qud_cksm.c +DEP_CPP_QUD_C=\ + "..\..\include\win32\config.h"\ + ".\des.h"\ + ".\des_locl.h"\ + + +"$(INTDIR)\qud_cksm.obj" : $(SOURCE) $(DEP_CPP_QUD_C) "$(INTDIR)" + + +SOURCE=.\read_pwd.c +DEP_CPP_READ_=\ + "..\..\include\win32\config.h"\ + ".\des.h"\ + ".\des_locl.h"\ + + +"$(INTDIR)\read_pwd.obj" : $(SOURCE) $(DEP_CPP_READ_) "$(INTDIR)" + + +SOURCE=.\rnd_keys.c +DEP_CPP_RND_K=\ + "..\..\include\win32\config.h"\ + "..\..\include\win32\ktypes.h"\ + ".\des.h"\ + ".\des_locl.h"\ + {$(INCLUDE)}"sys\types.h"\ "$(INTDIR)\rnd_keys.obj" : $(SOURCE) $(DEP_CPP_RND_K) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File - SOURCE=.\rpc_enc.c DEP_CPP_RPC_E=\ "..\..\include\win32\config.h"\ @@ -657,10 +588,6 @@ DEP_CPP_RPC_E=\ "$(INTDIR)\rpc_enc.obj" : $(SOURCE) $(DEP_CPP_RPC_E) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File - SOURCE=.\set_key.c DEP_CPP_SET_K=\ "..\..\include\win32\config.h"\ @@ -673,10 +600,6 @@ DEP_CPP_SET_K=\ "$(INTDIR)\set_key.obj" : $(SOURCE) $(DEP_CPP_SET_K) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File - SOURCE=.\str2key.c DEP_CPP_STR2K=\ "..\..\include\win32\config.h"\ @@ -687,35 +610,50 @@ DEP_CPP_STR2K=\ "$(INTDIR)\str2key.obj" : $(SOURCE) $(DEP_CPP_STR2K) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\read_pwd.c -DEP_CPP_READ_=\ +SOURCE=.\supp.c +DEP_CPP_SUPP_=\ "..\..\include\win32\config.h"\ ".\des.h"\ ".\des_locl.h"\ -"$(INTDIR)\read_pwd.obj" : $(SOURCE) $(DEP_CPP_READ_) "$(INTDIR)" +"$(INTDIR)\supp.obj" : $(SOURCE) $(DEP_CPP_SUPP_) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File +SOURCE=.\passwd_dialog.rc -SOURCE=.\des_enc.c -DEP_CPP_DES_E=\ - "..\..\include\win32\config.h"\ - ".\des.h"\ - ".\des_locl.h"\ +"$(INTDIR)\passwd_dialog.res" : $(SOURCE) "$(INTDIR)" + $(RSC) $(RSC_PROJ) $(SOURCE) -"$(INTDIR)\des_enc.obj" : $(SOURCE) $(DEP_CPP_DES_E) "$(INTDIR)" +!IF "$(CFG)" == "des - Win32 Release" + +"roken - Win32 Release" : + cd "\tmp\wirus-krb\krb4-pre-0.9.9\lib\roken" + $(MAKE) /$(MAKEFLAGS) /F ".\roken.mak" CFG="roken - Win32 Release" + cd "..\des" + +"roken - Win32 ReleaseCLEAN" : + cd "\tmp\wirus-krb\krb4-pre-0.9.9\lib\roken" + $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\roken.mak" CFG="roken - Win32 Release"\ + RECURSE=1 + cd "..\des" + +!ELSEIF "$(CFG)" == "des - Win32 Debug" + +"roken - Win32 Debug" : + cd "\tmp\wirus-krb\krb4-pre-0.9.9\lib\roken" + $(MAKE) /$(MAKEFLAGS) /F ".\roken.mak" CFG="roken - Win32 Debug" + cd "..\des" + +"roken - Win32 DebugCLEAN" : + cd "\tmp\wirus-krb\krb4-pre-0.9.9\lib\roken" + $(MAKE) /$(MAKEFLAGS) CLEAN /F ".\roken.mak" CFG="roken - Win32 Debug"\ + RECURSE=1 + cd "..\des" + +!ENDIF -# End Source File -# End Target -# End Project -################################################################################ +!ENDIF + diff --git a/lib/des/passwd_dialog.rc b/lib/des/passwd_dialog.rc index 9173312ae..62079f2ae 100644 --- a/lib/des/passwd_dialog.rc +++ b/lib/des/passwd_dialog.rc @@ -84,6 +84,48 @@ END #endif // APSTUDIO_INVOKED + +#ifndef _MAC +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "CompanyName", "Royal Institute of Technology (KTH)\0" + VALUE "FileDescription", "des\0" + VALUE "FileVersion", "4, 0, 9, 9\0" + VALUE "InternalName", "des\0" + VALUE "LegalCopyright", "Copyright © 1996 - 1998 Royal Institute of Technology (KTH)\0" + VALUE "OriginalFilename", "des.dll\0" + VALUE "ProductName", "KTH Kerberos\0" + VALUE "ProductVersion", "4,0,9,9\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + +#endif // !_MAC + #endif // Swedish resources ///////////////////////////////////////////////////////////////////////////// diff --git a/lib/roken/resource.h b/lib/roken/resource.h new file mode 100644 index 000000000..570105988 --- /dev/null +++ b/lib/roken/resource.h @@ -0,0 +1,15 @@ +//{{NO_DEPENDENCIES}} +// Microsoft Developer Studio generated include file. +// Used by roken.rc +// + +// Next default values for new objects +// +#ifdef APSTUDIO_INVOKED +#ifndef APSTUDIO_READONLY_SYMBOLS +#define _APS_NEXT_RESOURCE_VALUE 101 +#define _APS_NEXT_COMMAND_VALUE 40001 +#define _APS_NEXT_CONTROL_VALUE 1000 +#define _APS_NEXT_SYMED_VALUE 101 +#endif +#endif diff --git a/lib/roken/roken.def b/lib/roken/roken.def index da32b31f7..f9b0369dd 100644 --- a/lib/roken/roken.def +++ b/lib/roken/roken.def @@ -1,4 +1,4 @@ -LIBRARY roken +LIBRARY roken BASE=0x68f0000 EXPORTS gettimeofday strcasecmp @@ -8,3 +8,10 @@ EXPORTS vsnprintf base64_decode base64_encode + roken_concat + roken_vconcat + roken_vmconcat + roken_mconcat + getuid + dns_free_data + dns_lookup diff --git a/lib/roken/roken.dsp b/lib/roken/roken.dsp new file mode 100644 index 000000000..d84854e3d --- /dev/null +++ b/lib/roken/roken.dsp @@ -0,0 +1,156 @@ +# Microsoft Developer Studio Project File - Name="roken" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 5.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=roken - 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 NMAKE /f "roken.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 "roken.mak" CFG="roken - Win32 Release" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "roken - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "roken - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "roken - 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 Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /MT /GX /O2 /I "..\krb" /I "..\des" /I "..\..\include" /I "..\..\include\win32" /I "." /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "HAVE_CONFIG_H" /YX /FD /c +# ADD BASE MTL /nologo /D "NDEBUG" /win32 +# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32 +# 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 /nologo /subsystem:windows /dll /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /base:"0x68e7780" /subsystem:windows /dll /machine:I386 + +!ELSEIF "$(CFG)" == "roken - 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 Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir ".\Debug" +# PROP Intermediate_Dir ".\Debug" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c +# ADD CPP /nologo /MDd /Gm /GX /Zi /Od /I "..\krb" /I "..\des" /I "..\..\include" /I "..\..\include\win32" /I "." /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "HAVE_CONFIG_H" /YX /FD /c +# ADD BASE MTL /nologo /D "_DEBUG" /win32 +# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32 +# 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 /nologo /subsystem:windows /dll /debug /machine:I386 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:windows /dll /debug /machine:I386 /def:".\roken.def" +# SUBTRACT LINK32 /pdb:none + +!ENDIF + +# Begin Target + +# Name "roken - Win32 Release" +# Name "roken - Win32 Debug" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;hpj;bat;for;f90" +# Begin Source File + +SOURCE=.\base64.c +# End Source File +# Begin Source File + +SOURCE=.\concat.c +# End Source File +# Begin Source File + +SOURCE=.\gettimeofday.c +# End Source File +# Begin Source File + +SOURCE=.\getuid.c +# End Source File +# Begin Source File + +SOURCE=.\resolve.c +# End Source File +# Begin Source File + +SOURCE=.\roken.def + +!IF "$(CFG)" == "roken - Win32 Release" + +!ELSEIF "$(CFG)" == "roken - Win32 Debug" + +# PROP Exclude_From_Build 1 + +!ENDIF + +# End Source File +# Begin Source File + +SOURCE=.\snprintf.c +# End Source File +# Begin Source File + +SOURCE=.\strcasecmp.c +# End Source File +# Begin Source File + +SOURCE=.\strtok_r.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;fi;fd" +# Begin Source File + +SOURCE=.\resolve.h +# End Source File +# End Group +# Begin Group "Resource Files" + +# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;cnt;rtf;gif;jpg;jpeg;jpe" +# Begin Source File + +SOURCE=.\roken.rc +# End Source File +# End Group +# End Target +# End Project diff --git a/lib/roken/roken.mak b/lib/roken/roken.mak index d1c23330d..da9a834e5 100644 --- a/lib/roken/roken.mak +++ b/lib/roken/roken.mak @@ -1,19 +1,15 @@ -# Microsoft Developer Studio Generated NMAKE File, Format Version 4.20 -# ** DO NOT EDIT ** - -# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 - +# Microsoft Developer Studio Generated NMAKE File, Based on roken.dsp !IF "$(CFG)" == "" -CFG=roken - Win32 Debug -!MESSAGE No configuration specified. Defaulting to roken - Win32 Debug. +CFG=roken - Win32 Release +!MESSAGE No configuration specified. Defaulting to roken - Win32 Release. !ENDIF !IF "$(CFG)" != "roken - Win32 Release" && "$(CFG)" != "roken - Win32 Debug" !MESSAGE Invalid configuration "$(CFG)" specified. -!MESSAGE You can specify a configuration when running NMAKE on this makefile +!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 "roken.mak" CFG="roken - Win32 Debug" +!MESSAGE NMAKE /f "roken.mak" CFG="roken - Win32 Release" !MESSAGE !MESSAGE Possible choices for configuration are: !MESSAGE @@ -28,36 +24,40 @@ NULL= !ELSE NULL=nul !ENDIF -################################################################################ -# Begin Project -# PROP Target_Last_Scanned "roken - Win32 Debug" -MTL=mktyplib.exe + CPP=cl.exe +MTL=midl.exe RSC=rc.exe !IF "$(CFG)" == "roken - 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 "" OUTDIR=.\Release INTDIR=.\Release +# Begin Custom Macros +OutDir=.\.\Release +# End Custom Macros + +!IF "$(RECURSE)" == "0" ALL : "$(OUTDIR)\roken.dll" +!ELSE + +ALL : "$(OUTDIR)\roken.dll" + +!ENDIF + CLEAN : + -@erase "$(INTDIR)\base64.obj" + -@erase "$(INTDIR)\concat.obj" -@erase "$(INTDIR)\gettimeofday.obj" + -@erase "$(INTDIR)\getuid.obj" + -@erase "$(INTDIR)\resolve.obj" + -@erase "$(INTDIR)\roken.res" -@erase "$(INTDIR)\snprintf.obj" -@erase "$(INTDIR)\strcasecmp.obj" -@erase "$(INTDIR)\strtok_r.obj" - -@erase "$(INTDIR)\base64.obj" + -@erase "$(INTDIR)\vc50.idb" -@erase "$(OUTDIR)\roken.dll" -@erase "$(OUTDIR)\roken.exp" -@erase "$(OUTDIR)\roken.lib" @@ -65,40 +65,36 @@ CLEAN : "$(OUTDIR)" : if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" -# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MT /GX /O2 /I "..\krb" /I "..\des" /I "..\..\include" /I "..\..\include\win32" /I "." /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "HAVE_CONFIG_H" /YX /c CPP_PROJ=/nologo /MT /GX /O2 /I "..\krb" /I "..\des" /I "..\..\include" /I\ "..\..\include\win32" /I "." /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D\ - "HAVE_CONFIG_H" /Fp"$(INTDIR)/roken.pch" /YX /Fo"$(INTDIR)/" /c + "HAVE_CONFIG_H" /Fp"$(INTDIR)\roken.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\"\ + /FD /c CPP_OBJS=.\Release/ -CPP_SBRS=.\. -# ADD BASE MTL /nologo /D "NDEBUG" /win32 -# ADD MTL /nologo /D "NDEBUG" /win32 -MTL_PROJ=/nologo /D "NDEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "NDEBUG" -# ADD RSC /l 0x409 /d "NDEBUG" +CPP_SBRS=. +MTL_PROJ=/nologo /D "NDEBUG" /mktyplib203 /win32 +RSC_PROJ=/l 0x409 /fo"$(INTDIR)\roken.res" /d "NDEBUG" BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/roken.bsc" +BSC32_FLAGS=/nologo /o"$(OUTDIR)\roken.bsc" BSC32_SBRS= \ 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 /nologo /subsystem:windows /dll /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 /nologo /base:0x68e7780 /subsystem:windows /dll /machine:I386 LINK32_FLAGS=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 /base:0x68e7780 /subsystem:windows /dll /incremental:no\ - /pdb:"$(OUTDIR)/roken.pdb" /machine:I386 /def:".\roken.def"\ - /out:"$(OUTDIR)/roken.dll" /implib:"$(OUTDIR)/roken.lib" + advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo\ + /base:"0x68e7780" /subsystem:windows /dll /incremental:no\ + /pdb:"$(OUTDIR)\roken.pdb" /machine:I386 /def:".\roken.def"\ + /out:"$(OUTDIR)\roken.dll" /implib:"$(OUTDIR)\roken.lib" DEF_FILE= \ ".\roken.def" LINK32_OBJS= \ + "$(INTDIR)\base64.obj" \ + "$(INTDIR)\concat.obj" \ "$(INTDIR)\gettimeofday.obj" \ + "$(INTDIR)\getuid.obj" \ + "$(INTDIR)\resolve.obj" \ + "$(INTDIR)\roken.res" \ "$(INTDIR)\snprintf.obj" \ "$(INTDIR)\strcasecmp.obj" \ - "$(INTDIR)\strtok_r.obj" \ - "$(INTDIR)\base64.obj" + "$(INTDIR)\strtok_r.obj" "$(OUTDIR)\roken.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) $(LINK32) @<< @@ -107,29 +103,34 @@ LINK32_OBJS= \ !ELSEIF "$(CFG)" == "roken - 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 Target_Dir "" -# PROP Use_MFC 0 -# PROP Use_Debug_Libraries 1 -# PROP Output_Dir "Debug" -# PROP Intermediate_Dir "Debug" -# PROP Target_Dir "" OUTDIR=.\Debug INTDIR=.\Debug +# Begin Custom Macros +OutDir=.\.\Debug +# End Custom Macros + +!IF "$(RECURSE)" == "0" ALL : "$(OUTDIR)\roken.dll" +!ELSE + +ALL : "$(OUTDIR)\roken.dll" + +!ENDIF + CLEAN : + -@erase "$(INTDIR)\base64.obj" + -@erase "$(INTDIR)\concat.obj" -@erase "$(INTDIR)\gettimeofday.obj" + -@erase "$(INTDIR)\getuid.obj" + -@erase "$(INTDIR)\resolve.obj" + -@erase "$(INTDIR)\roken.res" -@erase "$(INTDIR)\snprintf.obj" -@erase "$(INTDIR)\strcasecmp.obj" -@erase "$(INTDIR)\strtok_r.obj" - -@erase "$(INTDIR)\base64.obj" - -@erase "$(INTDIR)\vc40.idb" - -@erase "$(INTDIR)\vc40.pdb" + -@erase "$(INTDIR)\vc50.idb" + -@erase "$(INTDIR)\vc50.pdb" -@erase "$(OUTDIR)\roken.dll" -@erase "$(OUTDIR)\roken.exp" -@erase "$(OUTDIR)\roken.ilk" @@ -139,41 +140,34 @@ CLEAN : "$(OUTDIR)" : if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)" -# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /c -# ADD CPP /nologo /MTd /Gm /GX /Zi /Od /I "..\krb" /I "..\des" /I "..\..\include" /I "..\..\include\win32" /I "." /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "HAVE_CONFIG_H" /YX /c -CPP_PROJ=/nologo /MTd /Gm /GX /Zi /Od /I "..\krb" /I "..\des" /I\ +CPP_PROJ=/nologo /MDd /Gm /GX /Zi /Od /I "..\krb" /I "..\des" /I\ "..\..\include" /I "..\..\include\win32" /I "." /D "_DEBUG" /D "WIN32" /D\ - "_WINDOWS" /D "HAVE_CONFIG_H" /Fp"$(INTDIR)/roken.pch" /YX /Fo"$(INTDIR)/"\ - /Fd"$(INTDIR)/" /c + "_WINDOWS" /D "HAVE_CONFIG_H" /Fp"$(INTDIR)\roken.pch" /YX /Fo"$(INTDIR)\\"\ + /Fd"$(INTDIR)\\" /FD /c CPP_OBJS=.\Debug/ -CPP_SBRS=.\. -# ADD BASE MTL /nologo /D "_DEBUG" /win32 -# ADD MTL /nologo /D "_DEBUG" /win32 -MTL_PROJ=/nologo /D "_DEBUG" /win32 -# ADD BASE RSC /l 0x409 /d "_DEBUG" -# ADD RSC /l 0x409 /d "_DEBUG" +CPP_SBRS=. +MTL_PROJ=/nologo /D "_DEBUG" /mktyplib203 /win32 +RSC_PROJ=/l 0x409 /fo"$(INTDIR)\roken.res" /d "_DEBUG" BSC32=bscmake.exe -# ADD BASE BSC32 /nologo -# ADD BSC32 /nologo -BSC32_FLAGS=/nologo /o"$(OUTDIR)/roken.bsc" +BSC32_FLAGS=/nologo /o"$(OUTDIR)\roken.bsc" BSC32_SBRS= \ 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 /nologo /subsystem:windows /dll /debug /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 /nologo /base:0x68e7780 /subsystem:windows /dll /debug /machine:I386 LINK32_FLAGS=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 /base:0x68e7780 /subsystem:windows /dll /incremental:yes\ - /pdb:"$(OUTDIR)/roken.pdb" /debug /machine:I386 /def:".\roken.def"\ - /out:"$(OUTDIR)/roken.dll" /implib:"$(OUTDIR)/roken.lib" -DEF_FILE= \ - ".\roken.def" + advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo\ + /subsystem:windows /dll /incremental:yes /pdb:"$(OUTDIR)\roken.pdb" /debug\ + /machine:I386 /def:".\roken.def" /out:"$(OUTDIR)\roken.dll"\ + /implib:"$(OUTDIR)\roken.lib" LINK32_OBJS= \ + "$(INTDIR)\base64.obj" \ + "$(INTDIR)\concat.obj" \ "$(INTDIR)\gettimeofday.obj" \ + "$(INTDIR)\getuid.obj" \ + "$(INTDIR)\resolve.obj" \ + "$(INTDIR)\roken.res" \ "$(INTDIR)\snprintf.obj" \ "$(INTDIR)\strcasecmp.obj" \ - "$(INTDIR)\strtok_r.obj" \ - "$(INTDIR)\base64.obj" + "$(INTDIR)\strtok_r.obj" "$(OUTDIR)\roken.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS) $(LINK32) @<< @@ -182,135 +176,141 @@ LINK32_OBJS= \ !ENDIF -.c{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< +.c{$(CPP_OBJS)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< -.cpp{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< +.cpp{$(CPP_OBJS)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< -.cxx{$(CPP_OBJS)}.obj: - $(CPP) $(CPP_PROJ) $< +.cxx{$(CPP_OBJS)}.obj:: + $(CPP) @<< + $(CPP_PROJ) $< +<< -.c{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< +.c{$(CPP_SBRS)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< -.cpp{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< +.cpp{$(CPP_SBRS)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< -.cxx{$(CPP_SBRS)}.sbr: - $(CPP) $(CPP_PROJ) $< +.cxx{$(CPP_SBRS)}.sbr:: + $(CPP) @<< + $(CPP_PROJ) $< +<< -################################################################################ -# Begin Target -# Name "roken - Win32 Release" -# Name "roken - Win32 Debug" - -!IF "$(CFG)" == "roken - Win32 Release" - -!ELSEIF "$(CFG)" == "roken - Win32 Debug" - -!ENDIF - -################################################################################ -# Begin Source File - -SOURCE=.\roken.def - -!IF "$(CFG)" == "roken - Win32 Release" - -!ELSEIF "$(CFG)" == "roken - Win32 Debug" - -!ENDIF - -# End Source File -################################################################################ -# Begin Source File - -SOURCE=.\strcasecmp.c -DEP_CPP_STRCA=\ - "..\..\include\sys/cdefs.h"\ +!IF "$(CFG)" == "roken - Win32 Release" || "$(CFG)" == "roken - Win32 Debug" +SOURCE=.\base64.c +DEP_CPP_BASE6=\ "..\..\include\win32\config.h"\ - {$(INCLUDE)}"\sys\types.h"\ + ".\base64.h"\ + + +"$(INTDIR)\base64.obj" : $(SOURCE) $(DEP_CPP_BASE6) "$(INTDIR)" + + +SOURCE=.\concat.c +DEP_CPP_CONCA=\ + "..\..\include\win32\config.h"\ + "..\..\include\win32\roken.h"\ + ".\err.h"\ + ".\roken-common.h"\ + {$(INCLUDE)}"sys\stat.h"\ + {$(INCLUDE)}"sys\types.h"\ -"$(INTDIR)\strcasecmp.obj" : $(SOURCE) $(DEP_CPP_STRCA) "$(INTDIR)" +"$(INTDIR)\concat.obj" : $(SOURCE) $(DEP_CPP_CONCA) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File - -SOURCE="..\krb\gettimeofday.c" +SOURCE=.\gettimeofday.c DEP_CPP_GETTI=\ - "..\..\include\protos.h"\ - "..\..\include\sys/cdefs.h"\ "..\..\include\win32\config.h"\ - "..\..\include\win32\ktypes.h"\ - "..\des\des.h"\ - "..\krb\krb.h"\ - "..\krb\krb_locl.h"\ - "..\krb\krb_log.h"\ - "..\krb\prot.h"\ - "..\krb\resolve.h"\ - ".\roken.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ + "..\..\include\win32\roken.h"\ + ".\err.h"\ + ".\roken-common.h"\ + {$(INCLUDE)}"sys\stat.h"\ + {$(INCLUDE)}"sys\types.h"\ "$(INTDIR)\gettimeofday.obj" : $(SOURCE) $(DEP_CPP_GETTI) "$(INTDIR)" - $(CPP) $(CPP_PROJ) $(SOURCE) -# End Source File -################################################################################ -# Begin Source File +SOURCE=.\getuid.c +DEP_CPP_GETUI=\ + "..\..\include\win32\config.h"\ + "..\..\include\win32\roken.h"\ + ".\err.h"\ + ".\roken-common.h"\ + {$(INCLUDE)}"sys\stat.h"\ + {$(INCLUDE)}"sys\types.h"\ + + +"$(INTDIR)\getuid.obj" : $(SOURCE) $(DEP_CPP_GETUI) "$(INTDIR)" + + +SOURCE=.\resolve.c +DEP_CPP_RESOL=\ + "..\..\include\win32\config.h"\ + "..\..\include\win32\roken.h"\ + ".\err.h"\ + ".\resolve.h"\ + ".\roken-common.h"\ + {$(INCLUDE)}"sys\stat.h"\ + {$(INCLUDE)}"sys\types.h"\ + + +"$(INTDIR)\resolve.obj" : $(SOURCE) $(DEP_CPP_RESOL) "$(INTDIR)" + SOURCE=.\snprintf.c DEP_CPP_SNPRI=\ - "..\..\include\protos.h"\ "..\..\include\win32\config.h"\ - ".\roken.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ + "..\..\include\win32\roken.h"\ + ".\err.h"\ + ".\roken-common.h"\ + {$(INCLUDE)}"sys\stat.h"\ + {$(INCLUDE)}"sys\types.h"\ "$(INTDIR)\snprintf.obj" : $(SOURCE) $(DEP_CPP_SNPRI) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File +SOURCE=.\strcasecmp.c +DEP_CPP_STRCA=\ + "..\..\include\win32\config.h"\ + {$(INCLUDE)}"sys\types.h"\ + + +"$(INTDIR)\strcasecmp.obj" : $(SOURCE) $(DEP_CPP_STRCA) "$(INTDIR)" + SOURCE=.\strtok_r.c DEP_CPP_STRTO=\ - "..\..\include\protos.h"\ "..\..\include\win32\config.h"\ - ".\roken.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ + "..\..\include\win32\roken.h"\ + ".\err.h"\ + ".\roken-common.h"\ + {$(INCLUDE)}"sys\stat.h"\ + {$(INCLUDE)}"sys\types.h"\ "$(INTDIR)\strtok_r.obj" : $(SOURCE) $(DEP_CPP_STRTO) "$(INTDIR)" -# End Source File -################################################################################ -# Begin Source File +SOURCE=.\roken.rc -SOURCE=.\base64.c -DEP_CPP_STRTO=\ - "..\..\include\protos.h"\ - "..\..\include\win32\config.h"\ - ".\roken.h"\ - {$(INCLUDE)}"\sys\stat.h"\ - {$(INCLUDE)}"\sys\types.h"\ +"$(INTDIR)\roken.res" : $(SOURCE) "$(INTDIR)" + $(RSC) $(RSC_PROJ) $(SOURCE) -"$(INTDIR)\base64.obj" : $(SOURCE) $(DEP_CPP_STRTO) "$(INTDIR)" +!ENDIF -# End Source File -# End Target -# End Project -################################################################################ diff --git a/lib/roken/roken.rc b/lib/roken/roken.rc new file mode 100644 index 000000000..e7e2f3e49 --- /dev/null +++ b/lib/roken/roken.rc @@ -0,0 +1,105 @@ +//Microsoft Developer Studio generated resource script. +// +#include "resource.h" + +#define APSTUDIO_READONLY_SYMBOLS +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 2 resource. +// +#include "afxres.h" + +///////////////////////////////////////////////////////////////////////////// +#undef APSTUDIO_READONLY_SYMBOLS + +///////////////////////////////////////////////////////////////////////////// +// Swedish resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_SVE) +#ifdef _WIN32 +LANGUAGE LANG_SWEDISH, SUBLANG_DEFAULT +#pragma code_page(1252) +#endif //_WIN32 + +#ifdef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// TEXTINCLUDE +// + +1 TEXTINCLUDE DISCARDABLE +BEGIN + "resource.h\0" +END + +2 TEXTINCLUDE DISCARDABLE +BEGIN + "#include ""afxres.h""\r\n" + "\0" +END + +3 TEXTINCLUDE DISCARDABLE +BEGIN + "\r\n" + "\0" +END + +#endif // APSTUDIO_INVOKED + + +#ifndef _MAC +///////////////////////////////////////////////////////////////////////////// +// +// Version +// + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 1,0,0,1 + PRODUCTVERSION 1,0,0,1 + FILEFLAGSMASK 0x3fL +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x40004L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "040904b0" + BEGIN + VALUE "CompanyName", "Royal Institute of Technology (KTH)\0" + VALUE "FileDescription", "roken\0" + VALUE "FileVersion", "4, 0, 9, 9\0" + VALUE "InternalName", "roken\0" + VALUE "LegalCopyright", "Copyright © 1996 - 1998 Royal Institute of Technology (KTH)\0" + VALUE "OriginalFilename", "roken.dll\0" + VALUE "ProductName", "KTH Kerberos\0" + VALUE "ProductVersion", "4,0,9,9\0" + END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x409, 1200 + END +END + +#endif // !_MAC + +#endif // Swedish resources +///////////////////////////////////////////////////////////////////////////// + + + +#ifndef APSTUDIO_INVOKED +///////////////////////////////////////////////////////////////////////////// +// +// Generated from the TEXTINCLUDE 3 resource. +// + + +///////////////////////////////////////////////////////////////////////////// +#endif // not APSTUDIO_INVOKED +