Commit Graph

985 Commits

Author SHA1 Message Date
Viktor Szakats
d076d3da2f 2009-08-17 19:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * contrib/hbtip/hbtipssl/Makefile
  * doc/gmake.txt
  * doc/dirstruc.txt
  * examples/hbdoc/examples/core_es/dirstruc.txt
    * Renaming .cf files to .mk.
      Pass 4. Final touches. Renaming is now complete.

  * utils/hbmk2/hbmk2.prg
    ! Applied fix from Przemek to 'nm' output processing.
2009-08-17 17:48:05 +00:00
Viktor Szakats
868a22ea84 2009-08-17 19:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * external/Makefile
  * include/Makefile
  * source/pp/Makefile
  * source/hbextern/Makefile
  * source/lang/Makefile
  * source/vm/maindllh/Makefile
  * source/vm/mainstd/Makefile
  * source/vm/maindllp/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * source/vm/mainwin/Makefile
  * source/main/Makefile
  * source/debug/Makefile
  * source/common/Makefile
  * source/nortl/Makefile
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtstd/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtcgi/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtpca/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gt_tpl/Makefile
  * source/rtl/gtwvt/Makefile
  * source/macro/Makefile
  * source/hbpcre/Makefile
  * source/codepage/Makefile
  * source/rdd/dbfntx/Makefile
  * source/rdd/nulsys/Makefile
  * source/rdd/Makefile
  * source/rdd/dbfnsx/Makefile
  * source/rdd/dbfcdx/Makefile
  * source/rdd/hsx/Makefile
  * source/rdd/usrrdd/rdds/Makefile
  * source/rdd/usrrdd/Makefile
  * source/rdd/dbffpt/Makefile
  * source/rdd/hbsix/Makefile
  * source/hbzlib/Makefile
  * source/compiler/Makefile
  * source/Makefile
  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbtest/Makefile
  * utils/hbi18n/Makefile
  * utils/Makefile
  * utils/hbrun/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbct/Makefile
  * contrib/xhb/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbgt/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbziparc/Makefile
  * contrib/hbxbp/Makefile
  * contrib/xpp/Makefile
  * contrib/Makefile
  * contrib/hbnf/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddsql/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbclipsm/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbmisc/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbwin/Makefile
  * contrib/hbbmcdx/Makefile
  * contrib/hbvpdf/Makefile
  * contrib/hbssl/Makefile
  * contrib/hbbtree/Makefile
  * tests/bldtest/Makefile
  * doc/en-EN/Makefile
  * doc/Makefile
  * Makefile
    * Renaming .cf files to .mk.
      Pass 3. Changing .cf references to .mk ones outside config.
      SVN is in working state again. I'll do a final check after 
      this commit.
2009-08-17 17:32:21 +00:00
Viktor Szakats
8491257259 2009-08-17 19:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for HB_INSTALL_PREFIX macros (recently introduced
      in global.cf). Maybe it'd be better to not use this build-time 
      envvar at all.
      Now that autoconfiguration is working pretty well, I think it may 
      be time to drop support for some envvars in hbmk2. In case of 
      HB_INSTALL_PREFIX it rather makes things more complicated.
2009-08-17 17:04:13 +00:00
Viktor Szakats
34f14f481e 2009-08-16 02:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
  * config/rules.cf
  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/os2/watcom.cf
    % Using HB_PRGFLAGS instead of HB_FLAGSEXTRA.
    % Using HB_CFLAGS and HB_PRGFLAGS instead of HB_CDBG.
    % Using HB_CFLAGS instead of HB_CUNICODE.
    % Moved all flags from HB_RULE to HB_FLAGS (except HB_USER_PRGFLAGS).
      This only affects dos/watcom, more cmdlines will be put in HARBOURCMD.

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * source/vm/maindllh/Makefile
  * source/vm/maindllp/Makefile
  * source/vm/vmmt/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gtsln/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbtip/hbtipssl/Makefile
  * contrib/hbssl/Makefile
    ! Using HB_CFLAGS/HB_PRGFLAGS to specify Makefile local
      compiler settings instead of modifying HB_USER_*FLAGS.
      This way the double defines are gone.
    + Included global.cf to all Makefiles which needs to modify
      HB_CFLAGS/HB_PRGFLAGS. Probably we should move global.cf
      inclusion to the top of all Makefiles as a convention.
      Not terribly elegant, but solves a few problems and
      more efficient.
    % Changed ', -I$(d))' to ',-I$(d))' along the way. This avoids
      wasting an extra space in command line.
    ; NOTE: It'd still be beneficial to find a way to get rid of 
            'descend' rule. It could make cmdlines cleaner/shorter 
            and whole build process simpler/faster. I didn't manage 
            so far.

  * source/vm/Makefile
    * Deleted 'HB_USER_CFLAGS := $(subst -DHB_MT_VM,,$(HB_USER_CFLAGS))'
      (since it's no longer supported practice to modify user supplied flags)
      I'm not sure if it's important enough to have. AFAIK there is no
      reason users use HB_MT_VM define, it's not a public setting, so we
      shouldn't go too much far in trying to protect against its presence.
      If it's needed, we should add 'HB_CFLAGS += -DHB_ST_VM' and handle
      HB_ST_VM as the reverse of HB_MT_VM inside the source.

  * source/rdd/dbffpt/dbffpt1.c
  * source/rdd/dbffpt/Makefile
    * Optimizations are now disabled using #pragma for __XCC__ instead of
      deleting them from HB_USER_CFLAGS. Please test, and see above on
      modifying HB_USER_CFLAGS in our make files.

  * bin/postinst.cmd
    ! Deleted double quote from target dir in xcopy commands.
      Blind change.

  * utils/hbtest/rt_main.ch
  * utils/hbtest/hbtest.hbp
  * utils/hbtest/Makefile
    + Changed to use #pragma to turn on line numbers instead of
      using HB_USER_PRGFLAGS (or HB_PRGFLAGS). This way there is
      no need for Makefile hack/tweaks and it works with all make methods
      automatically.

  * config/instsh.cf
    ! Partially restored a few things which were lost without comments
      in prev OS/2 commit:
      - Formatting
      - '@' prefixes
      - '-' prefixes
2009-08-16 00:55:17 +00:00
Viktor Szakats
2dacc0e733 2009-08-15 11:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Minor fix for darwin and automatic entry function detection using 'nm'.
      nm on Darwin doesn't seem to support '--defined-only -C' option.
      Przemek, please check this, maybe this hurts functionality.
2009-08-15 09:49:03 +00:00
Viktor Szakats
12437a39c2 2009-08-14 18:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu_os2.cmd
    % Minor opt. I hope OS/2 accepts such 'if' command.

  * include/hbthread.h
    ! Fix to poccarm build. Provided by Przemek.

  * utils/hbmk2/hbmk2.prg
  * config/wce/msvcarm.cf
  * config/wce/global.cf
  * config/wce/poccarm.cf
    + Added -DUNICODE for mingwarm. It didn't seem to require it so far, 
      but I thought it's better to define this for all wce compilers.
    % Deleted -DHB_NO_WIN_CONSOLE. No longer exists in Harbour.
    % Deleted /stack:65536,4096 linker option from wce/msvcarm.
      I'm just guessing it's not needed.
    + -DUNICODE is now enforced through HB_BUILD_UNICODE=yes setting 
      in GNU Make for all wce compilers.
2009-08-14 16:11:58 +00:00
Viktor Szakats
bac3f6b462 2009-08-14 16:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkdyn.bat
    ! Applied recent change in WinCE .dll names.
    % Remmed some verbose output in .dll generation code.

  * bin/postinst.bat
  * bin/hb-mkimp.bat
    * Minor in wording.

  * utils/hbmk2/hbmk2.prg
    ! Fixed converting input filename dirseps for target compiler
      in resource compiler commands. (error ocurred when testing
      mingwarm)

  * config/win/bcc.cf
    ! Fixed bad typo in prev commit.

  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/linux/watcom.cf
  * config/os2/watcom.cf
    + Added -q to wlib cmdline.
2009-08-14 14:46:38 +00:00
Viktor Szakats
30ade9b7e2 2009-08-14 15:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkdyn.bat
    ! Fixed gcc family (mingw) .dll generation. New tricks
      had to be employed to workaround 8K cmdline limits.

  * contrib/hbwin/win_misc.c
    * Implemented recent WinCE fix by Przemek for another
      CreateProcess() call.

  * utils/hbmk2/hbmk2.prg
    * Cleaned system lib list for wce platform.
      wininet, commdlg, commctrl libs moved from base to extra
      system lib list. These libs aren't needed by Harbour code
      code. [ No change in functionality, just synced with rest
      of Harbour. ]
      I didn't test yet, but seeing the content of this lib,
      it's not needed for Harbour core code.

  * config/wce/global.cf
  * bin/hb-mkdyn.bat
    % Deleted wininet wce system lib from liblist.

  * config/wce/poccarm.cf
    % Deleted winsock wce system lib from poccarm liblist.
      ws2 should be enough. (I didn't retest the platform yet)

  * config/wce/msvcarm.cf
  * config/wce/global.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/cygwin.cf
  * config/win/global.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
    % Moved system lib list definition to <arch>/global.cf files
      for wce/win platforms.
      This will ensure that compilers for the same platform will
      always use the same system libs too.
      Added reasoning in comment for each extra win system lib.
    % Deleted the same meaningless comment line from all files.

  * config/global.cf
    + Showing $(SHELL) variable content.
    + Added experimental support for explicitly changing $(SHELL)
      variable for nt and dos shells. This should solve the
      problem when mingw32-make is picking up sh.exe as shell if
      cygwin or msys is in the PATH (or the user may also have
      sh.exe laying around).

  * INSTALL
    % Deleted SHLVL hack from wce/mingwarm build config example.
      Not needed anymore.
    % Deleted "sh.exe mustn't be in the path" sentences.
      Not needed anymore, now it can be in the PATH.

  * make_gnu.bat
    + Readded calling sh for cygwin. (sorry I needed this personally
      to keep the same interface for all cases on Windows, but I'll
      think about this further, also to better cover mingw+msys case.
      So this is rather temporary.)
2009-08-14 14:09:25 +00:00
Viktor Szakats
7c1a04ed9f 2009-08-14 09:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fix to prev fix. [I need a coffee I guess.]
2009-08-14 07:43:13 +00:00
Viktor Szakats
508630b9a8 2009-08-14 09:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Typo in Bazaar repository version detection.
2009-08-14 07:40:13 +00:00
Viktor Szakats
e44c660cb5 2009-08-13 21:44 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    * Minor cosmetic.
    + Exporting OBJ_DIR as HB_OBJ_DIR.
    ! Fixed detecting 'clean install' on HB_BUILD_PKG=yes.

  * bin/hb-mkdyn.bat
    % Using HB_OBJ_DIR instead of replicating logic.

  * INSTALL
  * bin/postinst.sh
  * make_gnu.sh
  * utils/hbmk2/hbmk2.prg
  - config/linux/sunpro64.cf
  - config/sunos/sunpro64.cf
    + Patch by Tamas Tevesz.
      Deleted sunpro64 as a distinct compiler target.

  * utils/hbmk2/hbmk2.prg
    ! Fixed to not delete source file when using unimplemented
      arch/compiler combinations. (sunpro currently)
      Reported by Tamas Tevesz.

  * config/bsd/global.cf
  * config/wce/global.cf
  * config/hpux/global.cf
  * config/darwin/global.cf
  * config/dos/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/sunos/global.cf
    - Deleted DYN_EXT, DYN_PRE. Wasn't needed, can be added once
      it will be.
2009-08-13 19:45:03 +00:00
Viktor Szakats
21514d4707 2009-08-13 19:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added HB_INSTALL_PREFIX description (this is now optional).
    + Added HB_BUILD_PKG description.
    + Added HB_BUILD_IMPLIB description.
    * log-%HB_COMPILER%.txt log names changed to log.txt.
    * Cygwin example changed to directly launch make_gnu.sh.
    ; NOTE: INSTALL still needs some updates. I'll do that while
            testing new ways of doing things.

  * config/global.cf
    + Some new information is shown in the log. (detection results)
    % exporting HB_HOST_CPU to avoid detecting it in each recursion.
    + Showing whether HB_ARCHITECTURE/HB_COMPILER values were autodetected.
    + Showing GNU Make version and targets ("clean"/"install"/"all").
    + Showing HB_BUILD_PKG, HB_BUILD_DLL settings.
    + Added logic to do some presets if HB_BUILD_PKG=yes and check
      if clean+install was specified.

  * bin/postinst.cmd
  * bin/postinst.bat
  * bin/hb-mkpkg.bat
  * bin/hb-mkimp.bat
  * bin/hb-mkdyn.bat
    + Prefixed all messages coming from our make process with '! '
    + Some new messages added to offer better entertainment for builders.

  - mpkg_gnu.bat
  * config/global.cf
  + bin/hb-mkpkg.bat
  * bin/postinst.bat
  * mpkg_win.nsi
    + Updated to work as a child function of postinst.bat instead
      of being a starter batch file. Now a package build can be
      initiated the same way as a normal one except that HB_BUILD_PKG=yes
      setting should be used additionally and 'clean install' is
      obligatory.
      In package building scenarios HB_INSTALL_PREFIX will be automatically
      set by the process, using the pkg/<arch>/<comp> tree to install the
      build into.
    * Moved most of the old logic to GNU Make level, so the batch file
      is very simple now.
    ; TOFIX: Whole removal of above dir should be solved to avoid
             leftover old files to be included in the release packages.
             Ideas are welcome.
    ; TODO: Integrate into postinst.bat.
    ; TODO: Move .nsi file to a better place.

  * bin/postinst.bat
  * config/rules.cf
    ! Fixed to respect HB_BUILD_DLL setting.

  * bin/hb-mkdyn.bat
    ! Fixed to create temp files in install area so that multiple parallel
      build runs don't badly interact with each other.
    ! Some fixes regarding spaces in dirs, although tool support is generally
      to hectic/buggy to implement that reliably. Spaces are still not recommended
      in dir.
    ! Fix for msvc.
    ! Untested fixes for watcom.
    ! Fixed leaving two temp file on disk for debuggin purposes.

  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -vcshead support for Bazaar repositories.

  * config/global.cf
  * config/wce/global.cf
  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/win/global.cf
  * config/os2/watcom.cf
    - Deleted no more used HB_CDYNLIB and HB_DYNLIB logic.
2009-08-13 17:27:34 +00:00
Viktor Szakats
cebe0c72ed 2009-08-12 14:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.cf
    ! Changed CC_RULE and CPP_RULE to have CC_OUT option _before_ CC_IN.
      Quick check didn't reveal any problems with this accross our supported
      compiler, but I may be wrong, so pls check me, I didn't test this 
      change thoroughly.
      This change fixes CC_OUT for bcc, where it was ignored before.
      If this is breaks other compilers, bcc specific CC_RULE should be
      added to win/bcc.cf.

  * utils/hbmk2/hbmk2.prg
  * source/rtl/gtcrs/gtcrs.c
  * source/rtl/gtcrs/gtcrs.h
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gttrm/gttrm.c
  * source/rtl/gtsln/mousesln.c
  * source/rtl/gtsln/gtsln.c
  * source/rtl/gtsln/Makefile
    * HAVE_GPM_H -> HB_HAS_GPM

  * config/global.cf
    + Added some compile-time macros in comment.
    * Minor correction to MKFLAGS comment.

  * source/rtl/console.c
  * source/rtl/hbgtcore.c
    * Changed wording 'screen driver' to 'Harbour terminal (GT)'.
      Former term isn't used by us.

  * config/bsd/gcc.cf
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/djgpp.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    + Readded accidentally deleted feature to include *nix system
      libs needed for rtl, only if rtl is actually linked.
      (IOW in practice don't link them for harbour/hbpp executables)
    ! Fixed a few old problems where some extra libs were always
      linked. Now m is the only one linked in all scenarios.
    + Added linking pdcurses along with gtcrs for djgpp.
    * Standardized LDFLAGS in linux/icc (left from previous modification).
    ! Indentations corrected.
2009-08-12 12:49:09 +00:00
Viktor Szakats
98f2456d09 2009-08-11 00:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bin.cf
    + Harbour binary core liblists are now formed centrally.
      Four variations are generated:
         HB_LIBS_ST_RDD
         HB_LIBS_MT_RDD
         HB_LIBS_ST_NORDD
         HB_LIBS_MT_NORDD
      Binaries can choose by using: 'LIBS = $(HB_LIBS_*)'.
      Important to use '='.
      This step also fixes potential problems with former liblists,
      where it was easy to make a local mistakes and some libs which
      needed more complicated logic, or which were just rarely used
      simply weren't added. Now all liblists are guaranteed to have
      proper order and content.
      HB_GT_LIBS and HB_DB_DRIVERS are automatically added centrally,
      so no need to add them manually in each compiler specific .cf.

  * tests/Makefile
  * tests/hbpptest/Makefile
  * tests/multifnc/Makefile
  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbtest/Makefile
  * utils/hbi18n/Makefile
  * utils/hbrun/Makefile
    % Using above HB_LIBS_* macros.
    ; The only few places which I didn't thouch is non-Harbour
      executables (harbour exe and hbpp exe).

  * config/bsd/gcc.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/hpux/gcc.cf
  * config/darwin/gcc.cf
  * config/dos/watcom.cf
  * config/dos/djgpp.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/cygwin.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    % Deleted local logic to merge HB_GT_LIBS and HB_DB_DRIVERS
      into LIBS.

  * utils/hbmk2/hbmk2.hbp
  * utils/hbrun/hbrun.hbp
    ! Extra libspecs are still needed for some compilers.
      I've readded them until better solution is found.
2009-08-10 22:37:31 +00:00
Viktor Szakats
5b95d0cf48 2009-08-10 21:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Reorganized core Harbour lib handling. The goal is to
      allow linkers to resolve references by themselves, either
      by clever ordering and adding libs multiple times if needed.
      I took the methods used in Makefiles as guiding line.
    % Removed -Wl,--start-group / -Wl,--end-group lib grouping.
      It doesn't seem to be necessary anymore.
    ! Fixed "hbrtl" lib reference with some targets in -xhb mode.
    ; NOTE: Please test, I didn't test all possible combinations
            only mingw and recent Harbour. (no xhb, no hb10x)
    ; NOTE: Regressions are possible regarding lib selection or
            ordering and also GT selection.
    ; TODO: If this works out okay, we can delete similar grouping
            options from .cf files. At the same time, core liblists
            could be moved to central place to ease maintenance
            and guarantee correctness.

  * utils/hbmk2/hbmk2.hbp
  * utils/hbrun/hbrun.hbp
    - Deleted extra core lib specifications to make it link
      in shared mode. Doesn't seem to be necessary anymore
      after above hbmk2 change.
2009-08-10 20:12:08 +00:00
Viktor Szakats
e046ee2db2 2009-08-10 15:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/hbpptest/Makefile
  * tests/Makefile
  * utils/hbformat/Makefile
  * utils/hbtest/Makefile
    * Trying to lessen the number of combinations + sync core lib
      lists in Makefiles.
      These are currently used combinations in Harbour:
      ---
                                             hbextern
      hbdebug      hbdebug      hbdebug      hbdebug      hbdebug
      hbvm         hbvm         hbvm         hbvm         hbvmmt
      hbrtl        hbrtl        hbrtl        hbrtl        hbrtl
      hblang       hblang       hblang       hblang       hblang
      hbcpage      hbcpage      hbcpage      hbcpage      hbcpage
      hbrdd        hbrdd        hbnulrdd     hbrdd        hbnulrdd
      hbrtl        hbrtl        hbrtl        hbrtl        hbrtl
      hbvm         hbvm         hbvm         hbvm         hbvmmt
      hbmacro      hbmacro      hbmacro      hbmacro      hbmacro
                                             hbcplr       hbcplr
      hbpp         hbpp                      hbpp         hbpp
      hbcommon     hbcommon     hbcommon     hbcommon     hbcommon
                   hbpcre
      ---
2009-08-10 13:29:32 +00:00
Viktor Szakats
4edfe04c2c 2009-08-10 14:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/hbpptest/Makefile
  * tests/Makefile
  * tests/multifnc/Makefile
  * Makefile
  * external/Makefile
  * source/Makefile
  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbtest/Makefile
  * utils/hbi18n/Makefile
  * utils/Makefile
  * utils/hbrun/Makefile
    % Started replacing TABs with spaces in simple variable assigments.
      TABs are only required when specifiying a rule command.
2009-08-10 12:27:18 +00:00
Viktor Szakats
e8608381a8 2009-08-10 12:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Added missing core gt names from GUI/non-GUI detection code.
2009-08-10 10:05:26 +00:00
Viktor Szakats
504ca98e1c 2009-08-09 21:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* tests/hbpptest/Makefile
  * tests/bldtest/Makefile
  * tests/Makefile
  * tests/multifnc/Makefile
  * doc/en-EN/Makefile
  * doc/Makefile
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * external/Makefile
  * include/Makefile
  * source/hbextern/Makefile
  * source/pp/Makefile
  * source/lang/Makefile
  * source/vm/maindllh/Makefile
  * source/vm/mainstd/Makefile
  * source/vm/maindllp/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * source/vm/mainwin/Makefile
  * source/main/Makefile
  * source/debug/Makefile
  * source/common/Makefile
  * source/nortl/Makefile
  * source/macro/Makefile
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtstd/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtcgi/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtpca/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gt_tpl/Makefile
  * source/rtl/gtwvt/Makefile
  * source/hbpcre/Makefile
  * source/codepage/Makefile
  * source/rdd/dbfntx/Makefile
  * source/rdd/nulsys/Makefile
  * source/rdd/Makefile
  * source/rdd/dbfnsx/Makefile
  * source/rdd/dbfcdx/Makefile
  * source/rdd/hsx/Makefile
  * source/rdd/usrrdd/rdds/Makefile
  * source/rdd/usrrdd/Makefile
  * source/rdd/dbffpt/Makefile
  * source/rdd/hbsix/Makefile
  * source/compiler/Makefile
  * source/hbzlib/Makefile
  * source/Makefile
  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbtest/Makefile
  * utils/hbi18n/Makefile
  * utils/hbrun/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbct/Makefile
  * contrib/xhb/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbgt/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/Makefile_gen
  * contrib/hbfbird/Makefile
  * contrib/hbziparc/Makefile
  * contrib/hbxbp/Makefile
  * contrib/xpp/Makefile
  * contrib/hbnf/Makefile
  * contrib/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddsql/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/hbclipsm/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbbmcdx/Makefile
  * contrib/hbvpdf/Makefile
  * contrib/hbssl/Makefile
  * contrib/hbbtree/Makefile
    % Using ':=' instead of '=' where possible.
    ; TODO: Central make files (.cf).

  * config/global.cf
  * config/bin.cf
  * config/globsh.cf
  * config/dir.cf
  * config/bsd/gcc.cf
  * config/bsd/global.cf
  * config/c.cf
  * config/wce/msvcarm.cf
  * config/wce/global.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/rules.cf
  * config/hpux/gcc.cf
  * config/darwin/gcc.cf
  * config/darwin/global.cf
  * config/dos/watcom.cf
  * config/dos/djgpp.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/global.cf
  * config/win/cygwin.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro64.cf
  * config/linux/sunpro.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro64.cf
  * config/sunos/sunpro.cf
    % Using ':=' instead of '=' where possible.
      (incomplete. pass one)

  * config/none.cf
    * Little change in text.

  * config/global.cf
    ! Fixed HB_ARCHITECTURE mis-detection as wce for a few win compilers.
2009-08-09 19:23:43 +00:00
Viktor Szakats
edf24746e1 2009-08-09 19:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
  * tests/Makefile
  * contrib/hbmisc/Makefile
  * contrib/hbwin/Makefile
  * utils/Makefile
    % Started converting '=' operators to ':=' where applicable.
    ; TODO: Rest of Makefiles.

  * contrib/hbwin/Makefile
    ! Including 'global.cf' directly to make HB_ARCHITECTURE/HB_COMPILER
      variables work in case we're relying on autodetection.
    ; TOFIX: Rest of Makefiles.

  * config/global.cf
    + Added self-inclusion check to allow adding this .cf file
      directly to Makefiles in order to force platform detection
      for cases where this information is needed for local decisions.

  * config/dos/global.cf
    - Deleted 'ifndef MK' construct. Purpose unknown, and not
      found similar for other platforms.

  * config/global.cf
  * config/globsh.cf
    + Added my copyright.

  * contrib/hbtpathy/tpwin.c
  * contrib/hbtpathy/tpos2.c
    % Deleted unnecessary headers.
2009-08-09 17:56:46 +00:00
Viktor Szakats
f477deebe3 2009-08-09 17:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/examples/contribf.hbc
  * contrib/hbtpathy/Makefile
  + contrib/hbtpathy/tpdos.c
  * contrib/hbtpathy/hbtpathy.hbc
    + Added DOS stubs. This makes it possible to enable this contrib
      for all existing platforms. Serial support is possible to
      implement in DOS.
    % Now all source files are compiled for each platform, platform
      specific parts are guarded internally, no need to duplicate the
      logic on the make level.
2009-08-09 15:02:39 +00:00
Viktor Szakats
b6863fd064 2009-08-09 00:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbwin/win_tprt.prg
  * contrib/hbwin/win_prt.c
    + ::Recv() got a new second parameter to return result code.
    + WIN_PORTFCN() now requires port number to be passed as 1st param.
    + WIN_PORTERROR() now requires port number to be passed as 1st param.
    * Renamed function WIN_PORTFCN() to WIN_PORTFUNCLAST()
    + Fixed last port operation and last error to be stored per port
      rather than in global vars. This makes it possible to use multiple
      ports in parallel.
    - Deleted WIN_PORTBUFFERS() which wasn't MT friendly.
    + WIN_PORTOPEN() function got enabled 6th and 7th inbuffer/outbuffer
      parameters. This replaces WIN_PORTBUFFERS() function.
    + Added WIN_PORTRECV() function which is similar to WIN_PORTREAD()
      but returns the result directly rather than putting it in a var
      passed by reference. It accepts lenght parameter and return result
      code by reference. It's a little bit more effient than WIN_PORTREAD().
    % Some if/else branches swapped to make code a little smoother.

  * contrib/hbwin/olecore.c
    + Attempt to add vars by reference support. Commented until
      there is no test code to try it.
    * Minor formatting.

  * contrib/xhb/hbserv.h
  * contrib/xhb/htmlform.ch
  * contrib/xhb/inet.h
  * contrib/xhb/hblognet.prg
  * contrib/xhb/tfile.prg
  * contrib/xhb/html.ch
  * contrib/xhb/tedit.prg
  * contrib/xhb/tframe.prg
  * contrib/xhb/htjlist.prg
  * contrib/xhb/xdbmodst.prg
  * contrib/xhb/htmlclrs.ch
  * contrib/xhb/thtm.prg
  * contrib/xhb/hterrsys.prg
  * contrib/xhb/tcgi.prg
  * contrib/xhb/regexrpl.prg
  * contrib/xhb/hbserv.ch
  * contrib/xhb/ttable.prg
  * contrib/xhb/hjwindow.prg
  * contrib/xhb/hbserv.c
  * contrib/xhb/htmutil.prg
    * Header formatting.
    ; NOTE: I noticed some xhb components have pure GPL license (recently
            added CGI parts), plus some other use some sort of xhb specific
            modification of original Harbour + exception license. This
            contains some sentence which doesn't seem to make much sense:
            "This exception applies only to the code released with this xHarbour explicit exception."
            FYI.

  * contrib/hbtpathy/telepath.prg
  * utils/hbmk2/hbmk2.prg
    * Minor formatting, comments.
2009-08-08 22:30:49 +00:00
Viktor Szakats
fe728551ac 2009-08-07 18:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Minor formatting.

  * source/pp/Makefile
  * config/prg.cf
  * config/global.cf
  * config/bin.cf
  * config/globsh.cf
  * config/bsd/gcc.cf
  * config/bsd/global.cf
  * config/wce/msvcarm.cf
  * config/wce/global.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/rules.cf
  * config/darwin/gcc.cf
  * config/darwin/global.cf
  * config/hpux/gcc.cf
  * config/hpux/global.cf
  * config/dos/watcom.cf
  * config/dos/global.cf
  * config/dos/djgpp.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/cygwin.cf
  * config/win/global.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/global.cf
  * config/linux/sunpro.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
  * config/os2/global.cf
  * config/sunos/gcc.cf
  * config/sunos/global.cf
  * config/sunos/sunpro.cf
    * EXE_* variables renamed to BIN_*.
    % BIN_EXT initialization moved to <arch>/global.cf.
2009-08-07 16:21:09 +00:00
Viktor Szakats
a61de422bb 2009-08-07 03:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added support for windres resource compiler for os2/gcc.
      (untested)
    + Minor step to support os2/gcc cross-compilation on Linux.
2009-08-07 01:10:11 +00:00
Viktor Szakats
b3de6192cb 2009-08-07 02:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to ignore filtered -gt switches (like -gtxwc{unix})
      without warning message.
    + Some small steps towards adding sunpro[64] support to hbmk2.
    % Merged watcom compiler support code for different platforms.
      (option casing also synced)
    ! Added "{LS}" (resources) to os2/watcom compiler cmdline.
    ! Added -bt=os2/nt to resource compiler cmdline for watcom.
    + Added '-p=64' option to win|os2|dos/watcom lib cmdline.
    + Added '-q' option to watcom wlib/wrc cmdlines.
    ! Fixed debug linker option for watcom.

  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/linux/watcom.cf
  * config/os2/watcom.cf
    + Added doc link to wlib tool.
    * Synced link option casing with each other and hbmk2.
    % Deleted 'export DOS4G=quiet' for win and os2.

  * config/global.cf
    + Minor cosmetic.
2009-08-07 00:54:59 +00:00
Viktor Szakats
896fdcef4f 2009-08-06 15:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + In incremental (-inc) mode .c and .rc stubs are now created
      inside workdir and kept there for consecutive build runs.
      They are only recreated if necessary. This means that
      -gt, -main= and -icon options work well with -inc mode, and
      won't anymore force linking on each run.
    * All stubs will be recreated in -rebuild mode.
    * Above stubs will be deleted in -clean mode. (except vcshead and tshead)
2009-08-06 13:43:53 +00:00
Viktor Szakats
06761b8779 2009-08-06 11:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed escaping icon filenames in automatically generated .rc files 
      when using -icon option.
2009-08-06 09:18:14 +00:00
Viktor Szakats
1aca07e873 2009-08-05 15:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Deleted -MTd win/msvc compiler switch in -debug mode to not
      leave it to the default settings and give users full control
      of this.
2009-08-05 13:13:16 +00:00
Viktor Szakats
51416661e9 2009-08-04 03:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_slots.cpp
    ! Deleted windows.h.

  * include/hbsetup.h
    + PPC CPU detection made better.

  * include/hbatomic.h
  * source/vm/maindllp.c
  * source/rtl/gttone.c
    + Using HB_CPU_* macros to detect CPU instead of compiler
      specific solutions.
      Przemek, please review me.

  * source/vm/maindllp.c
    % Using hbver.h constants to form the version number
      included in the .dll name. So it's now maintainence
      free.
    % Reduced redundancy when forming .dll names.

  * source/vm/maindllp.c
  * utils/hbmk2/hbmk2.prg
    * Renamed wce .dll to harbour[mt]-20-wce-arm.dll
    * Renamed non-ARM wce .dlls to harbour[mt]-20-wce.dll

  * INSTALL
  + config/linux/sunpro.cf
    + Added Sun Studio compiler support for Linux platforms.
      Thanks Tamas Tevesz for the tip that this port exists.
      It has various problems to fix, but it's a start.

  * config/sunos/sunpro.cf
    ! Typo in prev commit.
2009-08-04 01:26:12 +00:00
Viktor Szakats
ad1d81f46c 2009-08-01 20:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * utils/hbmk2/hbmk2.prg
  * config/global.cf
    + Little bit changed the meaning of HB_BUILD_NAME. It's now
      simply appended to <arch>/<comp> value. So, to create
      '<arch>/<comp>.<bld>' style names HB_BUILD_NAME=.dbg can be
      used. This will result in the flattest dir structure.
      To create a subdir, this can be used:
      HB_BUILD_NAME=/dbg. To create a dir structure:
      HB_BUILD_NAME=/dbg/cpp
    + GRANDP variable is now automatically calculated.

  * config/sunos/sunpro.cf
    ! Minor typo.
2009-08-01 18:50:44 +00:00
Viktor Szakats
242cc75975 2009-08-01 19:49 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    * Changed HB_BUILD_SUBDIR to HB_BUILD_NAME.
    ! HB_BUILD_NAME fixes after initial testing. Should be okay now.

  * INSTALL
    + Documented new HB_BUILD_NAME setting.

  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
    + Added support for -build= option. This is similar to HB_BUILD_NAME
      when building Harbour. Also added ${hb_build} macro.
2009-08-01 18:00:17 +00:00
Viktor Szakats
f533da4d92 2009-08-01 16:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * bin/postinst.sh
  * source/vm/fm.c
  * source/common/hbver.c
  + config/sunos/sunpro64.cf
  * config/sunos/sunpro.cf
  * ChangeLog
    + Applied second SunPro patch sent by Tamas Tevesz.
      Addressed these former TODOs:
      + Added sunpro64 target.
      + Finalized C compiler options (including warning level settings).
      + Added compiler identification code to hbver.c.
      + dynamic lib creation.

  * utils/hbmk2/hbmk2.prg
    ! Fixed RTE when run on sunos. Needs further work to discover how
      it could run onto that codepath, normally it shouldn't.

  * bin/postinst.sh
    % Cleaned a few remaining 'gpp' HB_COMPILER value checks.
2009-08-01 14:58:20 +00:00
Viktor Szakats
b3cc100468 2009-07-31 11:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/hbdefs.h
  * include/hbsetup.h
  * include/hbinit.h
  * source/vm/fm.c
  + config/sunos/sunpro.cf
    + Added first round of Sun Pro (Sun Studio) compiler.
      Contribution of Tamas Tevesz.
    ; TODO:
      + Add other Sun Pro CPU targets.
      * Finalize __inline keyword usage. (currently in fm.c)
        Przemek, could you take a look at it?
      ! Fix warning option.
      + Add compiler identification code to hbver.c.
      + hbmk2 support.
      + dynamic lib creation.

  * utils/hbmk2/hbmk2.prg
    * Minor rename.

  * contrib/hbclipsm/gauge.c
    % Minor opt, plus removed cast.

  * contrib/hbwin/wce_smsc.c
  * contrib/hbwin/wce_sim.prg
    * Minor formatting.
2009-07-31 09:12:15 +00:00
Viktor Szakats
0bacb356a2 2009-07-29 18:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Minor formatting.
2009-07-29 16:03:33 +00:00
Viktor Szakats
0b42535e8c 2009-07-28 18:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    % Maybe I'm overlooking some scenarios, but I could simply drop the
      need for libdynhas= in hbmk.cfg.
      Now the required gtsln/gtcrs/gtxwc system libs will be automatically
      linked when these libs are selected by user (either by hbmk.cfg,
      .hbc or cmdline/.hbp files). Tested on Darwin.
      I can add automatic addition of these system libs based on presence
      of corresponding Harbour libs if needed. Or maybe even better would be
      to never link these GTs to the Harbour dynamic lib. Please comment on this.
    ! Fixed to add external curses/X11/slang libs in -shared mode. Was needed
      on Darwin.
    + Linking pdcurses for gtcrs with dos/djgpp.
2009-07-28 16:15:00 +00:00
Viktor Szakats
42c85c2811 2009-07-28 17:56 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed typo in linker option when building shared executable.
    ! Deleted -multiply_defined suppress linker option when building shared executable.
    % Deleted some unused logic dealing with libdynhas option.
2009-07-28 15:57:21 +00:00
Viktor Szakats
58de04190f 2009-07-28 09:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
    ! Do not install hbpp executable when HB_HOST_BUILD == 'lib'.
      Please verify me.

  * config/global.cf
    % Minor simplification to HB_*_INSTALL defaulting.

  * utils/hbmk2/hbmk2.prg
    * Minor formatting.
2009-07-28 07:14:16 +00:00
Viktor Szakats
e8ce337069 2009-07-22 19:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * make_gnu.bat
    * Tweak to previous fix, it didn't work. Falling back to
      less elegant solution.

  * external/libhpdf/Makefile
  + external/libhpdf/_hbhbpdf.c
    + Added ugly hack to make it build on mingwarm targets.

  * contrib/hbssl/Makefile
  * contrib/hbssl/ssl.c
  * contrib/hbssl/bio.c
  * contrib/hbssl/evpmd.c
    * Changed to make it build on darwin.
      It's be better to control feature automatically by
      OPENSSL_VERSION_NUMBER, but documentation is very scarce.

  * utils/hbmk2/hbmk2.prg
    ! Temp fix to not pass runflags to darwin GUI programs
      (started via 'open'), until we find out how to make it.
      Prevsiously 'open' considered extra options as its own,
      and failed.
2009-07-22 17:33:12 +00:00
Viktor Szakats
4bd89b2a9c 2009-07-19 19:58 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added /P128 to tlib default flags.
2009-07-19 17:59:21 +00:00
Viktor Szakats
945c26d396 2009-07-17 09:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.sh
    ! Changed to use gmake on all sunos systems.

  * utils/hbmk2/hbmk2.prg
  * config/sunos/gcc.cf
    ! Added space after -o CC option. Required by some sunos systems.

  ; Thanks for valuable input and testing to Tamas Tevesz.
2009-07-17 07:05:54 +00:00
Viktor Szakats
698c5954fa 2009-07-17 02:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.sh
  * config/global.cf
    + Readded HB_GPM_MOUSE detection to starter script.
    ; TOFIX: This logic should be moved to GNU Make global.cf.
    + Readded HB_COMMERCE logic but now to global.cf, to
      deal with Harbour-wide settings, currently this is only
      HB_GPM_MOUSE. lib-specific HB_COMMERCE issues should be
      handled in local Makefiles.

  * config/global.cf
    * Minor formatting.
    * TODO added (host CPU detection on non-win platforms).

  * config/hpux/gcc.cf
  * config/darwin/gcc.cf
  * config/global.cf
  * config/sunos/gcc.cf
  * config/bsd/gcc.cf
    - GPM isn't available on these platforms so it's not necessary
      to handle it in these make files.

  * utils/hbmk2/Makefile
  * utils/hbrun/Makefile
    ! Changed ordering of hbcpl/hbpp/hbcommon libs to this:
      hbcplr, hbpp, hbcommon
        (from this: hbpp, hbcplr, hbcommon
         and this: hbcommon, hbpp, hbcplr)
      This syncs it with existing .hbp lib order and hopefully
      fixes link problems on sunos/sparc, reported by a user.
      Please retest & report results.
2009-07-17 00:12:28 +00:00
Przemyslaw Czerpak
236bb8fce5 2009-07-16 13:32 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/utils/hbmk2/hbmk2.prg
    ! fixed small typo which broke non windows builds
2009-07-16 11:32:52 +00:00
Viktor Szakats
83b8dca701 2009-07-16 12:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/instsh.cf
  * config/dirsh.cf
  * config/globsh.cf
    % Grouped non-bash (batch) initializations to reduce redundancy.
    * Changed 'md' command to 'mkdir' in OS/2 and DOS, just to be
      in sync, mkdir is available in all shells.
    + Added links to good multiplatform batch docs.

  * utils/hbmk2/hbmk2.prg
    + Added ability to start -gui targets on OS/2.
2009-07-16 10:14:39 +00:00
Viktor Szakats
fecbf507cc 2009-07-15 21:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.cf
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/dir.cf
  * config/dos/global.cf
  * config/dos/install.cf
  * config/global.cf
  * config/win/global.cf
  * config/win/install.cf
  * config/win/dir.cf
  * config/bin.cf
  * config/linux/gcc.cf
  * config/linux/dir.cf
  * config/linux/icc.cf
  * config/linux/global.cf
  * config/linux/install.cf
  * config/os2/dir.cf
  * config/os2/global.cf
  * config/os2/install.cf
  * config/dir.cf
  * config/sunos/gcc.cf
  * config/bsd/gcc.cf
  * config/c.cf
  * config/wce/dir.cf
  * config/wce/global.cf
  * config/wce/install.cf
    * Formatting (whitespaces, indentation).

  * utils/hbtest/Makefile
    * Moved setting before including central make files.

  * config/global.cf
    + COMSPEC detection completed.
2009-07-15 19:40:15 +00:00
Viktor Szakats
22eba88dc3 2009-07-15 20:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* include/Makefile
  + include/hbextcdp.ch
  * include/hbextern.ch
  * utils/hbmk2/hbmk2.prg
    + Separated EXTERNAL HB_CODEPAGE_* lines to hbextcdp.ch.
      These are commonly needed by apps.
    * Using hbextcdp.ch in hbmk2.
    ; TODO: hbextern app needs to be updated to filter out 
            CODEPAGE symbols.
2009-07-15 18:01:41 +00:00
Viktor Szakats
6cd0529480 2009-07-15 03:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtwin/gtwin.c
    * Minor formatting.

  * source/rtl/gtapi.c
    % hb_gtSetCursor(): Deleted parameter evaluation.
      It's better to do it only on low-level.

  * config/win/bcc.cf
    % Line deleted.

  * utils/hbmk2/hbmk2.prg
    + -nohblib now supported in scripts.
    + -nohblib- option added.

  * examples/pp/pp.hbp
    * Comment deleted.
2009-07-15 01:12:42 +00:00
Viktor Szakats
926e3318a6 2009-07-14 16:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.sh
    - Deleted CRS, SLN, GPM detection.
    ; Now only some CPU dependent Linux settings remain.
      How to move these to central Makefiles?

  * make_gnu.sh
  * config/hpux/gcc.cf
  * config/sunos/gcc.cf
    * -fPIC setting moved to Makefiles.
    * Minor syncing between these two makefiles.
    ; NOTE: hbmk script creation may need to be updated.

  * utils/hbmk2/hbmk2.prg
    + -fPIC now added as standard for hpux and sunos.
2009-07-14 14:17:43 +00:00
Viktor Szakats
61962be0dd 2009-07-14 12:15 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/extend.c
    ! Fixed hb_parvcx() to return "" instead of NULL when dealing
      with array parameters out of bound or non-string.
      (Borrowed from xhb by Ron Pinkas. Although the fix is
      implemented differently in Harbour)

  * source/rtl/gttrm/Makefile
    * CFLAGS -> HB_USER_CFLAGS

  * include/hbapicdp.h
  * include/hbextern.ch
  * source/lang/Makefile
  * source/codepage/Makefile
  + source/codepage/cpua1125.c
  + source/codepage/uc1125.c
    + Added DOS Ukrainian 1125 codepage
      (Borrowed from xhb. Work of Pavel Tsarenko)

  * utils/hbmk2/hbmk2.prg
    * OS/2 embedded compiler autodetection order fixed.
2009-07-14 10:16:48 +00:00
Viktor Szakats
74bdd7ee01 2009-07-14 10:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
    ! Adjusted a little bit to postinst.bat executed for Linux
      cross builds also.

  * doc/linux1st.txt
  * source/rtl/Makefile
  * config/hpux/global.cf
  * config/darwin/global.cf
  * config/dos/global.cf
  * config/win/global.cf
  * config/win/xcc.cf
  * config/win/mingw.cf
  * config/win/pocc.cf
  * config/linux/watcom.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/sunos/global.cf
  * config/bsd/global.cf
  * config/wce/global.cf
  * config/wce/poccarm.cf
    - Deleted references of already halfly-deleted HB_GT_LIB
      support. Users should use -DHB_GT_LIB=<gtname>. HB_GT_LIB
      also has a different, special purpose in os2, this is still
      kept, but it would be better to use some other names for it.
    ! Fixed linux/watcom to suppress .elf extension of binaries
      when built on a non-Linux host.
    - Deleted extra GT libs from link list. Now all *portable* GTs
      plus the default one are *linked*, and all GTs are always
      attempted to be *built*.
    - Deleted checking GT libs extistance. They always exist
      unless the source tree is corrupted, so there is no point
      to do this check.
    * wce/poccarm now always have /SUBSYSTEM:WINDOWS.
    ; NOTE: If we want to support build-time default GT selection/override,
            we should find some proper ways, but it makes things
            very complicated without much benefit, since GT can be
            easily overridden in final apps, supplied binary tools can
            also very easily rebuilt using hbmk2 with whatever GT.

  * utils/hbmk2/hbmk2.prg
    * Minor formatting.
2009-07-14 08:54:11 +00:00
Viktor Szakats
693da6cee8 2009-07-14 03:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Let's assume 32-bit / little-endian CPU platforms for 
      cross *nix builds, as the most probable case.
2009-07-14 01:08:19 +00:00