Update of /cvsroot/ccomx/ccom
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14595
Modified Files:
fix.bat
Log Message:
Line ends
Index: fix.bat
===================================================================
RCS file: /cvsroot/ccomx/ccom/fix.bat,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -d -r1.1.1.1 -r1.2
*** fix.bat 2 Mar 2003 17:05:59 -0000 1.1.1.1
--- fix.bat 23 May 2004 20:52:22 -0000 1.2
***************
*** 1,90 ****
! @echo off
!
! rem Sets up the CCOM package for building with the specified compiler,
! rem and if possible converting text files from LF to CR/LF format.
!
!
! rem check that number of args is ok
! if [%3] == [] goto arg2
! goto help
!
!
! rem check if second arg is ok
! :arg2
! if [%2] == [--quick] goto arg1
! if [%2] == [] goto arg1
! goto help
!
!
! rem check if first arg is ok
! :arg1
! if [%1] == [bcc32] goto begin
! if [%1] == [djgpp] goto begin
! if [%1] == [mingw32] goto begin
! if [%1] == [msvc] goto begin
! goto help
!
!
! rem echo header to makefile, then goto platform specific section
! :begin
! echo # generated by fix.bat > makefile
! if [%1] == [bcc32] goto bcc32
! if [%1] == [djgpp] goto djgpp
! if [%1] == [mingw32] goto mingw32
! if [%1] == [msvc] goto msvc
! echo internal error: not reached
! goto end
!
!
! :bcc32
! echo Configuring CCOM for Windows/BCC32...
! echo MAKEFILE_INC = makefile.bcc >> makefile
! goto finish
!
!
! :djgpp
! echo Configuring CCOM for DOS/djgpp...
! echo MAKEFILE_INC = makefile.dj >> makefile
! goto finish
!
!
! :mingw32
! echo Configuring CCOM for Windows/Mingw32...
! echo MAKEFILE_INC = makefile.mgw >> makefile
! goto finish
!
!
! :msvc
! echo Configuring CCOM for Windows/MSVC...
! echo MAKEFILE_INC = makefile.vc >> makefile
! goto finish
!
!
! :help
! echo.
! echo Usage: fix platform [--quick]
! echo.
! echo Where platform is one of: djgpp, mingw32, msvc or bcc32.
! echo The --quick parameter is used to turn off LF to CR/LF conversion.
! echo.
! goto end
!
!
! rem write end of makefile and possibly convert end of line format
! :finish
! echo include misc/makefile.all >> makefile
!
! if [%2] == [--quick] goto done
! if [%1] == [bcc32] goto done
! if [%1] == [mingw32] goto done
!
! echo Converting CCOM files to DOS CR/LF format...
! utod *.bat .../*.c .../*.h
! utod .../*.txt .../*._tx makefile* misc/makefile.* readme.*
!
!
! :done
! echo Done!
!
!
! :end
--- 1,90 ----
! @echo off
!
! rem Sets up the CCOM package for building with the specified compiler,
! rem and if possible converting text files from LF to CR/LF format.
!
!
! rem check that number of args is ok
! if [%3] == [] goto arg2
! goto help
!
!
! rem check if second arg is ok
! :arg2
! if [%2] == [--quick] goto arg1
! if [%2] == [] goto arg1
! goto help
!
!
! rem check if first arg is ok
! :arg1
! if [%1] == [bcc32] goto begin
! if [%1] == [djgpp] goto begin
! if [%1] == [mingw32] goto begin
! if [%1] == [msvc] goto begin
! goto help
!
!
! rem echo header to makefile, then goto platform specific section
! :begin
! echo # generated by fix.bat > makefile
! if [%1] == [bcc32] goto bcc32
! if [%1] == [djgpp] goto djgpp
! if [%1] == [mingw32] goto mingw32
! if [%1] == [msvc] goto msvc
! echo internal error: not reached
! goto end
!
!
! :bcc32
! echo Configuring CCOM for Windows/BCC32...
! echo MAKEFILE_INC = makefile.bcc >> makefile
! goto finish
!
!
! :djgpp
! echo Configuring CCOM for DOS/djgpp...
! echo MAKEFILE_INC = makefile.dj >> makefile
! goto finish
!
!
! :mingw32
! echo Configuring CCOM for Windows/Mingw32...
! echo MAKEFILE_INC = makefile.mgw >> makefile
! goto finish
!
!
! :msvc
! echo Configuring CCOM for Windows/MSVC...
! echo MAKEFILE_INC = makefile.vc >> makefile
! goto finish
!
!
! :help
! echo.
! echo Usage: fix platform [--quick]
! echo.
! echo Where platform is one of: djgpp, mingw32, msvc or bcc32.
! echo The --quick parameter is used to turn off LF to CR/LF conversion.
! echo.
! goto end
!
!
! rem write end of makefile and possibly convert end of line format
! :finish
! echo include misc/makefile.all >> makefile
!
! if [%2] == [--quick] goto done
! if [%1] == [bcc32] goto done
! if [%1] == [mingw32] goto done
!
! echo Converting CCOM files to DOS CR/LF format...
! utod *.bat .../*.c .../*.h
! utod .../*.txt .../*._tx makefile* misc/makefile.* readme.*
!
!
! :done
! echo Done!
!
!
! :end
|