diff --git a/harbour/ChangeLog b/harbour/ChangeLog index ecf3a79a62..1d090b6a2f 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -1,3 +1,23 @@ +19990708-18:20 EDT David G. Holm + * makefile.icc + + Have to create a dummy unistd.h in the include directory after + running bison and then delete it after building harbour.exe, + because GNU bison adds "#include " for C++ mode, but + the IBM Visual Age C++ 3.0 compiler doesn't have such a file. + * config/dos/global.cf + Added individual -$(RM) commands for *.bak, *.obj, core, and *.o, + because the COMMAND.COM DEL command won't take more than one target. + * include/fileio.ch + + Added copyright and license header and filled in version history + * include/filesys.api + + Added copyright and license header and filled in version history + * include/filesys.h + + Added copyright and license header and filled in version history + * include/set.ch + + Added copyright and license header and filled in version history + * include/set.h + + Added copyright and license header and filled in version history + 19990708-22:00 Bruno Cantero CVSed by Andi Jahja diff --git a/harbour/config/dos/global.cf b/harbour/config/dos/global.cf index 4fbaa04abb..7865e30988 100644 --- a/harbour/config/dos/global.cf +++ b/harbour/config/dos/global.cf @@ -40,6 +40,10 @@ dirbase:: clean:: -echo Y | $(RM) $(ARCH_DOS)\*.* + -$(RM) *.bak + -$(RM) *.obj + -$(RM) core + -$(RM) *.o -$(RD) $(ARCH_DOS) -$(RD) $(HB_ARCHITECTURE) endif \ No newline at end of file diff --git a/harbour/include/fileio.ch b/harbour/include/fileio.ch index 311526f828..bf85bf9b0f 100644 --- a/harbour/include/fileio.ch +++ b/harbour/include/fileio.ch @@ -1,6 +1,42 @@ -/* - * $Id$ - */ +/* $Id$ + + Harbour Project source code + + This module contains the defines needed for Harbour programs to use + the FILE management functions. + + Copyright 1999 David G. Holm + www - http://www.harbour-project.org + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version, with one exception: + + The exception is that if you link the Harbour Runtime Library (HRL) + and/or the Harbour Virtual Machine (HVM) with other files to produce + an executable, this does not by itself cause the resulting executable + to be covered by the GNU General Public License. Your use of that + executable is in no way restricted on account of linking the HRL + and/or HVM code into it. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA (or visit + their web site at http://www.gnu.org/). + + V 1.4 David G. Holm Added copyright and license header, + along with a complete version history. + V 1.3 Victor Szel Undocumented change. + V 1.2 David G. Holm Corrected RCS Id keyword. + V 1.1 David G. Holm Committed to CVS. + V 1.0 David G. Holm Initial version. +*/ #ifndef _FILEIO_CH #define _FILEIO_CH diff --git a/harbour/include/filesys.api b/harbour/include/filesys.api index 5afbe9d029..4d5292cc37 100644 --- a/harbour/include/filesys.api +++ b/harbour/include/filesys.api @@ -1,6 +1,41 @@ -/* - * $Id$ - */ +/* $Id$ + + Harbour Project source code + + This module contains Clipper to Harbour conversions for FILE management. + + Copyright 1999 David G. Holm + www - http://www.harbour-project.org + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version, with one exception: + + The exception is that if you link the Harbour Runtime Library (HRL) + and/or the Harbour Virtual Machine (HVM) with other files to produce + an executable, this does not by itself cause the resulting executable + to be covered by the GNU General Public License. Your use of that + executable is in no way restricted on account of linking the HRL + and/or HVM code into it. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA (or visit + their web site at http://www.gnu.org/). + + V 1.4 David G. Holm Added copyright and license header, + along with a complete version history. + V 1.3 Victor Szel Undocumented change. + V 1.2 David G. Holm Corrected RCS Id keyword. + V 1.1 David G. Holm Committed to CVS. + V 1.0 David G. Holm Initial version. +*/ #ifndef HB_FILESYS_API_ #define HB_FILESYS_API_ diff --git a/harbour/include/filesys.h b/harbour/include/filesys.h index 6504b7584f..b03fa2733e 100644 --- a/harbour/include/filesys.h +++ b/harbour/include/filesys.h @@ -1,6 +1,43 @@ -/* - * $Id$ - */ +/* $Id$ + + Harbour Project source code + + This module contains the Harbour declarations for FILE management. + + Copyright 1999 David G. Holm + www - http://www.harbour-project.org + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version, with one exception: + + The exception is that if you link the Harbour Runtime Library (HRL) + and/or the Harbour Virtual Machine (HVM) with other files to produce + an executable, this does not by itself cause the resulting executable + to be covered by the GNU General Public License. Your use of that + executable is in no way restricted on account of linking the HRL + and/or HVM code into it. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA (or visit + their web site at http://www.gnu.org/). + + V 1.5 David G. Holm Added copyright and license header, + along with a complete version history. + V 1.4 Victor Szel Undocumented change. + V 1.3 Gonzalo A. Diethelm Ensured that all Harbour functions + are declared as HB_FUNCTION( void ); + V 1.2 David G. Holm Corrected RCS Id keyword. + V 1.1 David G. Holm Committed to CVS. + V 1.0 David G. Holm Initial version. +*/ #ifndef HB_FILESYS_H_ #define HB_FILESYS_H_ diff --git a/harbour/include/set.ch b/harbour/include/set.ch index 980de8c2a7..00a2d9b59a 100644 --- a/harbour/include/set.ch +++ b/harbour/include/set.ch @@ -1,6 +1,41 @@ -/* - * $Id$ - */ +/* $Id$ + + Harbour Project source code + + This module contains the defines needed for Harbour programs to use + the SET function + + Copyright 1999 David G. Holm + www - http://www.harbour-project.org + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version, with one exception: + + The exception is that if you link the Harbour Runtime Library (HRL) + and/or the Harbour Virtual Machine (HVM) with other files to produce + an executable, this does not by itself cause the resulting executable + to be covered by the GNU General Public License. Your use of that + executable is in no way restricted on account of linking the HRL + and/or HVM code into it. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA (or visit + their web site at http://www.gnu.org/). + + V 1.3 David G. Holm Added copyright and license header, + along with a complete version history. + V 1.2 Victor Szel Change not documented. + V 1.1 Manuel Ruiz Committed to CVS. + V 1.0 David G. Holm Initial version. +*/ #define _SET_ALTERNATE 1 #define _SET_ALTFILE 2 @@ -41,4 +76,3 @@ #define _SET_TYPEAHEAD 37 #define _SET_UNIQUE 38 #define _SET_WRAP 39 - diff --git a/harbour/include/set.h b/harbour/include/set.h index e1f25ec788..625f9ac33b 100644 --- a/harbour/include/set.h +++ b/harbour/include/set.h @@ -1,6 +1,54 @@ -/* - * $Id$ - */ +/* $Id$ + + Harbour Project source code + + This module contains the Harbour declarations for SET management. + + Copyright 1999 David G. Holm + www - http://www.harbour-project.org + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version, with one exception: + + The exception is that if you link the Harbour Runtime Library (HRL) + and/or the Harbour Virtual Machine (HVM) with other files to produce + an executable, this does not by itself cause the resulting executable + to be covered by the GNU General Public License. Your use of that + executable is in no way restricted on account of linking the HRL + and/or HVM code into it. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA (or visit + their web site at http://www.gnu.org/). + + V 1.12 David G. Holm Added copyright and license header, + along with a complete version history. + V 1.11 David G. Holm Added hb_set_extrahan. + V 1.10 Victor Szel Renamed InitializeSets() to + hb_setInitialize() and renamed + V 1.9 Victor Szel ReleaseSets() to hb_setRelease(). + V 1.8 David G. Holm Changed HB_SET_DEBUG to numeric. + V 1.7 Gonzalo A. Diethelm Made the #include guard ANSI compliant. + V 1.6 Gonzalo A. Diethelm Ensured that all Harbour functions + are declared as HB_FUNCTION( void ); + V 1.5 David G. Holm Added hb_set_althan & hb_set_printhan. + V 1.4 David G. Holm Added hb_set_fixed & HB_SET_FIXED(). + V 1.3 David G. Holm Changed __SETCENTURY to HB_SETCENTURY. + Changed all _SET_name to HB_SET_name + Changed the name of the function that + initializes sets to InitializeSets(). + V 1.2 Gonzalo A. Diethelm Added comment with CVS Id keyword. + V 1.1 Antonio Linares Committed to CVS. + V 1.0 David G. Holm Initial version. +*/ #ifndef HB_SET_H_ #define HB_SET_H_ diff --git a/harbour/makefile.icc b/harbour/makefile.icc index 4ad75ae166..2b565d5c80 100644 --- a/harbour/makefile.icc +++ b/harbour/makefile.icc @@ -202,6 +202,7 @@ source\compiler\harboury.c : source\compiler\harbour.y source\compiler\harbourl.c : source\compiler\harbour.l flex -i -8 -osource\compiler\harbourl.c source\compiler\harbour.l + echo.>include\unistd.h $(path_obj)\genobj32.obj : {$(path_c)}genobj32.c $(path_obj)\harbour.obj : {$(path_c)}harbour.c @@ -218,7 +219,7 @@ $(path_obj)\table.obj : {$(path_c)}table.c icc /C+ $(c_opt) /Fo$@ /Tp$< $(path_exe)\harbour.exe : $(path_obj)\harboury.obj $(path_obj)\harbourl.obj $(path_obj)\genobj32.obj $(path_obj)\harbour.obj $(path_obj)\hbpp.obj $(path_obj)\hbppint.obj $(path_obj)\table.obj - icc /C- $(c_opt) /Fe$(path_exe)\harbour.exe /Isource\compiler \ + icc /C- $(c_opt) /Fe$(path_exe)\harbour.exe /Isource\compiler \ $(path_obj)\harboury.obj \ $(path_obj)\harbourl.obj \ $(path_obj)\genobj32.obj \ @@ -226,3 +227,4 @@ $(path_exe)\harbour.exe : $(path_obj)\harboury.obj $(path_obj)\harbourl.obj $(pa $(path_obj)\hbppint.obj \ $(path_obj)\table.obj \ $(path_obj)\harbour.obj + del include\unistd.h