Commit Graph

140 Commits

Author SHA1 Message Date
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
e258a9c658 2009-08-17 18:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/global.cf
    ! Fixed HB_USER_CFLAGS -> HB_CFLAGS.
2009-08-17 16:08:22 +00:00
Phil Krylov
7f4a44826a 2009-08-17 13:18 UTC+0300 Phil Krylov <phil@newstar.rinet.ru>
* make_gnu_xmingw.sh
    + Allow user to override the default TARGET.
  * config/global.cf
    ! Don't add /harbour (LIB|INC)POSTFIX if HB_INSTALL_PREFIX contains
      /usr/home (synonym of /home under FreeBSD).
    ! Fixed INCPOSTFIX usage so it works now.
  * config/linux/global.cf
    ! Added x86_64 to -fPIC machines.
2009-08-17 09:20:10 +00:00
Viktor Szakats
6969cc0123 2009-08-15 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- make_gnu.sh
  * config/linux/global.cf
    - Deleted. The -fPIC logic is moved to linux/global.cf but it's
      incomplete yet, some comments were added there.

  * contrib/hbcurl/hbcurl.hbc
  + contrib/hbcurl/hbcurls.hbc
    + Added separate .hbc file for static mode hbcurl lib.
      This replaces former HB_CURL_STATIC setting.

  * contrib/hbcurl/Makefile
  * external/Makefile
  * contrib/Makefile
    % Minor optimization to DIRS var.
      (in few cases it wasn't init to empty with := operator)

  + contrib/hbtip/hbtipssl.hbc
  + contrib/hbtip/hbtipssl
  + contrib/hbtip/hbtipssl/Makefile
  * contrib/hbtip/Makefile
    + Now building separate SSL enabled hbtip lib in case HB_HAS_OPENSSL.
    + Added separate .hbc file for SSL enabled hbtip lib, which also
      pulls hbssl libs and dependencies.

  * config/prg.cf
  * config/lib.cf
  * config/bin.cf
  * config/globsh.cf
  * config/dir.cf
  * config/c.cf
  * config/header.cf
  * config/doc.cf
  * config/instsh.cf
  * config/dirsh.cf
    % Optimized remaining (more delicate) logic to use :=
      instead of = assigment operator.
      At this point there is nothing left to optimize in this
      regard.
    ; I didn't restest parallel build and BISON related rules,
      please do so, I hope they aren't broken. Or in case you
      notice anything strange please shout.

  * config/global.cf
    + Added link to GNU Make NEWS files which describes at which release
      some features were added.

  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/os2/watcom.cf
    ! Synced special watcom CC_RULEs with recent changes to global CC_RULE.
2009-08-15 09:37:39 +00:00
Viktor Szakats
e85ec8a2c2 2009-08-14 23:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Separated instructions for linux/darwin and rest of *nixes.
      The only difference is that the latter needs 'gmake' command
      to start.
    + MSYS/Cygwin section extended a bit. (It's now possible to
      build for any compilers from MSYS/Cygwin)

  * make_gnu.sh
    % Deleted unused HB_ARCH64 variable.

  * config/global.cf
    - Deleted svnversion trick since it's not guaranteed this
      command is present on builder's system.
    + Added doc links from make_gnu.sh. (deleted from there)
    * Changed to default HB_INSTALL_PREFIX to /usr/local on
      *nix systems. I very much don't like this (even though I
      understand why it's done that way).
    + Added {HB_TOP} macro for HB_INSTALL_PREFIX, so if someone
      wants to install Harbour in its own dir, it enough to do:
      export/set HB_INSTALL_PREFIX={HB_TOP}.
      This is crucial if someone doesn't want to "pollute" system
      areas with Harbour builds, doesn't want to use admin rights
      to make the install, or if someone wants to use multiple
      Harbour builds in parallel for any reason. hbmk2 works
      perfectly without Harbour being installed to system location.
    + Whenever HB_INSTALL_PREFIX is modified by GNU Make (defaulting
      or macro replacement), the new value will be presented for the
      user.
    % Minor optimization.
    * Minor cleanups to pkg dir assembling logic.

  * config/linux/global.cf
    + Added -fPIC detection logic. This is just a start, it doesn't
      replicate full logic found in make_gnu.sh. Przemek, if you have
      some spare time, please look into it.
2009-08-14 22:00:32 +00:00
Viktor Szakats
32b6c86e1e 2009-08-14 16:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.cf
  * config/hpux/gcc.cf
  * config/darwin/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
    % Deleted meaningless comment.
2009-08-14 14:51:55 +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
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
d1a2ed4e8a 2009-08-12 14:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/mingwarm.cf
  * config/win/mingw.cf
    - Deleted ranlib usage. I've tested with mingw 3.4.2, 4.4.0
      and mingwarm 4.4.1, and the runlib command made no difference.
      If someone knows the reason why was it there, pls shout.

  * config/bsd/global.cf
  * config/darwin/global.cf
  * config/linux/global.cf
    - Deleted RANLIB variables. They are not used anywere through the
      make process.
      (only mingw/mingwarm uses it)
2009-08-12 13:01:23 +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
Przemyslaw Czerpak
df59bad4d3 2009-08-12 14:36 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/bin/hb-func.sh
    * updated list of system libraries used in to create harbour*.dll
      in MinGW builds

  * harbour/bin/postinst.sh
    - removed not longer used code for build library in postinst phase
    * use 'suncc' instead of 'cc' to create harbour shared library without
      any platform dependent non default settings
    * synced flags used in build process with flags used to create
      harbour shared library in sunpro builds

  * harbour/config/linux/sunpro.cf
  * harbour/config/sunos/sunpro.cf
    * removed options which explicitly force platform
    * added -xbuiltin=%none as workaround for problems in x86 PIC builds
      exploited by hbpcre library code
    * changed the order of C/LD flags settings so they can be easy
      overwritten by HB_ISAOPT
2009-08-12 12:36:44 +00:00
Viktor Szakats
6c465556bc 2009-08-12 11:34 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/instsh.cf
    ! Fixed '-' prefix usage in non-*nix shells, so now make
      process won't fail because of install rule error.
      (this was a problem introduced in recent days)
      Maybe it will be needed to tweak that because an install
      failure might signal a real problem as soon as package
      creation gets implemented inside/under GNU Make.

  * config/global.cf
    + Added autofill of HB_INSTALL_PREFIX if not specified.
      (work in progress, might change in the future)
    + Added support for "macro" values in HB_INSTALL_PREFIX:
      {HB_ARCH}, {HB_COMP}, {HB_CPU}. They will be replaced 
      by corresponding value. This is a small steps towards 
      moving to GNU Make bases autodetection an moving away 
      from starter script (make_gnu.*) usage.

  * config/bsd/global.cf
  * config/wce/global.cf
  * config/darwin/global.cf
  * config/hpux/global.cf
  * config/dos/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/sunos/global.cf
    + Added DYN_EXT and DYN_PRE variables as a small step
      towards integrating dynlib creation in the GNU Make
      process.
2009-08-12 09:38:12 +00:00
Viktor Szakats
ce46f48e8c 2009-08-11 13:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/darwin/gcc.cf
    % Using custom LD_OUT instead of overriding while LD_RULE.

  * config/bsd/gcc.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/darwin/gcc.cf
  * config/hpux/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
    * Cleaned LDFLAGS usage:
    % Using := instead of =
    ! Always initialize LDFLAGS to empty to prevent spillage of random values.
    * Moved lib specs included in LDFLAGS to LDLIBS.
    * Cleaned "DEBUG ALL" addition in watcom compilers.

  ; GNU Make .cf cleanup is about over. There could probably be done
    some additional optimizations, but it's already much cleaner, simpler
    and more efficient than it was until a few weeks ago.
    Still could be done: CFLAGS vs. CPPFLAGS usage accross compilers.
    *_RULE variables, revise redefinition needs, maybe change the central
    default, etc.

  * ChangeLog
    ! Typos in prev entry.
2009-08-11 12:00:07 +00:00
Viktor Szakats
9c6cc63383 2009-08-11 13:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/pp/Makefile
    % := -> =

  * config/sunos/sunpro.cf
  * 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
    * Cleaned LDLIBS usage:
    % Using := insteaf of =
    ! Fixed spillage of system defined LDLIBS var content.
2009-08-11 11:25:32 +00:00
Viktor Szakats
df701b0ac9 2009-08-11 13:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* 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/djgpp.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/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    * Renamed compiler local internal variable:
      LINKPATHS -> LIBPATHS
2009-08-11 11:01:08 +00:00
Viktor Szakats
5a4a075cce 2009-08-11 12:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.cf
  * config/bsd/gcc.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/darwin/gcc.cf
  * config/hpux/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
    * Renamed internal variable:
      LINKLIBS  -> LDLIBS
2009-08-11 10:58:19 +00:00
Viktor Szakats
61e4133d46 2009-08-11 12:50 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbcurl/hbcurl.c
    ! Silenced recently reintrod warning.

  * source/pp/Makefile
    + Indentation.

  * config/dos/djgpp.cf
  * config/linux/watcom.cf
  * config/os2/watcom.cf
    * Few hacks simplified.
    + Made available LDLIBS variable. (Optimized out or renamed)
2009-08-11 10:51:14 +00:00
Viktor Szakats
a15a77cdf1 2009-08-11 12:14 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/djgpp.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/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    ; Cleaned LINKPATHS usage.
    % Using := instead of = assignment operator.
    ! Fixed spillage of external LINKPATHS content with some compilers.
    * Non-libpath related variable content moved to LDFLAGS.
    ; TODO: Rename 'LINKPATHS' to 'LIBPATHS'.
2009-08-11 10:24:06 +00:00
Viktor Szakats
3d0b0e9e1b 2009-08-11 09:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* 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
    % CFLAGS and CPPFLAGS initialized using := operator.
    ! Fixed not initializing CFLAGS/CPPFLAGS at all for some compilers.
      This may cause spilling of unwanted switches into our make system.
      (watcom.cf)
    * Few remaining indentations left from previous round (sunpro.cf).
    * Some other minor cleanups along the way (xcc.cf).
2009-08-11 07:57:13 +00:00
Viktor Szakats
a209784591 2009-08-11 09:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/darwin/gcc.cf
  * config/hpux/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
    % Mofified so that HB_USER_AFLAGS is passed directly to AR_RULE,
      rather than being passed through ARFLAGS. It's also done this way
      for other HB_USER_* flags.
    ! Fixed os2/gcc ignoring HB_USER_AFLAGS. Please test.
    % ARFLAGS assignments now use := operator.

  * config/global.cf
    + Added few more config vars.
2009-08-11 07:42:53 +00:00
Viktor Szakats
fbc4171839 2009-08-11 09:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.cf
    % Started using := for CFLAGS/CPPFLAGS.

  * config/darwin/gcc.cf
    * Minor cleanups. Sync with bsd/gcc.cf, using vars with std names,
      deleted unused lines.

  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/linux/watcom.cf
  * config/os2/watcom.cf
    ! Using $(HB_INC_COMPILE) instead of $(TOP)$(ROOT)include
      like every other compilers.
2009-08-11 07:28:06 +00:00
Viktor Szakats
a26febda16 2009-08-11 01:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* 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
    + Indentation.
    * Minor cleanups (to GT dependency lib sections, deleted 
      check for hbrtl, it's enough to check for the gt name)
2009-08-10 23:53:56 +00:00
Viktor Szakats
86c72164b7 2009-08-11 01:03 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.cf
  * config/wce/mingwarm.cf
  * config/dos/djgpp.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
    % Deleted core lib grouping.

  * config/win/cygwin.cf
  * config/os2/gcc.cf
    % Deleted (commented) core lib grouping.

  * ChangeLog
    ! Missed entry from a few commits ago:
      * config/win/mingw.cf
        % Deleted core lib grouping.
2009-08-10 23:09:24 +00:00
Viktor Szakats
8f8f068644 2009-08-11 00:54 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bsd/gcc.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/darwin/gcc.cf
  * config/hpux/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/instsh.cf
  * config/dirsh.cf
  * config/os2/watcom.cf
  * config/os2/gcc.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    % Removed spaces before $(foreach) parameters. A space is
      automatically added by GNU Make, so it's not needed. May
      save a little bytes here and there and command look more
      tidy (source looks a little bit clumsier though).
2009-08-10 22:56:37 +00:00
Viktor Szakats
b41df4d1ad 2009-08-11 00:41 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/bin.cf
    * Minor formatting to liblist template.

  * config/bsd/gcc.cf
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/linux/gcc.cf
  * config/linux/icc.cf
  * config/linux/sunpro.cf
  * config/sunos/gcc.cf
  * config/sunos/sunpro.cf
    % Using LIBS var to check for libs rather than HB_GT_LIBS.
2009-08-10 22:41:41 +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
5423959870 2009-08-10 22:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/wce/mingwarm.cf
  * config/win/mingw.cf
  * config/linux/global.cf
    % Using := instead of = in few more places.
2009-08-10 20:48:17 +00:00
Przemyslaw Czerpak
0d7c2153a9 2009-08-10 11:48 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/linux/sunpro.cf
    ! fixed list of linked system libraries to be Linux compatible
2009-08-10 09:48:16 +00:00
Viktor Szakats
272b5e9512 2009-08-10 11:21 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- bin/hbmk.bat
    - Deleted. Probably no one uses it.

  * contrib/hbtip/sendmail.prg
    + Added pop3s support for lPopAuth option.

  * contrib/hbtip/client.prg
    % TIPCLIENT() now uses INIT instead of manual initialization of
      class vars.
    * TIPCLIENT():NEW(): Protocol check made more robust.

  * source/vm/dynlibhb.c
    + Enabled HB_HAS_DLFCN on darwin. Support is there, tested on
      latest 10.5 Leopard.

  * config/global.cf
    * Minor.

  * config/linux/sunpro.cf
  * config/sunos/sunpro.cf
    + Using 'suncc|sunCC' compiler executables. This makes HB_CCPATH
      unnecessary. Thanks Przemek.
2009-08-10 09:25:22 +00:00
Viktor Szakats
135cfb8a6e 2009-08-10 02:39 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/globsh.cf
  * config/bsd/gcc.cf
  * config/wce/msvcarm.cf
  * config/wce/mingwarm.cf
  * config/wce/poccarm.cf
  * config/darwin/gcc.cf
  * config/hpux/gcc.cf
  * config/dos/djgpp.cf
  * config/win/cygwin.cf
  * config/win/mingw.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
    % Using ':=' instead of '=' where possible.
      (incomplete. pass two)
      The rest is really the core and need deeper examination
      of ordering and variable dependency. There is probably more
      room for improvement.
2009-08-10 00:47:30 +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
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
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
604ee44854 2009-08-05 10:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/postinst.sh
  * make_gnu.sh
  + config/linux/sunpro64.cf
  * config/linux/sunpro.cf
  * config/sunos/sunpro64.cf
  * config/sunos/sunpro.cf
    ; Applyied patch by Tamas Tevesz.
    ! Fixes for Sun Pro so generation.
    + Added sunpro64.cf for linux.
    + Added HB_ISAOPT variable to hold ISA selection switches.
    + Added $(HB_CCPATH)$(HB_CCPREFIX) to sunos/sunpro.cf to CC/LD.
    ! Typo in make_gcc.sh (== -> =)
2009-08-05 08:07:03 +00:00
Viktor Szakats
abb6886ede 2009-08-04 14:59 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/rtl/gtsln/kbsln.c
    ! Silenced linux/sunpro warning.

  * config/linux/sunpro.cf
    ! Minor fix.
2009-08-04 12:59:48 +00:00
Viktor Szakats
3c7df60cdd 2009-08-04 03:38 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/linux/sunpro.cf
  * config/sunos/sunpro.cf
    ! Fixed bug I've mistakenly added when applying the patch.
2009-08-04 01:39:15 +00:00
Viktor Szakats
9ca6d04aef 2009-08-04 03:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/vm/dynlibhb.c
    ! Fixed to not use dl*() functions on linux/sunpro.

  * config/linux/sunpro.cf
    ! Fixed to include gpm lib.

  ; TOFIX: linux/sunpro linking dies on:
           ../../../../../lib/linux/sunpro/libhbpcre.a(pcrecomp.o): In function `check_auto_possessive':
           pcrecomp.c:(.text+0x2952): undefined reference to `.CG4A.3263'
           pcrecomp.c:(.text+0x2959): undefined reference to `.CG4A.3263'
           pcrecomp.c:(.text+0x2b29): undefined reference to `.CG40.3253'
           pcrecomp.c:(.text+0x2b30): undefined reference to `.CG40.3253'
2009-08-04 01:34:11 +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
7f131cdb61 2009-07-16 21:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.cf
  * config/global.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/instsh.cf
  * config/dirsh.cf
  * config/globsh.cf
    * HB_SHELL value 'bash' -> 'sh'

  * config/win/bcc.cf
  * config/win/xcc.cf
  * config/win/pocc.cf
  * config/wce/poccarm.cf
    % Deleted comment banner.
2009-07-16 19:34:03 +00:00
Viktor Szakats
97e2f86709 2009-07-16 02:57 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- config/hpux/dir.cf
  * config/hpux/global.cf
  - config/hpux/install.cf
  - config/darwin/dir.cf
  * config/darwin/global.cf
  - config/darwin/install.cf
  - config/dos/dir.cf
  * config/dos/global.cf
  - config/dos/install.cf
  * config/win/global.cf
  - config/win/install.cf
  - config/win/dir.cf
  - config/linux/dir.cf
  * config/linux/global.cf
  - config/linux/install.cf
  - config/os2/dir.cf
  * config/os2/global.cf
  - config/os2/install.cf
  - config/sunos/dir.cf
  * config/sunos/global.cf
  - config/sunos/install.cf
  - config/bsd/dir.cf
  * config/bsd/global.cf
  - config/bsd/install.cf
  - config/wce/dir.cf
  * config/wce/global.cf
  - config/wce/install.cf
    * Minor change in dos specific dirbase:: checks. Should be
      equivalent.
    * darwin/gcc was running RANLIB on install. I've removed
      this for now and if ranlib is required on Darwin, it
      should be readded to gcc.cf.

  * config/os2/gcc.cf
    * Changed to not rely on LIB_FILE_OS.

  * config/dir.cf
  + config/dirsh.cf
  * config/global.cf
  + config/globsh.cf
  * config/install.cf
  + config/instsh.cf
    ! Fixed NT vs dos shell detection. (hopefully)
    + Shell dependent logic merged and moved into new *_sh.cf
      files. The filename is ugly, but couldn't yet find a better one.
      This means a great deal of redundancy is now removed, plus
      now cross-platform combinations aren't limited by missing
      shell support. New shells can now be added with much less work.
    ; Please test, it's possible that I made some mistakes along the way,
      and haven't tested bash yet. Nor OS/2 obviously.
2009-07-16 01:02:11 +00:00
Viktor Szakats
a8c53c2e3e 2009-07-16 01:11 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/wce/global.cf
    + Changed host CPU detection.
    + Added automatic __PLATFORM__* macro configuration in cross-build
      situations.
    + Enhanced target/host CPU detection and decisions based on them.
    + Added automatic HB_BIN_COMPILE setup if not specified by user.
      In such case Harbour build will automatically look for the first
      available native build and use that.
    + Protected detection related screen messages with HB_BUILD_VERBOSE=yes.
    * Minor sync in shell command definition order.

  * INSTALL
    % User set __PLATFORM__* macro tweaks not needed anymore.

  * bin/postinst.cmd
  * bin/postinst.bat
  * bin/hb-func.sh
    * addins -> addons
      (hm, which is better?)
2009-07-15 23:13:16 +00:00
Viktor Szakats
25ab839bd0 2009-07-15 22:28 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/rules.cf
  * config/dos/watcom.cf
  * config/dos/dir.cf
  * config/dos/global.cf
  * config/dos/install.cf
  * config/win/watcom.cf
  * config/win/global.cf
  * config/win/install.cf
  * config/win/dir.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/linux/dir.cf
  * config/linux/global.cf
  * config/linux/install.cf
  * config/os2/watcom.cf
  * config/os2/dir.cf
  * config/os2/global.cf
  * config/os2/install.cf
  * config/wce/dir.cf
  * config/wce/global.cf
  * config/wce/install.cf
    % Using HB_SHELL variable for shell detection.
    % Using HB_HOST_ARCH variable for host detection.

  * config/os2/install.cf
  * config/linux/install.cf
    * Indentation of bash install rules in win/wce/linux.

  * config/darwin/install.cf
  * config/hpux/install.cf
  * config/sunos/install.cf
  * config/bsd/install.cf
    * Minor sync with other copies. Still not fully the same (the first line).
2009-07-15 20:29:33 +00:00
Viktor Szakats
8e3c8f060f 2009-07-15 22:04 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/global.cf
  * config/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/wce/global.cf
    + COMSPEC detection centralized. Added command.com defaulting in DOS shells.
    * Some 'MK:=' changed to 'MK='. (maybe ':=' is the correct one, I just
      syncing yet)
    + Added IA64 detection.
    + Not giving warning on missing HB_BIN_COMPILE on some host-target
      combinations which don't require it (win32 on win64 and dos on win32).

  * config/dos/global.cf
    % Simplified an if construct. QUESTION added.
2009-07-15 20:08:03 +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
934ddf43b1 2009-07-15 18:53 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/win/mingw.cf
  * config/wce/mingwarm.cf
    % Optimized out LIB_DIR_OS_ vars.

  * config/dos/watcom.cf
  * config/win/watcom.cf
  * config/win/bcc.cf
  * config/linux/watcom.cf
  * config/os2/watcom.cf
    ! Minor: += -> = (after recent changes)
2009-07-15 16:53:53 +00:00
Viktor Szakats
7c10651b62 2009-07-15 17:24 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/dos/global.cf
  * config/global.cf
  * config/linux/global.cf
  * config/os2/gcc.cf
  * config/os2/global.cf
    * Finished internal support for obj base dir. In next step
      I'll enable it.
2009-07-15 15:25:53 +00:00
Viktor Szakats
1e67d269a8 2009-07-15 17:08 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
  * config/darwin/global.cf
  * config/hpux/global.cf
  * config/dos/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/sunos/global.cf
  * config/bsd/global.cf
  * config/wce/global.cf
    * 'OBJ_DIR := $(ARCH_COMP)' moved to central global.cf.
      (equivalent modification)
2009-07-15 15:08:57 +00:00
Viktor Szakats
3b0859f10f 2009-07-15 17:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    + Added OBJ_BASE. (empty yet)

  * config/dos/global.cf
  * config/win/global.cf
  * config/linux/global.cf
  * config/os2/global.cf
  * config/wce/global.cf
    * Minor tweak to retain "chain of command".
2009-07-15 15:02:16 +00:00
Viktor Szakats
f6bfa2149e 2009-07-15 14:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/hpux/install.cf
  * config/darwin/install.cf
  * config/dos/install.cf
  * config/win/install.cf
  * config/install.cf
  * config/linux/install.cf
  * config/os2/install.cf
  * config/sunos/install.cf
  * config/bsd/install.cf
  * config/wce/install.cf
    ! Restored previous install rule setup, to fix hbpp combined
      lib/bin install case.
    ; QUESTION: How to use multiple commands in a non-bash (= batch)
                INSTALL_RULE variable? This would be needed to support
                automatic addition of install dirs with non-bash shells.
2009-07-15 12:02:59 +00:00