Commit Graph

213 Commits

Author SHA1 Message Date
Viktor Szakats
bdd719f974 2010-06-17 17:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.mk
  * config/bsd/clang.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/hpux/gcc.mk
  * config/darwin/icc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/icc.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
    * Functions renamed.
2010-06-17 15:28:31 +00:00
Viktor Szakats
478ad43c9a 2010-06-14 23:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/djgpp.mk
    ! Fixed ten year old issue where error returned by LD was suppressed.
      Thanks to Tamas Tevesz for finding it.
2010-06-14 21:32:02 +00:00
Viktor Szakats
b982aa726f 2010-06-14 14:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/zlib/Makefile
  * config/dos/djgpp.mk
    + Added patch by Tamas Tevesz targeting djgpp cross-builds:
      - makes zlib compile with djgpp 2.03
      - adding ranlib makes the whole thing cross-compile (the linker was
        complaining about index not being present in the archives)
        the reason of the dash prefix is that since it wasn't there before,
        it must have worked without, so let's not break situations where it
        isn't present (it is present in bnu219b.zip though, and it seems to
        be chugging along nicely in a native situation as well)
      - adds $(HB_CCPATH)$(HB_CCPREFIX) to the bin tools used
2010-06-14 12:27:08 +00:00
Viktor Szakats
7df007ad24 2010-04-23 02:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Changed low warning level for msvc/icc compilers to -W2
      (-W1 is the default).

  * config/wce/msvcarm.mk
  * config/win/icc.mk
  * config/win/msvc.mk
    + Upped 'HB_BUILD_WARN=no' warning level for msvc/icc
      compilers to '-W2'. (matching hbmk2 -warn=low level)

  * config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    + Upped 'HB_BUILD_WARN=no' warning level for msvc/icc
      compilers to '-w1'. (matching hbmk2 -warn=low level)
2010-04-23 00:30:50 +00:00
Viktor Szakats
a4bf46c73f 2010-04-23 01:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    * Reverted bcc experimental warning tweak.
    * Fine tuned bcc -warn levels.
    ! Fixed sunpro warning levels.

  * config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/darwin/gcc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/djgpp.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/gcc.mk
  * config/linux/clang.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    + Upped 'HB_BUILD_WARN=no' warning level for GCC
      and compatible compilers to '-W'.

  * config/linux/sunpro.mk
  * config/sunos/sunpro.mk
    ! Fixed to not disable all warnings explicitly
      in HB_BUILD_WARN=no mode.

  * config/win/bcc.mk
    * Minor sync with hbmk2.
2010-04-22 23:53:45 +00:00
Viktor Szakats
4a2e6a156a 2010-04-23 01:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/darwin/gcc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/djgpp.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/gcc.mk
  * config/linux/clang.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    * Cosmetic sync with hbmk2. ('-Wall -W' -> '-W -Wall')
2010-04-22 23:06:16 +00:00
Viktor Szakats
2b5e574b09 2010-04-13 12:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/poccarm.mk
  * config/dos/watcom.mk
  * config/win/xcc.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    * Changed to not forcefully turn off warnings in some targets.
      (so HB_BUILD_WARN=no is now equivalent to hbmk2 -warn=def)
    ; NOTE: This will result in some new warnings in /external
            dir since for above compilers I've now upped the
            warning level from nothing to the default level.

  * external/zlib/Makefile
    * Changed to not set Harbour level warnings for this
      external component (in sync with all the others).
2010-04-13 10:20:35 +00:00
Viktor Szakats
f804553c6c 2010-03-10 21:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/dos/djgpp.mk
    - Deleted -pipe C compiler option from DJGPP.
2010-03-10 20:43:10 +00:00
Viktor Szakats
4a71232bb0 2010-03-10 17:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/darwin/gcc.mk
  * config/hpux/gcc.mk
  * config/dos/djgpp.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
    % Added -pipe gcc option for rest of gcc targets.

  * utils/hbmk2/hbmk2.prg
    % Added -pipe gcc option for all gcc targets in hbmk2.

  * ChangeLog
    + Added missing item from prev entry:
      * config/win/mingw.mk
        - Disabled -fomit-frame-pointer for mingw64. It's not necessary 
          and/or automatically enabled.
2010-03-10 16:58:00 +00:00
Viktor Szakats
8a8ae50ff3 2010-03-05 21:18 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/Makefile
    + Added bzip2.

  * external/bzip2/Makefile
    ! Fixed to avoid stupid BCC tlib warning by enabling
      "case-sensitive library" option.

  * config/global.mk
  * config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/djgpp.mk
  * config/common/watcom.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Added support for HB_AFLAGS. Only bcc needs it ATM.
2010-03-05 20:21:44 +00:00
Viktor Szakats
2252b2fe2b 2009-12-22 22:00 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* harbour-win-spec
  * harbour-wce-spec
  * harbour.spec
  * include/hbver.h
  * package/winuni/RELNOTES
  * config/global.mk
    * Changed version to 2.0.0 (from 2.0.0rc1)

  * package/winuni/RELNOTES
    * Finalization (djgpp -> watcom)

  * package/winuni/mpkg_win_uni.nsi
    ! Fixed uninstallation of Start Menu on Vista/Win7, at the
      same time it won't ask for admin credentials anymore on
      these OS versions.
    * MS-DOS/OS2/Linux libs are now not selected by default.

  * config/dos/watcom.mk
  * config/dos/djgpp.mk
    * Disabled .dll generation for MS-DOS build for now.
      dos/watcom doesn't work, dos/djgpp needs special fixes
      in djgpp to work.
      In the meantime, for testing purposes they can be
      enabled using: HB_BUILD_DLL=dostest
2009-12-22 21:00:36 +00:00
Przemyslaw Czerpak
bdfb6a9e93 2009-12-21 08:21 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbgtcore.h
  * harbour/include/hbapigt.h
    * moved declaration of hb_gtSetDefault() from hbgtcore.h to hbapigt.h

  * harbour/include/hbapi.h
  * harbour/src/vm/hvm.c
    + added new function hb_vmSetDefaultGT()

  * harbour/bin/hb-func.sh
  * harbour/utils/hbmk2/hbmk2.prg
    * use hb_vmSetDefaultGT() to set default GT
    * removed extern declarations for functions defined in hbapi.h

  * harbour/src/vm/dynlibhb.c
    + added support for HB_LIBLOAD()/HB_LIBFREE() in DJGPP 2.04 builds

  * harbour/config/global.mk
    * use 8.3 names for harbour dynamic libraries in all DOS builds

  * harbour/config/dos/djgpp.mk
    + added support for dynamic libraries (DXE) in DJGPP builds.
      DXE is sth similar to DLL in Windows and can be used with
      DJGPP 2.04. I had to make some modifications in DXE header
      files to make it working so it will not work in default DJGPP
      installation. I'll document these modifications in the future.

  * harbour/config/dos/watcom.mk
    * enable creating of harbour dynamic libraries only when HB_BUILD_DLL
      is explictly set by user to 'yes'. In DOS DJGPP and OpenWatcom builds
      DLLs support is not functional yet.

  * harbour/config/dyn.mk
    * added an option to create harbour dynamic libraries from static
      ones instead of .o|.obj files. It's necessary for DXE3GEN which
      internally calls LD which has some limited on maximum size of passed
      parameters.
      TODO: make HB_DYN_LIBS definition common for dyn.mk and lib.mk
2009-12-21 07:22:14 +00:00
Przemyslaw Czerpak
b308f56ac2 2009-12-10 21:49 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbatomic.h
    * removed 'static inline' from OpenWatcom ASM functions defined
      by '#pragma aux ...' to make OpenWatcom < 1.8 happy.
      Version 1.8 ignores 'static inline' attributes in such declarations.

  * harbour/config/dos/watcom.mk
  * harbour/utils/hbmk2/hbmk2.prg
    * switched from DOS/4GW to DOS/32A extender. It's faster what is
      noticeable also in final Harbour binaries, does not have DOS4G
      command line limitations and has nice tools which allow to easy
      set different runtime parameters (ss.exe) or compress final
      executable (sc.exe)
      BTW people having problem with maximum command line size in
      OpenWatcom tools can replace DOS/4GW with DOS/32A in this tools
      It can be made also globally by coping dos32a.exe to dos4gw.exe.
      NOTE: I've found why DOS Harbour OpenWatcom application created
            in my Linux box were not working. Just simply the directory
            with DOS extender setup files was not in PATH.
            Creating DOS OpenWatcom applications in other systems (i.e.
            Linux or OS2) do not forget to add directory with DOS binaries
            '%WATCOM%\binw' to PATH after directory with platform native
            OpenWatcom binaries '%WATCOM%\bin*' or copy DOS extender
            (dos32a.exe) to one of PATH directories.

  * harbour/config/dos/watcom.mk
    * added workaround for not included automatically by linker CLIB
      library when Harbour is compiler in pure C mode. I hope it's only
      temporary hack which we can remove in the future. I haven't added
      it to hbmk2 so linking DOS applications using hbmk2 user will have
      to add -lclib3r to hbmk2 parameters.

  * harbour/config/common/watcom.mk
    * disable DOS/32A banner messages
2009-12-10 20:49:23 +00:00
Viktor Szakats
0c30daf54e 2009-12-09 16:09 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * utils/hbmk2/hbmk2.prg
  * config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    + Switched back plain C mode for watcom compiler.
2009-12-09 15:10:58 +00:00
Viktor Szakats
55c332e09c 2009-12-04 01:45 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/global.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/hpux/gcc.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    % Moved initialization of *FLAGS vars into global.mk.
      Compiler .mk files only append to these vars.
    * Minor syncing between compilers regarding initial CFLAGS setup.
2009-12-04 00:47:16 +00:00
Viktor Szakats
43d68fd1de 2009-12-04 00:41 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/hpux/gcc.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/common/watcom.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Initializing LDFLAGS, DFLAGS and ARFLAGS at the beginning of files.
      This allows to easily add to these var according to build settings.
      It also syncs all .mk files to use the same layout in this regard.

  * config/wce/msvcarm.mk
  * config/win/msvc.mk
    + Added -debug linker option to .dll linking for msvc/msvcarm targets.
2009-12-03 23:44:40 +00:00
Viktor Szakats
044107d4a2 2009-11-23 13:15 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/pocc64.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/clang.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Uniformly using CFLAGS to store C compilation flags, instead
      of a previous mixture of CPPFLAGS and CFLAGS.

  * config/rules.mk
    - Deleted CPPFLAGS.

  * INSTALL
  * bin/postinst.bat
    ! Minor fixes in texts.
2009-11-23 12:17:30 +00:00
Viktor Szakats
10a1a48504 2009-11-16 09:52 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/bsd/gcc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/gcc.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Added HB_USER_LIBS support to dynamic libs.

  * config/globsh.mk
    ! Attempt to fix dynamic lib .tds deletion on clean for bcc.

  * src/codepage/cpno865.c
  * src/codepage/cphu852c.c
  * src/codepage/cpfr850.c
  * src/codepage/cpde850.c
  * src/codepage/cpit850.c
    + Marked as VERIFIED.
2009-11-16 08:52:59 +00:00
Viktor Szakats
41fdd8e051 2009-11-15 16:55 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbqt/hbqt_misc.prg
    ! Added missing common.ch.

  * config/beos/gcc.mk
  * config/global.mk
  * config/bsd/gcc.mk
  * config/bin.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  * config/darwin/clang.mk
  * config/hpux/gcc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    * Changed build system to add HB_USER_LIBS to the beginning of the 
      lib list, just like in hbmk2.
      Please test, I didn't restest this feature in all targets.
2009-11-15 15:56:19 +00:00
Viktor Szakats
96004e5bbd 2009-11-12 16:21 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Updated dev list max attachment size.

  * INSTALL
  * config/beos/libs.mk
  * config/global.mk
  * config/bsd/libs.mk
  * config/bin.mk
  * config/wce/global.mk
  * config/hpux/libs.mk
  * config/darwin/libs.mk
  * config/dos/djgpp.mk
  * config/win/global.mk
  * config/linux/libs.mk
  * config/os2/gcc.mk
  * config/sunos/libs.mk
    + Added support for HB_USER_LIBS build option to specify 
      extra libs. Note: This is useful only in very special 
      cases, so pls don't use it unless you exactly know what 
      you want to do. The libs have to be specced without 
      prefixes and extensions. It will be added after Harbour 
      libs and before system libs.
2009-11-12 15:24:23 +00:00
Przemyslaw Czerpak
7d8dad6605 2009-09-24 11:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbpp.h
  * harbour/include/hbcompdf.h
  * harbour/source/pp/pplib.c
  * harbour/source/pp/ppcore.c
  * harbour/source/compiler/cmdcheck.c
  * harbour/source/compiler/ppcomp.c
    + added support for disabling all automatically set platform dependent
      macros by '-undef:.ARCH.' switch.
      .ARCH. is meta flag to select all architecture dependent macros:
      __PLATFORM__*, __ARCH??BIT__, __*_ENDIAN__
      It should simplify cross build harbour compiler settings in
      core make system and hbmk2 or hb* scripts.

  * harbour/config/dos/watcom.mk
  * harbour/config/os2/watcom.mk
  * harbour/config/win/pocc.mk
  * harbour/config/win/bcc.mk
  * harbour/config/win/watcom.mk
  * harbour/config/linux/watcom.mk
    * disable C compiler warnings when HB_BUILD_WARN=no. Some compilers
      enable warnings by default.
      It pacifies warnings when external libraries are compiled.
2009-09-24 09:23:34 +00:00
Viktor Szakats
e6399e45fd 2009-09-22 18:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/global.mk
    ! Changed .dll names for OS/2 to be the same as in MS-DOS:
      harbour/harbourm. (.dll names in OS/2 are limited to 8.3)

  * config/dos/djgpp.mk
    ! Attempt to fix empty line problem when stripping isn't requested.
      Something better would be good here.

  * config/os2/gcc.mk
    ! Fixed empty line problem when stripping isn't requested.
2009-09-22 16:52:31 +00:00
Viktor Szakats
a3999d669a 2009-09-21 12:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/beos/gcc.mk
  * config/beos/global.mk
  * config/bsd/gcc.mk
  * config/bsd/global.mk
  * config/wce/mingwarm.mk
  * config/hpux/gcc.mk
  * config/hpux/global.mk
  * config/dos/djgpp.mk
  * config/win/mingw.mk
  * config/win/cygwin.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/global.mk
  * config/sunos/sunpro.mk
    + Added HB_BUILD_STRIP support for rest of compilers.
    ; Please make tests.

  * bin/postinst.sh
    - Deleted strip from postinst phase.
2009-09-21 10:13:39 +00:00
Viktor Szakats
72a381acc1 2009-09-19 18:25 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/global.mk
    + HB_BUILD_SHARED will now default to yes, if HB_INSTALL_PREFIX 
      points to a *nix system location. (in sync with hbmk2 logic)

  * config/dos/djgpp.mk
    + Added .dll building rule, but it doesn't work, so I've commented it.
      (-shared isn't accepted by DJGPP ld)
2009-09-19 16:26:45 +00:00
Viktor Szakats
803c52d710 2009-09-19 16:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bin.mk
    + Added HB_BUILD_SHARED support for os2/watcom.

  * source/Makefile
    * Deleted env space saving optimization for dos platform
      and added support for gtdos when building dos .dlls.
    % Deleted line after prev changes.

  * config/global.mk
    + Added special .dll names when building dos based ones.
      (harbour / harbourm)

  * config/dos/watcom.mk
    + Enabled absolutely experimental dos .dll support.
    ; Current result:
      ---
      wlink OP quiet SYS cwdllr  NAME '..\..\..\..\..\bin\dos\watcom\harbour' OP implib='../../.
      ./../../lib/dos/watcom/harbour.lib' @__dyn__.tmp
      Warning! W1027: file clib3r.lib(cstart): redefinition of ___begtext ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __nullarea ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __D16Infoseg ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __x386_zero_base_selector ignored
      
      Warning! W1027: file clib3r.lib(cstart): redefinition of __exit_ ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __do_exit_with_msg__ ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of __GETDS ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of ___GETDSStart_ ignored
      Warning! W1027: file clib3r.lib(cstart): redefinition of ___GETDSEnd_ ignored
      Error! E2030: file clib3r.lib(cstart): multiple starting addresses found
      mingw32-make.exe[2]: *** [harbour] Error 1
      ---
    ; TOFIX: hbpp object will be (or is) again a showstopper.

  * config/win/watcom.mk
    * Synced with dos/watcom.mk after above change.
2009-09-19 14:56:55 +00:00
Viktor Szakats
20f9b93b0f 2009-09-17 13:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-func.sh
  * config/beos/libs.mk
  * config/global.mk
  * config/bsd/libs.mk
  * config/darwin/libs.mk
  * config/hpux/libs.mk
  * config/dos/djgpp.mk
  * config/linux/libs.mk
  * config/sunos/libs.mk
    * Renamed two variables to be in sync with latest changes:
      HB_CRS_LIB -> HB_LIBNAME_CURSES
      HB_SLN_LIB -> HB_LIBNAME_SLANG
        (this one is not honored by GNU Make system)
    ; TOFIX: Honor HB_LIBNAME_SLANG in GNU Make system? Is that
             needed in some cases?

  * config/dos/djgpp.mk
    + Synced system lib/libpath logic with libs.mk found on
      other platforms.
2009-09-17 11:00:58 +00:00
Viktor Szakats
f6ef3e47eb 2009-09-06 18:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added '@.clp' to cmdline template in help.
    ! Fixed double linefeeds in output (visible in dos builds).
    ! Fixed syntax of generated .rc file for os2 targets.
      I can't check but the app icons still don't seem to
      be added, so this will need further attention from
      real OS/2 users.

  * config/detect.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
    ! Fixed to properly set watt lib location even when backslash
      is used in HB_INC_WATT setting.
2009-09-06 16:33:17 +00:00
Viktor Szakats
1b51404b94 2009-09-05 14:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -compiler and -platform options as alternatives for 
      -comp and -plat, maybe this is more clear and it's also better in
      sync with GNU Make's HB_COMPILER/HB_PLATFORM.

  * config/dos/watcom.mk
    * watt libname to lowercase.
2009-09-05 12:21:22 +00:00
Viktor Szakats
1b9a14487a 2009-09-05 12:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/watcom.mk
    ! Adjusted watcom watt lib name.
2009-09-05 10:51:22 +00:00
Viktor Szakats
bd2cb53a7b 2009-09-05 02:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    + Added experimental support for @.clp files.
      A bit hacky and could be incomplete. I'm not a .clp file user,
      so pls test and extend.

  * INSTALL
  * contrib/gtalleg/Makefile
  + contrib/gtalleg/gtallegs
  + contrib/gtalleg/gtallegs/Makefile
  * contrib/gtalleg/gtalleg.hbc
  + contrib/gtalleg/gtallegs.hbc
    + Added static flavour of gtalleg. This was an option until now,
      now both versions are automatically built to be in sync with
      rest of contribs. This also means that HB_ALLEGRO_STATIC
      setting is no longer needed.
    + Added separate static/dynamic .hbc files accordingly.

  * contrib/hbqt/Makefile
  + contrib/hbqt/hbqts
  + contrib/hbqt/hbqts/Makefile
  * contrib/hbqt/hbqt.hbc
  + contrib/hbqt/hbqts.hbc
    + HB_QT_STATIC=yes setting will now cause building of static
      flavor hbqt lib *above* the default one which links against
      dynamic qt libs. Until now this setting caused that the
      static version was built *instead* of the dynamic one.
      NOTE: Using this setting will cause a significantly longer
            build time on non-*nix systems.
    + Added separate static/dynamic .hbc files accordingly.

  * config/global.mk
    ! Fixed to set CXX predefined variable to empty to make
      defaulting logic in rules.mk work as expected.
      This fixes recent hbqt build failure with MSVC.

  * config/dos/watcom.mk
    + Added watt lib support. (untested, please test)

  * source/rtl/Makefile
  * source/rtl/hbsocket.c
  * config/detect.mk
  * config/dos/djgpp.mk
    * Renamed HB_*_TCP to HB_*_WATT.
    + Added HB_INC_WATT to INSTALL. (couldn't make it work locally,
      so it's not very precise yet)

  * config/detect.mk
    * Minor: lowercased component name for watt lib.

  * config/dos/djgpp.mk
    * Minor: Using LIBPATHS to store watt lib path instead of LDLIBS.

  * config/install.mk
    % Deleted no longer used/needed HB_INSTALL_DEF variable.
2009-09-05 00:23:51 +00:00
Przemyslaw Czerpak
b824a53fa4 2009-08-31 16:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/dos/djgpp.mk
    ! added watt library to linked library list when TCP support is
      enabled in DOS builds
      TODO: make the same for watcom builds - I would like to leave it
            for Viktor because I'm not sure where exactly I should add it
            for new watcom .mk files to not break Viktor's build concept.
2009-08-31 14:44:06 +00:00
Viktor Szakats
0be602694a 2009-08-28 00:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.mk
  * config/dos/djgpp.mk
  * config/common/watcom.mk
  * config/os2/gcc.mk
    + Finished support for HB_LDFLAGS variable (to hold Makefile
      local extra linker options). We don't use this feature yet.

  * config/sunos/sunpro.mk
    + Setting CXX for sunos/sunpro.mk to make it build .cpp files
      without forcing cpp mode explicitly. (suncc seems to do nothing
      with .cpp input files.)

  * config/bsd/libs.mk
  * config/hpux/libs.mk
  * config/darwin/libs.mk
  * config/sunos/libs.mk
    - Deleted commented /usr/X11R6/lib64 lib dir. It's a Linux
      distro specific thing.

  * config/linux/libs.mk
    + Added comment for /usr/X11R6/lib64
2009-08-27 22:53:07 +00:00
Viktor Szakats
5495d2978a 2009-08-26 18:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/gtsln/Makefile
    * Using HB_HAS_GPM instead of old HB_GPM_MOUSE.

  * config/bin.mk
  * config/dyn.mk
  * config/bsd/libs.mk
  * config/darwin/libs.mk
  * config/hpux/libs.mk
  * config/dos/djgpp.mk
  * config/win/mingw.mk
  * config/linux/libs.mk
  * config/os2/gcc.mk
  * config/sunos/libs.mk
    * Extended the way it's decided whether to include
      rtl external lib dependencies or not. Now binary specific
      logic was moved to bin.mk, and dynamic lib logic was added
      to dyn.mk.
      The flag is called HB_LINKING_RTL (not empty means yes).
    + Updated syslib list assembly parts to use HB_HAS_*
      autodetection variables instead of trying to find it out
      by other means.

  * config/global.mk
    + Adding gtcrs, gtsln, gtxwc to std liblist if required
      components are available. This means that it's now again
      possible to select these as build-time default GTs.
    * Updated comment for setting plans.
2009-08-26 16:43:24 +00:00
Viktor Szakats
123f2ec1a9 2009-08-26 12:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added new section: HOW TO DO A PARTIAL [RE]BUILD
      This wouldn't have been possible a week ago, the
      situation was so much different and complicated for
      various cases.
    ! Cleaned msys/cygwin/<DIR> references and NOTEs.

  * config/dyn.mk
  * config/bin.mk
  * config/global.mk
  + config/bsd/libs.mk
  * config/bsd/gcc.mk
  + config/hpux/libs.mk
  * config/hpux/gcc.mk
  + config/darwin/libs.mk
  * config/darwin/gcc.mk
  * config/darwin/icc.mk
  + config/linux/libs.mk
  * config/linux/global.mk
  + config/sunos/libs.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    % Moved "system" library logic to compiler libs.mk files
      for all *nix compilers.

  * config/dos/djgpp.mk
  * config/global.mk
    * DJGPP with win-based make messages converted to a warning
      and moved next to the other similar warning detecting
      another non-ideal combination.
2009-08-26 11:05:58 +00:00
Viktor Szakats
6b019f5134 2009-08-25 15:13 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added DJGPP cross-builds to support matrix.
    + Added DJGPP bash.exe to the shell mix.
    + Added OS/2 bash.exe to the shell mix.
    ; NOTE: djgpp build fails here when using bash too
            (I've used a Windows machine to test), see below.

  * ChangeLog
    * Updating pending item status.

  * contrib/hbbtree/hb_btree.c
    ! Added TOFIX about bad bug. (hitting win64, maybe more)
      Reported on the list a while ago.

  * utils/hbmk2/hbmk2.prg
    - Deleted HB_CCPATH support for *nix based gcc/icc compilers.
      To be in sync with GNU Make files.
    + Added HB_CCPATH support for os2 and dos.
    + Added HB_CCPREFIX and HB_CCPOSTFIX support for dos/djgpp to
      support cross-builds.
    + Using host dependent executable extension for compiler
      tools in dos/djgpp to support cross-builds.

  * config/wce/mingwarm.mk
  * config/win/mingw.mk
    + Added HB_CCPOSTFIX support. Now in sync with rest of gcc
      family compilers in GNU Make and with hbmk2.

  * config/win/cygwin.mk
    + Added HB_CCPATH, HB_CCPREFIX, HB_CCPOSTFIX support.
      To be in sync with rest of gcc family compiler in GNU Make
      and with hbmk2.

  * config/dos/djgpp.mk
    + Added HB_CCPATH, HB_CCPREFIX, HB_CCPOSTFIX support for
      dos/djgpp.
    ! Fixed to only give error when using non-DOS build of
      GNU Make on a Windows host.
    ; NOTE: Tried the bld process with bash.sh, and it starts
            when using nativ DOS make.exe, but it fails also
            with 'Bad command or file name' and 'No command name seen.'
            when building hbcommon lib. Same effect when using
            msys. So I conclude our djgpp make files are broken
            for POSIX shells, I hope someone else can also do
            tests.

  * config/os2/gcc.mk
    + Added HB_CCPATH support.
      To be in sync with rest of gcc family compiler in GNU Make
      and with hbmk2.

  * config/win/bcc.mk
    ! Readded dbl quotes around tlib filename. This breaks tlib
      on msys shells. The real problem is caused by /P64 option.
      Fix unknown, besides avoiding msys shell+bcc target
      combination.

  * contrib/hbfbird/Makefile
    * Indented/rearranged.
2009-08-25 13:14:33 +00:00
Viktor Szakats
7d6cf877ef 2009-08-25 09:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Mentioning dosemu.

  * bin/postinst.bat
    + dos shell flavour zip creation.

  * config/global.mk
    + Added make platform detection.
    + Changed 'dos shell on win platform' warning to be based on make
      platform.
    + Not showing 'dos make on win platform' warning when doing DJGPP
      build because this is the right (and only) way in case of this
      compiler.

  * config/globsh.mk
    + Added command line length limit details for dos shell.
    + Added command line length limit for OS/2. Copied from other .mk file.

  * config/dirsh.mk
  * config/instsh.mk
    - Deleted comments 'We have to use script to overcome the DOS limit of max 128 characters'
      from all places.

  * config/dos/djgpp.mk
    + Will now error if trying to use other than DJGPP make
      to built with this compiler.
2009-08-25 07:18:37 +00:00
Viktor Szakats
fb0c197484 2009-08-25 02:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/bintools.txt
  * config/dosecho.exe
    ! Restored previous version. (new one gave error on some watcom lines f.e.)
    + Added binary+source links.

  * INSTALL
    + Some minor clarifications.
    * 'NT system required' changed 'XP system recommended' for win hosts.
    + Added shell requirement for HB_BUILD_PKG.
    % Simplified os2/watcom on linux example.

  * bin/postinst.cmd
    + Some cleanup/sync with postinst.bat.

  * source/Makefile
    ! Possible fix: Emptying DYNDIRLIST_BASE on dos targets
      to save envvar space.

  * source/Makefile
  * config/lib.mk
    + Added gtcrs and gtsln to dynlib obj list for *nix targets.

  * config/global.mk
    + Added Harbour version number to log header.
    ! Fixed to use short pkg name based on target platform
      no host platform (=dos).

  * config/bsd/gcc.mk
  * config/hpux/gcc.mk
  * config/darwin/icc.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
    + Added dynamic library generation to rest of targets.
    ; Please review, especially sunos/sunpro as it had some
      .sh tricks which I couldn't replicate.

  * config/bsd/global.mk
  * config/hpux/global.mk
  * config/darwin/global.mk
  * config/linux/global.mk
  * config/sunos/global.mk
    ! Setting DYN_PREF to 'lib'.

  * config/wce/mingwarm.mk
  * config/win/mingw.mk
    - Disabled import libs. [They aren't necessary with mingw.]

  * config/darwin/icc.mk
    * Changed to use libtool instead of xiar.
      (blind sync with darwin/gcc)

  * config/dos/djgpp.mk
  * config/common/watcom.mk
  * config/win/bcc.mk
  * config/os2/gcc.mk
    ! Fixed to use $(ECHOQUOTE) in all $(ECHO) calls.

  * config/win/bcc.mk
    ! Fixed use fixed backslashes regardless of shell in scripts.

  * config/dyn.mk
    ! Fixed to use $(LIB_PREF) as implib name prefix.
    % Minor opt in IMP_NAME forming.

  * config/rules.mk
    % Readded $(HB_INC_COMPILE) to be always on cmdline, to
      better balance between cmdline and envvar space. (dos)

  * config/instsh.mk
    % Don't display useless '! Nothing to install' message
      when there was no file to install. (could happen with
      mingw dynamic lib install where implib is empty because
      we don't generate one).
2009-08-25 00:04:06 +00:00
Viktor Szakats
7f66faac51 2009-08-23 09:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
    + Added -implib option. Implemented it for all compilers.
      (some of these don't support -hbdyn option yet though, once we
      got it matured in GNU Make, these can be added to hbmk2)
    + Added linux/watcom dynlib generation. Quite experimental, it doesn't
      work due to missing symbols.
    + Added linux/watcom support for -shared mode. Experimental, it doesn't
      work due to 'invalid library file attribute'. Either the GNU Make
      generate .so is wrong, or it's wrongly specified, or else.
      I hope something can continue watcom dynamic lib support.

  * config/dos/watcom.mk
    * Formatting.

  * config/linux/watcom.mk
    - Deleted 'RUNTIME linux' and 'OP norelocs' options from dynlib gerenation.
2009-08-23 08:00:35 +00:00
Viktor Szakats
ac72071986 2009-08-21 13:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/bcc.mk
  * config/win/watcom.mk
    + Added new .dll build rules.
    ; TODO: Solve handling of generated implib.
    ; TODO: Add dynlib generation logic for *nix targets.
    ; TODO: Delete postinst script if the new method turns out to 
            work alright.

  * config/win/cygwin.mk
  * config/win/icc.mk
  * config/win/xcc.mk
  * config/win/pocc.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
    + Implemented .dll creation for rest of win/wce compilers:
        icc uses the same logic as msvc.
        pocc/poccarm/msvcarm/xcc uses the same logic as msvc
          except /subsystem option.
        mingwarm/cygwin uses the same logic as mingw.
    ; I didn't test wce ones yet.

  * config/win/msvc.mk
    % Using $(wildcard) instead of echo trick to delete __lib__.tmp.

  * config/win/mingw.mk
  * config/win/msvc.mk
    * Moved HB_USER_DFLAGS in cmdline.

  * config/win/watcom.mk
  * config/dos/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    + Added 'OP quiet' option to wlink command.

  * source/pp/Makefile
    ! Using OBJ_DYN_POSTFIX instead of hardwired value.

  * source/vm/mainwin.c
  * source/vm/mainstd.c
    ! Typo in prev commit regarding watcom/dynlib hack.

  * source/rtl/gtwvt/gtwvt.c
    ! Fix for msvcarm build, where WS_OVERLAPPEDWINDOW macro
      is reported missing.
2009-08-21 11:39:05 +00:00
Viktor Szakats
34190a645f 2009-08-20 22:22 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    ! Fixed to not include rules.cf twice.
2009-08-20 20:23:16 +00:00
Viktor Szakats
8b63fda831 2009-08-20 20:40 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/watcom.mk
  * config/common/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    ! Fix to prev. (missed to deleted platform specific rules from nt/dos ones)
    * Moved LDLIBS formation back to platform spefific watcom.mk files.
      (the only reason is SYSLIBS present only on win)
2009-08-20 18:41:06 +00:00
Viktor Szakats
6dbde12367 2009-08-20 20:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/common/watcom.mk
    + Readded dos/nt shell specific logic. (they were the same so
      far in Harbour, but maybe it'd be now possible to create real
      optimize out dos specific hacks for nt shells - unless there
      is a chance to break the 8192 bytes nt cmdline length limit.)

  * ChangeLog
    + Marked pending items in prev entry.

  * config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    % Deleted watcom doc links. It's enough to have them in common file.
2009-08-20 18:35:09 +00:00
Viktor Szakats
dca33ebdd1 2009-08-20 20:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
  * config/global.mk
    ! Fixed to -undef:__PLATFORM__UNIX even for Windows host platforms.
      This is required because Cygwin builds have this envvar set.
      I'm not sure that setting __PLATFORM__UNIX for Cygwin is right
      behavior though.

  * config/dos/watcom.mk
  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
  + config/common/watcom.mk
    % Moved common watcom compiler specific make logic to one file.
      I've choosen OS/2 rules in this global makefile, as they will
      work on all platforms, albeit in the known slighly hacky way.
      It's easy to reintroduce shell specific rules for more advanced
      shells. There was one common rule set for nt/dos shells, plus
      a very clean one for sh. I may do this in a next commit.
      After this change it's possible to create all possible watcom
      cross-builds. Pls shout if I missed something or the concept
      seems to have some potential flaws.
    ; QUESTION: Does 'wlib' support '-p=64' option on Linux watcom builds?
    ; NOTE: Still most of the not yet merged logic could be merged,
            since there is only a few minor difference between them.
    ; TODO: Add shell optimized watcom rules for nt/dos/sh shells.
    ; TODO: Try to do a similar stunt for gcc.mk files.

  * source/pp/ppcore.c
    * #ifdef -> #if defined()
2009-08-20 18:16:55 +00:00
Viktor Szakats
809b984774 2009-08-20 15:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/watcom.mk
    * DOS shell specific hacks protected by HB_SHELL guard.
    * Merged together DOS shell specific hacks.

  * config/win/watcom.mk
  * config/linux/watcom.mk
  * config/os2/watcom.mk
    + Added DOS shell specific hacks, so that cross-builds to these 
      targets on DOS hosts work.
2009-08-20 13:38:47 +00:00
Przemyslaw Czerpak
5323a87636 2009-08-20 11:47 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/bsd/gcc.mk
  * harbour/config/darwin/gcc.mk
  * harbour/config/hpux/gcc.mk
  * harbour/config/dos/djgpp.mk
  * harbour/config/win/mingw.mk
  * harbour/config/linux/gcc.mk
  * harbour/config/linux/icc.mk
  * harbour/config/linux/sunpro.mk
  * harbour/config/os2/gcc.mk
  * harbour/config/sunos/gcc.mk
  * harbour/config/sunos/sunpro.mk
    ! replaced wrongly used 'findstring' functions with 'filter' functions.
      Now findstring is used only in places where we are looking for
      substrings not whole words.

  * harbour/source/rdd/wacore.c
    ! fixed typo in comment (by Phil Krylov borrowed from xHarbour)

  * harbour/ChangeLog
    ! fixed my typo in Latin translation of Phil Krylov family
      name - sorry Phil.
2009-08-20 09:47:56 +00:00
Viktor Szakats
3795296335 2009-08-18 22:46 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
    * 'echo' -> '$(ECHO)'

  * config/readme.txt
    + Added link to DJGPP echo tool.
    ; TOFIX: This isn't the echo tool which is currently included 
             in SVN, but points to the place where other dj-*.exes 
             came from.

  * ChangeLog
    ! Fixed date in my today's entries.
2009-08-18 20:48:21 +00:00
Viktor Szakats
e7aa977815 2009-08-17 19:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/none.mk
  * config/global.mk
  * config/bsd/gcc.mk
  * config/lib.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.mk
  * config/bin.mk
  * config/dir.mk
  * config/hpux/gcc.mk
  * config/darwin/gcc.mk
  * config/dos/watcom.mk
  * config/dos/djgpp.mk
  * config/win/xcc.mk
  * config/win/mingw.mk
  * config/win/msvc64.mk
  * config/win/iccia64.mk
  * config/win/pocc.mk
  * config/win/bcc.mk
  * config/win/watcom.mk
  * config/win/mingw64.mk
  * config/win/msvcia64.mk
  * config/win/gcc.mk
  * config/win/pocc64.mk
  * config/win/icc.mk
  * config/win/cygwin.mk
  * config/win/msvc.mk
  * config/header.mk
  * config/linux/watcom.mk
  * config/linux/gcc.mk
  * config/linux/icc.mk
  * config/linux/sunpro.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/sunos/gcc.mk
  * config/sunos/sunpro.mk
  * config/doc.mk
  * config/install.mk
    * Renaming .cf files to .mk.
      Pass 2. Changing .cf references to .mk ones inside config.
      SVN is in non-working state yet.
2009-08-17 17:17:43 +00:00
Viktor Szakats
213b636bb5 2009-08-17 19:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- config/prg.cf
  + config/dirsh.mk
  - config/none.cf
  - config/global.cf
  - config/lib.cf
  + config/prg.mk
  - config/bin.cf
  - config/dir.cf
  - config/globsh.cf
  + config/none.mk
  + config/global.mk
  + config/bsd/gcc.mk
  - config/bsd/gcc.cf
  + config/bsd/global.mk
  - config/bsd/global.cf
  - config/c.cf
  + config/lib.mk
  - config/wce/msvcarm.cf
  + config/wce/global.mk
  - config/wce/global.cf
  + config/wce/mingwarm.mk
  - config/wce/mingwarm.cf
  + config/wce/poccarm.mk
  - config/wce/poccarm.cf
  + config/wce/msvcarm.mk
  + config/bin.mk
  - config/header.cf
  - config/rules.cf
  + config/darwin/gcc.mk
  - config/darwin/gcc.cf
  + config/darwin/global.mk
  - config/darwin/global.cf
  + config/hpux/gcc.mk
  - config/hpux/gcc.cf
  + config/hpux/global.mk
  - config/hpux/global.cf
  + config/dir.mk
  + config/globsh.mk
  + config/dos/watcom.mk
  - config/dos/watcom.cf
  + config/dos/global.mk
  - config/dos/global.cf
  + config/dos/djgpp.mk
  - config/dos/djgpp.cf
  + config/c.mk
  - config/doc.cf
  - config/win/watcom.cf
  - config/win/mingw64.cf
  + config/win/xcc.mk
  - config/win/gcc.cf
  - config/win/msvcia64.cf
  - config/win/icc.cf
  - config/win/pocc64.cf
  + config/win/mingw.mk
  - config/win/cygwin.cf
  - config/win/global.cf
  + config/win/iccia64.mk
  + config/win/msvc64.mk
  + config/win/pocc.mk
  + config/win/bcc.mk
  - config/win/msvc.cf
  + config/win/watcom.mk
  + config/win/mingw64.mk
  + config/win/gcc.mk
  + config/win/msvcia64.mk
  + config/win/icc.mk
  - config/win/xcc.cf
  + config/win/pocc64.mk
  + config/win/cygwin.mk
  + config/win/global.mk
  - config/win/mingw.cf
  - config/win/msvc64.cf
  - config/win/iccia64.cf
  - config/win/pocc.cf
  - config/win/bcc.cf
  + config/win/msvc.mk
  - config/install.cf
  + config/header.mk
  - config/instsh.cf
  + config/linux/watcom.mk
  - config/linux/watcom.cf
  + config/linux/gcc.mk
  - config/linux/gcc.cf
  + config/linux/icc.mk
  - config/linux/icc.cf
  + config/linux/global.mk
  - config/linux/global.cf
  + config/linux/sunpro.mk
  - config/linux/sunpro.cf
  - config/dirsh.cf
  + config/rules.mk
  + config/os2/watcom.mk
  - config/os2/watcom.cf
  + config/os2/gcc.mk
  - config/os2/gcc.cf
  + config/os2/global.mk
  - config/os2/global.cf
  + config/sunos/gcc.mk
  - config/sunos/gcc.cf
  + config/sunos/global.mk
  - config/sunos/global.cf
  + config/sunos/sunpro.mk
  - config/sunos/sunpro.cf
  + config/doc.mk
  + config/install.mk
  + config/instsh.mk
    * Renaming .cf files to .mk.
      Pass 1. The SVN will be in non-working state until the next 
      commit. Please don't build Harbour for about an hour now.
2009-08-17 17:12:19 +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
57c051a829 2009-08-15 18:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    + Added new plans for further setting cleanup.

  * config/global.cf
  * config/rules.cf
  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/os2/watcom.cf
    + Added HB_CFLAGS, HB_PRGFLAGS. These will now replace all
      Makefile level manipulation of flags. Should eventually
      replace all HB_USER_*FLAGS, HB_GCMODE, HB_INC_DEPEND,
      HB_CUNICODE, HB_CDBG and HB_FLAGSEXTRA variables, if everything
      goes well.

  * contrib/hbwin/wapi_winuser.c
    + Added WAPI_GETKEYSTATE().
2009-08-15 16:33:06 +00:00