diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 8fe02bfc1d..8b8480e27f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,25 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-08-05 16:29 UTC+0200 Viktor Szakats (harbour.01 syenar hu) + * contrib/examples/pp/bld_b32.bat + * contrib/examples/pp/bld_vc.bat + * contrib/examples/guestbk/bld_b32.bat + * contrib/examples/guestbk/bld_vc.bat + * contrib/examples/pe/bld_b32.bat + * contrib/examples/pe/bld_vc.bat + * contrib/examples/dbu/bld_b32.bat + * contrib/examples/dbu/bld_vc.bat + * contrib/examples/hscript/bld_b32.bat + * contrib/examples/hscript/bld_vc.bat + * utils/hbdoc/bld_vc.bat + * utils/hbdoc/bld_b32.bat + * utils/hbmake/bld_vc.bat + * utils/hbmake/bld_b32.bat + + Cleaning .c and .obj files after the build process. + ! This is needed to not interfere with the GNU-make system, + which would pickup and try to compiler those temp .c files. + 2008-08-05 15:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/bin/postinst.sh * added workaround for wrongly detected harbour root path in some diff --git a/harbour/contrib/examples/dbu/bld_b32.bat b/harbour/contrib/examples/dbu/bld_b32.bat index d104a5d17f..a8441c59e9 100644 --- a/harbour/contrib/examples/dbu/bld_b32.bat +++ b/harbour/contrib/examples/dbu/bld_b32.bat @@ -34,6 +34,7 @@ if exist hb_dbu.dif patch -N -i hb_dbu.dif ..\..\..\bin\harbour /n %HB_DIR_DBU%\DBUVIEW.PRG /i..\..\..\include\ echo -O2 -I..\..\..\include -L..\..\..\lib > build.tmp + echo dbu.c >> build.tmp echo dbucopy.c >> build.tmp echo dbuedit.c >> build.tmp @@ -43,6 +44,7 @@ echo dbunet.c >> build.tmp echo dbustru.c >> build.tmp echo dbuutil.c >> build.tmp echo dbuview.c >> build.tmp + echo hbdebug.lib >> build.tmp echo hbvm.lib >> build.tmp echo hbrtl.lib >> build.tmp @@ -56,9 +58,22 @@ echo rddcdx.lib >> build.tmp echo rddfpt.lib >> build.tmp echo hbsix.lib >> build.tmp echo hbcommon.lib >> build.tmp + bcc32 @build.tmp del build.tmp +del *.obj + +del dbu.c +del dbucopy.c +del dbuedit.c +del dbuhelp.c +del dbuindx.c +del dbunet.c +del dbustru.c +del dbuutil.c +del dbuview.c + dbu :EXIT diff --git a/harbour/contrib/examples/dbu/bld_vc.bat b/harbour/contrib/examples/dbu/bld_vc.bat index 4233049919..60a77a9d76 100644 --- a/harbour/contrib/examples/dbu/bld_vc.bat +++ b/harbour/contrib/examples/dbu/bld_vc.bat @@ -35,6 +35,18 @@ if exist hb_dbu.dif patch -N -i hb_dbu.dif cl -D_CRT_SECURE_NO_DEPRECATE -nologo -O2 -TP -W3 -I..\..\..\include dbu.c dbucopy.c dbuedit.c dbuhelp.c dbuindx.c dbunet.c dbustru.c dbuutil.c dbuview.c /link /subsystem:CONSOLE /LIBPATH:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib user32.lib winspool.lib +del *.obj + +del dbu.c +del dbucopy.c +del dbuedit.c +del dbuhelp.c +del dbuindx.c +del dbunet.c +del dbustru.c +del dbuutil.c +del dbuview.c + dbu :EXIT diff --git a/harbour/contrib/examples/guestbk/bld_b32.bat b/harbour/contrib/examples/guestbk/bld_b32.bat index 24587c8c9a..5a956f7a3a 100644 --- a/harbour/contrib/examples/guestbk/bld_b32.bat +++ b/harbour/contrib/examples/guestbk/bld_b32.bat @@ -8,7 +8,9 @@ rem ..\..\..\bin\harbour /n testcgi /i..\..\..\include\ echo -O2 -I..\..\..\include -L..\..\..\lib > build.tmp -echo guestbk.c inifiles.c testcgi.c >> build.tmp +echo guestbk.c >> build.tmp +echo inifiles.c >> build.tmp +echo testcgi.c >> build.tmp echo hbdebug.lib >> build.tmp echo hbvm.lib >> build.tmp echo hbrtl.lib >> build.tmp @@ -25,4 +27,10 @@ echo hbcommon.lib >> build.tmp bcc32 @build.tmp del build.tmp +del *.obj + +del guestbk.c +del inifiles.c +del testcgi.c + guestbk diff --git a/harbour/contrib/examples/guestbk/bld_vc.bat b/harbour/contrib/examples/guestbk/bld_vc.bat index 85be41fe60..c8ed232886 100644 --- a/harbour/contrib/examples/guestbk/bld_vc.bat +++ b/harbour/contrib/examples/guestbk/bld_vc.bat @@ -9,4 +9,10 @@ rem cl -D_CRT_SECURE_NO_DEPRECATE -nologo -O2 -TP -W3 -I..\..\..\include guestbk.c inifiles.c testcgi.c /link /subsystem:CONSOLE /LIBPATH:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib user32.lib winspool.lib +del *.obj + +del guestbk.c +del inifiles.c +del testcgi.c + guestbk diff --git a/harbour/contrib/examples/hscript/bld_b32.bat b/harbour/contrib/examples/hscript/bld_b32.bat index dfa6b87e53..a2aaaf058c 100644 --- a/harbour/contrib/examples/hscript/bld_b32.bat +++ b/harbour/contrib/examples/hscript/bld_b32.bat @@ -7,6 +7,7 @@ rem NOTE: This sample program needs hbnf.lib from contrib/hbnf ..\..\..\bin\harbour hscript /n /i..\..\..\include bcc32 -O2 -I..\..\..\include -L..\..\..\lib hscript.c hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbcpage.lib hbsix.lib hbcommon.lib hbpcre.lib hbhsx.lib hbnf.lib hbzlib.lib +del *.obj del hscript.c if not exist hscript.exe goto :EXIT diff --git a/harbour/contrib/examples/hscript/bld_vc.bat b/harbour/contrib/examples/hscript/bld_vc.bat index 2d64e5d8d1..c76265291c 100644 --- a/harbour/contrib/examples/hscript/bld_vc.bat +++ b/harbour/contrib/examples/hscript/bld_vc.bat @@ -7,6 +7,7 @@ rem NOTE: This sample program needs hbnf.lib from contrib/hbnf ..\..\..\bin\harbour hscript /n /i..\..\..\include cl -D_CRT_SECURE_NO_DEPRECATE -nologo -O2 -TP -W3 -I..\..\..\include hscript.c /link /subsystem:CONSOLE /LIBPATH:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib hbnf.lib user32.lib winspool.lib +del *.obj del hscript.c if not exist hscript.exe goto :EXIT diff --git a/harbour/contrib/examples/pe/bld_b32.bat b/harbour/contrib/examples/pe/bld_b32.bat index 3d4460244c..970c7f8a21 100644 --- a/harbour/contrib/examples/pe/bld_b32.bat +++ b/harbour/contrib/examples/pe/bld_b32.bat @@ -7,7 +7,9 @@ rem ..\..\..\bin\harbour /n editorhi /i..\..\..\include\ echo -O2 -I..\..\..\include -L..\..\..\lib > build.tmp -echo pe.c editorhi.c editorlo.c >> build.tmp +echo pe.c >> build.tmp +echo editorhi.c >> build.tmp +echo editorlo.c >> build.tmp echo hbdebug.lib >> build.tmp echo hbvm.lib >> build.tmp echo hbrtl.lib >> build.tmp @@ -24,4 +26,9 @@ echo hbcommon.lib >> build.tmp bcc32 @build.tmp del build.tmp +del *.obj + +del pe.c +del editorhi.c + pe diff --git a/harbour/contrib/examples/pe/bld_vc.bat b/harbour/contrib/examples/pe/bld_vc.bat index 4c7c9a1f02..f748c80310 100644 --- a/harbour/contrib/examples/pe/bld_vc.bat +++ b/harbour/contrib/examples/pe/bld_vc.bat @@ -8,4 +8,9 @@ rem cl -D_CRT_SECURE_NO_DEPRECATE -nologo -O2 -TP -W3 -I..\..\..\include pe.c editorhi.c editorlo.c /link /subsystem:CONSOLE /LIBPATH:..\..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib user32.lib winspool.lib +del *.obj + +del pe.c +del editorhi.c + pe diff --git a/harbour/contrib/examples/pp/bld_b32.bat b/harbour/contrib/examples/pp/bld_b32.bat index 6f2b1de0c8..3721db3ae3 100644 --- a/harbour/contrib/examples/pp/bld_b32.bat +++ b/harbour/contrib/examples/pp/bld_b32.bat @@ -8,5 +8,6 @@ echo pp.c hbppcomp.c hbppcore.c hbpptbl.c hbpragma.c >> build.tmp echo hbcommon.lib >> build.tmp bcc32 @build.tmp del build.tmp +del *.obj pp diff --git a/harbour/contrib/examples/pp/bld_vc.bat b/harbour/contrib/examples/pp/bld_vc.bat index 2e1d0a37da..e2d393f263 100644 --- a/harbour/contrib/examples/pp/bld_vc.bat +++ b/harbour/contrib/examples/pp/bld_vc.bat @@ -4,5 +4,6 @@ rem $Id$ rem cl -D_CRT_SECURE_NO_DEPRECATE -nologo -O2 -TP -W3 -I..\..\..\include pp.c hbppcomp.c hbppcore.c hbpptbl.c hbpragma.c /link /subsystem:CONSOLE /LIBPATH:..\..\..\lib hbcommon.lib +del *.obj pp diff --git a/harbour/utils/hbdoc/bld_b32.bat b/harbour/utils/hbdoc/bld_b32.bat index 5ca8d465dc..a6a1c632dd 100644 --- a/harbour/utils/hbdoc/bld_b32.bat +++ b/harbour/utils/hbdoc/bld_b32.bat @@ -61,3 +61,25 @@ echo hbcommon.lib >> build.tmp bcc32 @build.tmp del build.tmp + +del *.obj + +del hbdoc.c +del fclass1.c +del ffile1.c +del ft_funcs.c +del genasc.c +del genchm.c +del genhpc.c +del genhtm.c +del genng.c +del genos2.c +del genpdf1.c +del genrtf.c +del gentrf.c +del html.c +del ng.c +del os2.c +del rtf.c +del teeasc.c +del troff.c diff --git a/harbour/utils/hbdoc/bld_vc.bat b/harbour/utils/hbdoc/bld_vc.bat index 510c7d1ab6..2d1b94083f 100644 --- a/harbour/utils/hbdoc/bld_vc.bat +++ b/harbour/utils/hbdoc/bld_vc.bat @@ -24,3 +24,25 @@ rem ..\..\bin\harbour /n troff /i..\..\include cl -D_CRT_SECURE_NO_DEPRECATE -nologo -O2 -TP -W3 -I..\..\include hbdoc.c fclass1.c ffile1.c ft_funcs.c genasc.c genchm.c genhpc.c genhtm.c genng.c genos2.c genpdf1.c genrtf.c gentrf.c html.c ng.c os2.c rtf.c teeasc.c troff.c /link /subsystem:CONSOLE /LIBPATH:..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib user32.lib winspool.lib + +del *.obj + +del hbdoc.c +del fclass1.c +del ffile1.c +del ft_funcs.c +del genasc.c +del genchm.c +del genhpc.c +del genhtm.c +del genng.c +del genos2.c +del genpdf1.c +del genrtf.c +del gentrf.c +del html.c +del ng.c +del os2.c +del rtf.c +del teeasc.c +del troff.c diff --git a/harbour/utils/hbmake/bld_b32.bat b/harbour/utils/hbmake/bld_b32.bat index 6b73ccc5ad..04be22400a 100644 --- a/harbour/utils/hbmake/bld_b32.bat +++ b/harbour/utils/hbmake/bld_b32.bat @@ -48,3 +48,17 @@ echo hbcommon.lib >> build.tmp bcc32 @build.tmp del build.tmp + +del *.obj + +del hbmake.c +del checks.c +del fclass1.c +del ffile1.c +del ft_funcs.c +del hbmutils.c +del pickarry.c +del pickfile.c +del prb_stak.c +del radios.c +del tmake.c diff --git a/harbour/utils/hbmake/bld_vc.bat b/harbour/utils/hbmake/bld_vc.bat index af69dcaf8b..8042d35403 100644 --- a/harbour/utils/hbmake/bld_vc.bat +++ b/harbour/utils/hbmake/bld_vc.bat @@ -16,3 +16,17 @@ rem ..\..\bin\harbour /n tmake /i..\..\include cl -D_CRT_SECURE_NO_DEPRECATE -nologo -O2 -TP -W3 -I..\..\include hbmake.c checks.c fclass1.c ffile1.c ft_funcs.c hbmutils.c pickarry.c pickfile.c prb_stak.c radios.c tmake.c hbmlang.c readline.c /link /subsystem:CONSOLE /LIBPATH:..\..\lib hbcpage.lib hbdebug.lib hbvm.lib hbrtl.lib gtwin.lib hblang.lib hbrdd.lib hbmacro.lib hbpp.lib rddntx.lib rddcdx.lib rddfpt.lib hbsix.lib hbcommon.lib hbpcre.lib hbzlib.lib user32.lib winspool.lib + +del *.obj + +del hbmake.c +del checks.c +del fclass1.c +del ffile1.c +del ft_funcs.c +del hbmutils.c +del pickarry.c +del pickfile.c +del prb_stak.c +del radios.c +del tmake.c