diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 0e76fdbfcd..004fa473b4 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,27 @@ +19991004-01:14 GMT+1 Victor Szel + * build16.bat -> make_b16.bat + build31.bat -> make_b31.bat + build32.bat -> make_b32.bat + build40.bat -> make_b40.bat + buildvc.bat -> make_vc.bat + * Renamed. + + buildexe-dos-bcc31.bat + + buildexe-dos-djgpp.bat + + buildexe-os2-gcc.cmd + + buildexe-os2-icc.cmd + + buildexe-w32-gcc.bat + + buildexe-w32-mingw32.bat + + buildexe-w32-msvc.bat + + Added these files used in the binary releases, some fixes applied + too: /include for harbour.exe, DJGPP -ldbfntx -> -ldbfnt, a note + from the MSVC version copied into the others. CVS header added. + -o%1.exe added to DJGPP version. Note the long filenames: I could not + figure out a better method to identify the batch file, while keeping + them in the same dir. + * funclist.txt moved to doc/funclist.txt + - genbuild.bat + - Removed, since it's now obsolete. + 19991003-09:45 GMT+1 Antonio Linares * include/classes.ch + Support for INIT and AS clauses. diff --git a/harbour/bin/buildexe-dos-bcc31.bat b/harbour/bin/buildexe-dos-bcc31.bat new file mode 100644 index 0000000000..26d21cd88f --- /dev/null +++ b/harbour/bin/buildexe-dos-bcc31.bat @@ -0,0 +1,28 @@ +@echo off +rem +rem $Id$ +rem + +rem Harbour executable builder batch file +rem +rem Compiler: Borland C/C++ 3.1 +rem Platform: 16-bit DOS +rem +rem Adapted from the MINGW32 version created by Victor Szel +rem by David G. Holm + +if not "%1" == "" goto compile + +echo. +echo Usage: makeexe.bat name +echo. +echo - 'name' is the .prg filename *without* extension. +echo - Don't forget to make a MAIN function for you application. +echo - This batch file assumes you are in some directory off the main harbour dir +exit + +:compile + +harbour %1.prg /n /i..\include +bcc -O2 -mh -I..\include %1.c ..\lib\rtl.lib ..\lib\rdd.lib ..\lib\vm.lib ..\lib\rdd.lib ..\lib\rtl.lib ..\lib\dbfntx.lib +del %1.c diff --git a/harbour/bin/buildexe-dos-djgpp.bat b/harbour/bin/buildexe-dos-djgpp.bat new file mode 100644 index 0000000000..5fb587e145 --- /dev/null +++ b/harbour/bin/buildexe-dos-djgpp.bat @@ -0,0 +1,28 @@ +@echo off +rem +rem $Id$ +rem + +rem Harbour executable builder batch file +rem +rem Compiler: GCC (Cygnus) +rem Platform: 32-bit Windows +rem +rem Adapted from the MINGW32 version created by Victor Szel +rem by David G. Holm + +if not "%1" == "" goto compile + +echo. +echo Usage: makeexe.bat name +echo. +echo - 'name' is the .prg filename *without* extension. +echo - Don't forget to make a MAIN function for you application. +echo - This batch file assumes you are in some directory off the main harbour dir +exit + +:compile + +harbour %1.prg /n /i..\include +gcc %1.c -o%1.exe -I..\include -L..\lib -lrtl -lrdd -lvm -lrdd -lrtl -ldbfnt +del %1.c diff --git a/harbour/bin/buildexe-os2-gcc.cmd b/harbour/bin/buildexe-os2-gcc.cmd new file mode 100644 index 0000000000..9ba2559e33 --- /dev/null +++ b/harbour/bin/buildexe-os2-gcc.cmd @@ -0,0 +1,28 @@ +@echo off +rem +rem $Id$ +rem + +rem Harbour executable builder batch file +rem +rem Compiler: GCC (EMX) +rem Platform: 32-bit OS/2 +rem +rem Adapted from the MINGW32 version created by Victor Szel +rem by David G. Holm + +if not "%1" == "" goto compile + +echo. +echo Usage: makeexe.bat name +echo. +echo - 'name' is the .prg filename *without* extension. +echo - Don't forget to make a MAIN function for you application. +echo - This batch file assumes you are in some directory off the main harbour dir +exit + +:compile + +harbour %1.prg /n /i..\include +gcc %1.c -I..\include -L..\lib -lrtl -lrdd -lvm -lrdd -lrtl -ldbfntx +del %1.c diff --git a/harbour/bin/buildexe-os2-icc.cmd b/harbour/bin/buildexe-os2-icc.cmd new file mode 100644 index 0000000000..15c7acf232 --- /dev/null +++ b/harbour/bin/buildexe-os2-icc.cmd @@ -0,0 +1,28 @@ +@echo off +rem +rem $Id$ +rem + +rem Harbour executable builder batch file +rem +rem Compiler: ICC (IBM Visual Age C++ 3.0) +rem Platform: 32-bit OS/2 +rem +rem Adapted from the MINGW32 version created by Victor Szel +rem by David G. Holm + +if not "%1" == "" goto compile + +echo. +echo Usage: makeexe.bat name +echo. +echo - 'name' is the .prg filename *without* extension. +echo - Don't forget to make a MAIN function for you application. +echo - This batch file assumes you are in some directory off the main harbour dir +exit + +:compile + +harbour %1.prg /n /i..\include +icc /Gs+ /W2 /Se /Sd+ /Ti+ -I..\include /C- /Tp %1.c ..\lib\rtl.lib ..\lib\rdd.lib ..\lib\vm.lib ..\lib\rdd.lib ..\lib\rtl.lib ..\lib\dbfntx.lib +del %1.c diff --git a/harbour/bin/buildexe-w32-gcc.bat b/harbour/bin/buildexe-w32-gcc.bat new file mode 100644 index 0000000000..c5921ce875 --- /dev/null +++ b/harbour/bin/buildexe-w32-gcc.bat @@ -0,0 +1,28 @@ +@echo off +rem +rem $Id$ +rem + +rem Harbour executable builder batch file +rem +rem Compiler: GCC (Cygnus) +rem Platform: 32-bit Windows +rem +rem Adapted from the MINGW32 version created by Victor Szel +rem by David G. Holm + +if not "%1" == "" goto compile + +echo. +echo Usage: makeexe.bat name +echo. +echo - 'name' is the .prg filename *without* extension. +echo - Don't forget to make a MAIN function for you application. +echo - This batch file assumes you are in some directory off the main harbour dir +exit + +:compile + +harbour %1.prg /n /i..\include +gcc %1.c -I..\include -L..\lib -lrtl -lrdd -lvm -lrdd -lrtl -ldbfntx +del %1.c diff --git a/harbour/bin/buildexe-w32-mingw32.bat b/harbour/bin/buildexe-w32-mingw32.bat new file mode 100644 index 0000000000..fe493ecc55 --- /dev/null +++ b/harbour/bin/buildexe-w32-mingw32.bat @@ -0,0 +1,27 @@ +@echo off +rem +rem $Id$ +rem + +rem Harbour executable builder batch file +rem +rem Compiler: Cygwin GCC compiler / MingW32 +rem Platform: Windows 32 bit (console mode) +rem +rem Maintainer: Victor Szel + +if not "%1" == "" goto compile + +echo. +echo Usage: makeexe.bat name +echo. +echo - 'name' is the .prg filename *without* extension. +echo - Don't forget to make a MAIN function for you application. +echo - This batch file assumes you are in some directory off the main harbour dir +exit + +:compile + +harbour %1.prg /n /i..\include +gcc %1.c -mno-cygwin -I..\include -L..\lib -lrtl -lrdd -lvm -lrdd -lrtl -ldbfntx +del %1.c diff --git a/harbour/bin/buildexe-w32-msvc.bat b/harbour/bin/buildexe-w32-msvc.bat new file mode 100644 index 0000000000..5e13261fd0 --- /dev/null +++ b/harbour/bin/buildexe-w32-msvc.bat @@ -0,0 +1,28 @@ +@echo off +rem +rem $Id$ +rem + +rem Harbour executable builder batch file +rem +rem Compiler: MSVC v 12.00.8168 +rem Platform: Windows 32 bit (console mode) +rem +rem Maintainer: Paul Tucker + +if not "%1" == "" goto compile + +echo. +echo Usage: makeexe.bat name +echo. +echo - 'name' is the .prg filename *without* extension. +echo - Don't forget to make a MAIN function for you application. +echo - This batch file assumes you are in some directory off the main harbour dir +exit + +:compile + +harbour %1.prg /n /i..\include +cl -Fd..\bin\harbour -w -Zi -TP -GZ -GA -DHARBOUR_USE_WIN_GTAPI -I..\include %1.c /link /subsystem:CONSOLE ..\obj\symbols.obj ..\lib\harbour.lib ..\lib\terminal.lib ..\lib\hbtools.lib ..\lib\dbfntx.lib ..\lib\debug.lib +echo Ignore LNK4033 warning +del %1.c diff --git a/harbour/funclist.txt b/harbour/doc/funclist.txt similarity index 100% rename from harbour/funclist.txt rename to harbour/doc/funclist.txt diff --git a/harbour/genbuild.bat b/harbour/genbuild.bat deleted file mode 100644 index bf37d43dc8..0000000000 --- a/harbour/genbuild.bat +++ /dev/null @@ -1,7 +0,0 @@ -@echo off -rem -rem $Id$ -rem - -cd.. -pkzip -r -p harb21-2 -x*.exe -x*.bak -x*.sim -x*.out -xsave.bat -xlexyy.c -xy_tab.c -xy_tab.h -x*.obj -x*.lib -x*.zip diff --git a/harbour/build16.bat b/harbour/make_b16.bat similarity index 100% rename from harbour/build16.bat rename to harbour/make_b16.bat diff --git a/harbour/build31.bat b/harbour/make_b31.bat similarity index 100% rename from harbour/build31.bat rename to harbour/make_b31.bat diff --git a/harbour/build32.bat b/harbour/make_b32.bat similarity index 100% rename from harbour/build32.bat rename to harbour/make_b32.bat diff --git a/harbour/build40.bat b/harbour/make_b40.bat similarity index 100% rename from harbour/build40.bat rename to harbour/make_b40.bat diff --git a/harbour/buildvc.bat b/harbour/make_vc.bat similarity index 84% rename from harbour/buildvc.bat rename to harbour/make_vc.bat index 260269f937..2ef5140bbb 100644 --- a/harbour/buildvc.bat +++ b/harbour/make_vc.bat @@ -5,4 +5,4 @@ rem if exist buildvc.err del buildVC.err nmake /f makefile.vc %1 > BuildVC.err -notepad buildVC.err \ No newline at end of file +notepad buildVC.err