Commit Graph

36 Commits

Author SHA1 Message Date
Viktor Szakats
b88202cabe 2010-06-15 18:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * config/global.mk
  * config/detfun.mk
  * config/detect.mk
  * external/sqlite3/Makefile
  * external/png/Makefile
  * external/jpeg/Makefile
  * external/bzip2/Makefile
  * external/libhpdf/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbbz2/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/sddsqlt3/Makefile
  * contrib/hbwin/Makefile
    + Added HB_ROOT variable which can be used to specify Harbour
      source tree root as an absolute directory, when using
      older than 3.81 GNU Make version (f.e. on QNX).
    + Changed the way locally hosted source directories are
      specified for detection function, in order to support
      HB_ROOT functionality.
2010-06-15 16:44:38 +00:00
Viktor Szakats
c17e6e8610 2010-05-20 20:33 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.mk
  * config/rules.mk
    + Added HB_CFLAGS_DYN variable to pass lib specific options
      specially directed to compilation phase when building
      to create a .dll. Currently this affects pcre and zlib since
      these are included in harbour .dll.

  * external/libhpdf/Makefile
  * external/pcre/Makefile
  * external/png/Makefile
  * external/zlib/Makefile
    + Configured HB_CFLAGS_DYN for these libs to properly create
      exported symbols in harbour .dll. This was a problem so far
      for any non-mingw made harbour .dll.
2010-05-20 18:58:21 +00:00
Viktor Szakats
6be47185fd 2010-04-22 11:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- external/libpng
  + external/png
  * external/png/Makefile
  * external/libhpdf/Makefile
  * external/Makefile
  * harbour.spec
  * contrib/hbhpdf/hbhpdf.hbc
  * contrib/hbwin/hbwin.hbc
    * Renamed locally hosted libpng lib name from 'libpng'
      to 'png'.
      This way Harbour shifts to the *nix naming and syncs
      better with these systems. On Windows the "most official"
      binary builds still use 'libpng', so if someone uses them
      instead of locally hosted version (which is not very likely)
      the .hbc files shipped with Harbour should be edited
      accordingly. This change also satisfies past request from
      some users.
    ; NOTE: INCOMPATIBLE, pls change lib name 'libpng' to 'png'
            for all platforms in your make files.

  * contrib/hbhpdf/tests/harupdf.prg
    * Indentation.
    * Formatting.

  * external/minizip/readme.txt
    * Deleted paths from filenames.
2010-04-22 09:04:05 +00:00
Viktor Szakats
b34b0d084e 2010-02-11 13:12 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
    * Suppressing 'deprecated' warnings in libharu code until it
      gets updated for libpng 1.4.
2010-02-11 12:12:51 +00:00
Viktor Szakats
cdf2d3ced6 2009-09-18 12:19 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* ChangeLog
    ! Typos.

  * source/rtl/hbsocket.c
    ! Applied patch for BEOS/HAIKU by Tamas Tevesz.

  * contrib/hbtip/sendmail.prg
    ! Fixed to append CRLF instead of hb_osNewLine() to e-mail body.
      Patch submitted by Lorenzo Fiorini.
      NOTE: This fix is surely valid, I'll apply further fixes as we
            manage to find out more on the bigger picture.

  * contrib/hbtip/mail.prg
    ! Applied a few patches from mail.prg sent by Gerald Drouillard:
      - Using :setBody() from :New() instead of replicating (little bit
        different) logic.
      - "Content-Length" deleted from generated e-mail text.
      - Added parameter list to METHOD declaration for :setHeader().
    * Minor formatting.

  * config/beos/libs.mk
    + Applied patch from Tamas Tevesz changing 'socket' lib to 'network' for BEOS/HAIKU.

  * utils/hbmk2/hbmk2.prg
    + Done the same for hbmk2 (changed 'socket' lib to 'network' for BEOS/HAIKU).

  * config/detfun.mk
    + Changed to avoid duplicate component detection lines in verbose output.
      (_DET_OPT_VERB=very|yes - not yet documented)
      (note this needs absolute paths to be used when referring to internal
      components in _DET_INC_DEFP/_DET_INC_LOCL)

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbhpdf/Makefile
    + Changed to use absolute paths when referring to locally hosted components
      in _DET_INC_LOCL variables.
2009-09-18 10:35:17 +00:00
Viktor Szakats
830dbfd69c 2009-09-12 11:00 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Minor tuning here and there.

  * external/libhpdf/Makefile
    + Enabled libpng detection on darwin.

  * config/linux/icc.mk
  * config/linux/sunpro.mk
    + Implemented PIC compilation phase.

  * config/linux/global.mk
    * Deleted hacks dealing with PIC. Notice that now
      we use -fpic on gcc/icc, while it was previously
      set to -fPIC. The old hacks enabled PIC only for
      Intel x86/x86_64 ABIs, which is now removed. Pls
      speak up if we need to readd them on compiler
      level. This way it'd be possible to optimize out second
      compilation pass for ABIs which don't need special
      PIC code generation. To make this useful in a generic
      way, IMO we should fix ABI (CPU) HB_HOST_CPU/HB_CPU
      detection in global.mk for *nix systems, and do
      compiler level decisions based on HB_CPU value.

  * config/linux/gcc.mk
    * Minor option reordering.
2009-09-12 09:01:27 +00:00
Viktor Szakats
5c4c1c89b4 2009-09-11 11:16 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to include system zlib/pcre libs in static mode if local built lib
      isn't found.

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * utils/hbmk2/hbmk2.prg
  * contrib/hbsqlit3/Makefile
  * contrib/hbhpdf/Makefile
  * config/detfun.mk
  * config/detect.mk
    - Deleted _DET_LOC_PLAT variable.

  * package/winuni/mpkg_win_uni_extra_copy.bat
    - Deleted some extra commented lines dealing with pcre/zlib headers.
2009-09-11 09:17:44 +00:00
Viktor Szakats
84b016778c 2009-09-11 03:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added Ubuntu pcre and zlib pkg information.
    + Documented HB_INC_ZLIB and HB_INC_PCRE settings.
    + Documented 'local' setting of HB_INC_* values.

  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * source/rtl/Makefile
  * contrib/xhb/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbhpdf/Makefile
  * config/detfun.mk
  * config/detect.mk
    % Avoid redetection for local packages.
    + Integrated logic to find out whether we're using the local
      copy of any given package. This is now returned in a
      variable called HB_HAS_*_LOCAL, if this value is non-empty
      we're using the local version.
    + Added HB_INC_* option 'local', which will force using the
      locally hosted version of given package.
    + HB_HAS_* variable will now contain only the first dir where
      header was detected.
    + Locally hosted headers will always be detected now, if they
      weren't found at any default system locations.
    + Added 'nolocal' HB_INC_* option which disables above behaviour.
    ; TODO: Delete _DET_LOC_PLAT variable if current system turns
            out to work well.
    ; NOTE: I've yet to test all this on *nix.

  * config/global.mk
    + Added HB_HOST_PLAT_UNIX variable.

  * contrib/hbhpdf/Makefile
    ! Fixed mistake in prev commit.

  * contrib/gtwvg/Makefile
  * source/rtl/gttrm/Makefile
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
    % Optimization in make logic in GTWVG Makefile.
    - HB_WITH_* vars changed to not aid user override.
    + Displaying more meaningful reason if skipped.
    + compiler/platform availability checks laxed to reflect real buildability
      (will most probably need refinements), so that it becomes possible to
      use these even on *nix platforms, in case the system hosted copy is not
      good for us or not available.
    + Now these will be built if autodetections reveals that local version
      is to be used.
    * Renamed HB_WITH_* vars to HB_SUPPORTED to not collide with HB_WITH_*
      concept which is due to replace HB_INC_*.
    ; IOW: Now it should be possible to enable these locally hosted components
           on any systems/scenarios where compilation of the given component
           is supported. This happens automatically according to HB_INC_*
           variables.
2009-09-11 01:37:44 +00:00
Viktor Szakats
ddb6b397d5 2009-09-10 17:12 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
  * external/libpng/Makefile
  * contrib/xhb/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/QApplication.cpp
  * contrib/hbhpdf/Makefile
  * source/rtl/Makefile
  * config/detfun.mk
  * config/detect.mk
    + Added separate variable to pass embedded locations to autodetection,
      so that these aren't suppressed by HB_XBUILD (now HB_BUILD_EXTDEF).
      I hope it will work, I still have to try it on Linux.
2009-09-10 15:14:46 +00:00
Viktor Szakats
8a6466e7fd 2009-09-10 15:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* Makefile
  - source/hbpcre
  - source/hbzlib
  * external/Makefile
  + external/pcre
  + external/zlib
  * external/pcre/Makefile
  * external/zlib/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * include/hbsetup.h
  * include/hbzlib.h
  * include/hbregex.h
  * source/rtl/hbzlibgz.c
  * source/rtl/Makefile
  * source/rtl/hbregexc.c
  * source/rtl/hbregex.c
  * source/rtl/hbzlib.c
  * source/Makefile
  * contrib/xhb/Makefile
  * contrib/hbmzip/Makefile
  * utils/hbmk2/hbmk2.prg
  * config/global.mk
  * config/lib.mk
  * config/bin.mk
  * config/detect.mk
  * config/darwin/libs.mk
  * config/linux/libs.mk
  * config/wce/mingwarm.mk
  * config/wce/poccarm.mk
  * config/wce/msvcarm.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/dyn.mk
  * config/os2/watcom.mk
  * config/os2/gcc.mk
  * config/bsd/libs.mk
  * config/hpux/libs.mk
  * config/sunos/libs.mk
    * Changed the way embedded zlib and pcre are handled:
      - They now reside in /external dir.
      - They are now excluded from Harbour dynlib. This means they
        will now be linked statically on non-*nix systems and
        dynamically on *nix systems. On *nix it's probably easy to
        switch to link statically. On non-*nix this is quite
        complicated to do.
      - If these libs are provided by the system, those will be used.
      - On non-*nix systems the locally hosted versions will be used,
        unless user overrides them using HB_INC_PCRE or HB_INC_ZLIB.
      - There is currently no officially supported way to force usage
        of locally hosted libs.
      - If PCRE lib is forcibly disabled or not found, build system
        will fall back to POSIX regex on *nix systems and Borland regex
        with bcc compiler. Otherwise it will stop the build with an error.
      - If zlib is forcibly disabled or not found, an error will be
        generated at build-time (in hbrtl). hbmzip is simply skipped
        in this case.
      - hbmk2 will use local builds of these libs if they are present
        in lib dir.
    ; TOFIX: hbmk script.
    ; TOFIX: dos builds. cmdline lenghts are most probably too big for them.
    ; NOTE: Bumps are expected.
    ; NOTE: I've yet to test/verify it.

  - external/libhpdf/ori_src
  - external/libhpdf/ori_dst
    - Deleted. (added in prev commit by oversight)
2009-09-10 14:08:51 +00:00
Viktor Szakats
2cc4903d82 2009-09-10 09:52 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
    + Enabled for all dos platforms (dos/watcom currently and
      probably all dos builds done on MS-DOS hosts).

  + external/libhpdf/ori_dst
  + external/libhpdf/ori_src
  + external/libhpdf/cnv_hb2o.bat
  + external/libhpdf/cnv_o2hb.bat
  - external/libhpdf/hpdf_annotation.c
  - external/libhpdf/hpdf_annotation.h
  - external/libhpdf/hpdf_array.c
  - external/libhpdf/hpdf_binary.c
  - external/libhpdf/hpdf_boolean.c
  - external/libhpdf/hpdf_catalog.c
  - external/libhpdf/hpdf_catalog.h
  - external/libhpdf/hpdf_conf.h
  - external/libhpdf/hpdf_config.h
  - external/libhpdf/hpdf_consts.h
  - external/libhpdf/hpdf_destination.c
  - external/libhpdf/hpdf_destination.h
  - external/libhpdf/hpdf_dict.c
  - external/libhpdf/hpdf_doc.c
  - external/libhpdf/hpdf_doc.h
  - external/libhpdf/hpdf_doc_png.c
  - external/libhpdf/hpdf_encoder.c
  - external/libhpdf/hpdf_encoder.h
  - external/libhpdf/hpdf_encoder_cns.c
  - external/libhpdf/hpdf_encoder_cnt.c
  - external/libhpdf/hpdf_encoder_jp.c
  - external/libhpdf/hpdf_encoder_kr.c
  - external/libhpdf/hpdf_encrypt.c
  - external/libhpdf/hpdf_encrypt.h
  - external/libhpdf/hpdf_encryptdict.c
  - external/libhpdf/hpdf_encryptdict.h
  - external/libhpdf/hpdf_error.c
  - external/libhpdf/hpdf_error.h
  - external/libhpdf/hpdf_ext_gstate.c
  - external/libhpdf/hpdf_ext_gstate.h
  - external/libhpdf/hpdf_font.c
  - external/libhpdf/hpdf_font.h
  - external/libhpdf/hpdf_font_cid.c
  - external/libhpdf/hpdf_font_tt.c
  - external/libhpdf/hpdf_font_type1.c
  - external/libhpdf/hpdf_fontdef.c
  - external/libhpdf/hpdf_fontdef.h
  - external/libhpdf/hpdf_fontdef_base14.c
  - external/libhpdf/hpdf_fontdef_cid.c
  - external/libhpdf/hpdf_fontdef_cns.c
  - external/libhpdf/hpdf_fontdef_cnt.c
  - external/libhpdf/hpdf_fontdef_jp.c
  - external/libhpdf/hpdf_fontdef_kr.c
  - external/libhpdf/hpdf_fontdef_tt.c
  - external/libhpdf/hpdf_fontdef_type1.c
  - external/libhpdf/hpdf_gstate.c
  - external/libhpdf/hpdf_gstate.h
  - external/libhpdf/hpdf_image.c
  - external/libhpdf/hpdf_image.h
  - external/libhpdf/hpdf_image_png.c
  - external/libhpdf/hpdf_info.c
  - external/libhpdf/hpdf_info.h
  - external/libhpdf/hpdf_list.c
  - external/libhpdf/hpdf_list.h
  - external/libhpdf/hpdf_mmgr.c
  - external/libhpdf/hpdf_mmgr.h
  - external/libhpdf/hpdf_name.c
  - external/libhpdf/hpdf_null.c
  - external/libhpdf/hpdf_number.c
  - external/libhpdf/hpdf_objects.c
  - external/libhpdf/hpdf_objects.h
  - external/libhpdf/hpdf_outline.c
  - external/libhpdf/hpdf_outline.h
  - external/libhpdf/hpdf_page_label.c
  - external/libhpdf/hpdf_page_label.h
  - external/libhpdf/hpdf_page_operator.c
  - external/libhpdf/hpdf_pages.c
  - external/libhpdf/hpdf_pages.h
  - external/libhpdf/hpdf_real.c
  - external/libhpdf/hpdf_streams.c
  - external/libhpdf/hpdf_streams.h
  - external/libhpdf/hpdf_string.c
  - external/libhpdf/hpdf_types.h
  - external/libhpdf/hpdf_u3d.c
  - external/libhpdf/hpdf_u3d.h
  - external/libhpdf/hpdf_utils.c
  - external/libhpdf/hpdf_utils.h
  - external/libhpdf/hpdf_version.h
  - external/libhpdf/hpdf_xref.c
  + external/libhpdf/hpdfanno.c
  + external/libhpdf/hpdfanno.h
  + external/libhpdf/hpdfarra.c
  + external/libhpdf/hpdfbina.c
  + external/libhpdf/hpdfbool.c
  + external/libhpdf/hpdfcata.c
  + external/libhpdf/hpdfcata.h
  + external/libhpdf/hpdfcfg.h
  + external/libhpdf/hpdfconf.h
  + external/libhpdf/hpdfcons.h
  + external/libhpdf/hpdfdest.c
  + external/libhpdf/hpdfdest.h
  + external/libhpdf/hpdfdict.c
  + external/libhpdf/hpdfdoc.c
  + external/libhpdf/hpdfdoc.h
  + external/libhpdf/hpdfdocp.c
  + external/libhpdf/hpdfecy.c
  + external/libhpdf/hpdfecyd.c
  + external/libhpdf/hpdfencc.c
  + external/libhpdf/hpdfencj.c
  + external/libhpdf/hpdfenck.c
  + external/libhpdf/hpdfencn.c
  + external/libhpdf/hpdfenco.c
  + external/libhpdf/hpdfenco.h
  + external/libhpdf/hpdfencr.h
  + external/libhpdf/hpdfency.h
  + external/libhpdf/hpdferro.c
  + external/libhpdf/hpdferro.h
  + external/libhpdf/hpdfextg.c
  + external/libhpdf/hpdfextg.h
  + external/libhpdf/hpdffdf.c
  + external/libhpdf/hpdffdf1.c
  + external/libhpdf/hpdffdfb.c
  + external/libhpdf/hpdffdfc.c
  + external/libhpdf/hpdffdfi.c
  + external/libhpdf/hpdffdfj.c
  + external/libhpdf/hpdffdfk.c
  + external/libhpdf/hpdffdfn.c
  + external/libhpdf/hpdffdft.c
  + external/libhpdf/hpdffon1.c
  + external/libhpdf/hpdffonc.c
  + external/libhpdf/hpdffond.h
  + external/libhpdf/hpdffont.c
  + external/libhpdf/hpdffont.h
  + external/libhpdf/hpdffott.c
  + external/libhpdf/hpdfgsta.c
  + external/libhpdf/hpdfgsta.h
  + external/libhpdf/hpdfimag.c
  + external/libhpdf/hpdfimag.h
  + external/libhpdf/hpdfimap.c
  + external/libhpdf/hpdfinfo.c
  + external/libhpdf/hpdfinfo.h
  + external/libhpdf/hpdflist.c
  + external/libhpdf/hpdflist.h
  + external/libhpdf/hpdfmmgr.c
  + external/libhpdf/hpdfmmgr.h
  + external/libhpdf/hpdfname.c
  + external/libhpdf/hpdfnull.c
  + external/libhpdf/hpdfnumb.c
  + external/libhpdf/hpdfobje.c
  + external/libhpdf/hpdfobje.h
  + external/libhpdf/hpdfoutl.c
  + external/libhpdf/hpdfoutl.h
  + external/libhpdf/hpdfpage.c
  + external/libhpdf/hpdfpage.h
  + external/libhpdf/hpdfpago.c
  + external/libhpdf/hpdfpags.c
  + external/libhpdf/hpdfpags.h
  + external/libhpdf/hpdfreal.c
  + external/libhpdf/hpdfstre.c
  + external/libhpdf/hpdfstre.h
  + external/libhpdf/hpdfstri.c
  + external/libhpdf/hpdftype.h
  + external/libhpdf/hpdfu3d.c
  + external/libhpdf/hpdfu3d.h
  + external/libhpdf/hpdfutil.c
  + external/libhpdf/hpdfutil.h
  + external/libhpdf/hpdfvers.h
  + external/libhpdf/hpdfxref.c
  * external/libhpdf/hpdf.h
  * external/libhpdf/Makefile
    * Converted to short filenames. Added converted scripts.

  * source/hbpcre/cnv_hb2o.bat
  * source/hbpcre/cnv_o2hb.bat
    ! Fixed typo in prev.
    * Removed PCRE references from comment texts.
2009-09-10 08:02:45 +00:00
Przemyslaw Czerpak
dd756dc5cf 2009-09-01 21:00 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/config/lib.mk
  * harbour/config/bin.mk
  * harbour/config/header.mk
  * harbour/config/dyn.mk
  * harbour/config/doc.mk
  * harbour/config/instsh.mk
    ! rewritten install rules so now they work without any problem when
      more then one target .mk file is included, i.e. lib.mk and header.mk

  * harbour/source/pp/Makefile
  * harbour/source/dynlib/mt/Makefile
  * harbour/source/dynlib/Makefile
  * harbour/contrib/hbmysql/Makefile
  * harbour/contrib/hbct/Makefile
  * harbour/contrib/xhb/Makefile
  * harbour/contrib/hbodbc/Makefile
  * harbour/contrib/hbtpathy/Makefile
  * harbour/contrib/hbsqlit3/Makefile
  * harbour/contrib/hbmzip/Makefile
  * harbour/contrib/hbblat/Makefile
  * harbour/contrib/hbqt/Makefile
  * harbour/contrib/hbxbp/Makefile
  * harbour/contrib/xpp/Makefile
  * harbour/contrib/hbnf/Makefile
  * harbour/contrib/hbcurl/Makefile
  * harbour/contrib/gtqtc/Makefile
  * harbour/contrib/rddsql/sddmy/Makefile
  * harbour/contrib/rddsql/sddpg/Makefile
  * harbour/contrib/rddsql/sddfb/Makefile
  * harbour/contrib/rddsql/sddodbc/Makefile
  * harbour/contrib/hbhpdf/Makefile
  * harbour/contrib/rddado/Makefile
  * harbour/contrib/gtwvg/Makefile
  * harbour/contrib/hbpgsql/Makefile
  * harbour/contrib/hbclipsm/Makefile
  * harbour/contrib/rddads/Makefile
  * harbour/contrib/hbfimage/Makefile
  * harbour/contrib/hbgd/Makefile
  * harbour/contrib/hbtip/Makefile
  * harbour/contrib/hbwin/Makefile
  * harbour/contrib/hbvpdf/Makefile
  * harbour/contrib/hbbtree/Makefile
  * harbour/contrib/hbssl/Makefile
  * harbour/external/libhpdf/Makefile
    * removed not longer necessary workaround for overwritten by different
      targets INSTALL_RULE
      Possible TODO: clean up some other rules in config .mk files to remove
      hacks from pp and dynlib Makefile(s).

   Above modifications should fully resolve the problems with repeated
   install actions and also build problems with some more restrictive
   POSIX SHELLs.
2009-09-01 19:05:19 +00:00
Viktor Szakats
3505bc2e51 2009-08-27 21:20 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
    ! Fixed typo in recent rework, causing embedded libpng
      component not being detected.

  * config/global.mk
    ! Reverted override support. This will need 3.81.90,
      in 3.81 override and export keywords don't mix tool
      well together, or I'm missing something, it could be.
2009-08-27 19:20:32 +00:00
Viktor Szakats
847324892a 2009-08-27 14:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
    + Using new central detection function.
      HB_WITH_LIBHPDF -> HB_INC_LIBHARU.

  * contrib/hbhpdf/Makefile
    * Minor formatting.
2009-08-27 12:18:29 +00:00
Viktor Szakats
92c93fdc95 2009-08-23 17:55 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/linux1st.txt
    - Deleted Linux build instructions no more relevant.
    * Formatting. Probably this file should be moved into INSTALL.

  * doc/gmake.txt
    * Little updates.

  * harbour-win-spec
  * doc/gmake.txt
  * doc/linux1st.txt
  * doc/whatsnew.txt
  * harbour-wce-spec
  * INSTALL
  * bin/hb-mkdyn.sh
  * bin/postinst.cmd
  * bin/postinst.bat
  * bin/hb-func.sh
  * bin/postinst.sh
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * mpkg_tgz.sh
  * harbour.spec
  * source/pp/hbpp.c
  * source/pp/Makefile
  * source/vm/Makefile
  * source/vm/cmdarg.c
  * source/vm/vmmt/Makefile
  * source/main/harbour.c
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gtwvt/Makefile
  * source/rdd/Makefile
  * source/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbxbp/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbwin/Makefile
  * contrib/hbssl/Makefile
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * config/none.mk
  * config/global.mk
  * config/lib.mk
  * config/wce/mingw.mk
  * config/bin.mk
  * config/dir.mk
  * config/common/watcom.mk
  * config/win/msvc64.mk
  * config/win/iccia64.mk
  * config/win/mingw64.mk
  * config/win/gcc.mk
  * config/win/msvcia64.mk
  * config/win/pocc64.mk
  * config/header.mk
  * config/dyn.mk
  * config/doc.mk
    * HB_ARCHITECTURE -> HB_PLATFORM
    * hb_arch -> hb_plat (internal script variable)
    * ARCH_COMP -> PLAT_COMP (internal make variable)
    ; INCOMPATIBLE: Please update your environment, if you used this setting.
    ; NOTE: So now Harbour uses only two names for platforms: 'OS' and 'platform'.
            'Architecture' is nowhere used to refer to as an operating system
            anymore. 'Architecture' is only used to refer to CPU/hardware
            architecture.
2009-08-23 15:58:51 +00:00
Viktor Szakats
b14c719757 2009-08-23 17:02 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/gmake.txt
  * doc/man/hbmk.1
  * doc/whatsnew.txt
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * include/hbapi.h
  * include/hbver.ch
  * utils/hbmk2/hbmk2.prg
  * contrib/hbhpdf/Makefile
  * source/vm/cmdarg.c
  * source/main/harbour.c
  * source/rtl/version.c
  * config/global.mk
  * config/dir.mk
  * config/common/watcom.mk
  * config/rules.mk
  * examples/superlib/superlib.hbc
  * examples/superlib/superlib.hbp
  * examples/hbmsql/hbmsql.hbc
  * examples/hbmsql/hbmsql.hbp
  * examples/hbsqlit2/hbsqlit2.hbp
  * examples/hbsqlit2/hbsqlit2.hbc
  * examples/gfspell/gfspell.hbp
  * examples/gfspell/gfspell.hbc
  * examples/hbapollo/hbapollo.hbp
  * examples/hbapollo/hbapollo.hbc
    * HB_ARCH_AUTO -> HB_PLAT_AUTO
    * HB_HOST_ARCH -> HB_HOST_PLAT
    * 'architecture' -> 'platform' in text.
    * HB_VERSION_BUILD_ARCH -> HB_VERSION_BUILD_PLAT
      (INCOMPATIBLE, if you happen to use this from previous dev/beta version)
    * hb_verHB_ARCH() -> hb_verHB_PLAT()
    * ${hb_arch} -> ${hb_plat}

  * INSTALL
    * Minor update.
2009-08-23 15:06:11 +00:00
Viktor Szakats
e260a1aea7 2009-08-21 00:01 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
  * contrib/hbhpdf/Makefile
    ! Fixed to skip them when using dos hosts (due to long filenames
      in libhpdf lib sources/headers)

  * external/libhpdf/Makefile
    + Enabled for watcom/dos and watcom/linux targets.

  * config/common/watcom.mk
  * config/rules.mk
    + Added CC_FLAGS variable similar to HB_FLAGS to aid
      moving flags to envvars and to reduce redundancy in rules.
    * The CC_RULE hack was a little bit modified accordingly
      for c-mode non-linux watcom. We're now a bit closer to
      be able to drop CC_RULE override.
    ! Adapted above change for watcom where now all (non-user)
      flags are moved to envvar when using dos shells.
2009-08-20 22:04:49 +00:00
Viktor Szakats
868a22ea84 2009-08-17 19:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * external/Makefile
  * include/Makefile
  * source/pp/Makefile
  * source/hbextern/Makefile
  * source/lang/Makefile
  * source/vm/maindllh/Makefile
  * source/vm/mainstd/Makefile
  * source/vm/maindllp/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * source/vm/mainwin/Makefile
  * source/main/Makefile
  * source/debug/Makefile
  * source/common/Makefile
  * source/nortl/Makefile
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtstd/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtcgi/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtpca/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gt_tpl/Makefile
  * source/rtl/gtwvt/Makefile
  * source/macro/Makefile
  * source/hbpcre/Makefile
  * source/codepage/Makefile
  * source/rdd/dbfntx/Makefile
  * source/rdd/nulsys/Makefile
  * source/rdd/Makefile
  * source/rdd/dbfnsx/Makefile
  * source/rdd/dbfcdx/Makefile
  * source/rdd/hsx/Makefile
  * source/rdd/usrrdd/rdds/Makefile
  * source/rdd/usrrdd/Makefile
  * source/rdd/dbffpt/Makefile
  * source/rdd/hbsix/Makefile
  * source/hbzlib/Makefile
  * source/compiler/Makefile
  * source/Makefile
  * utils/hbformat/Makefile
  * utils/hbmk2/Makefile
  * utils/hbtest/Makefile
  * utils/hbi18n/Makefile
  * utils/Makefile
  * utils/hbrun/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbct/Makefile
  * contrib/xhb/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbgt/Makefile
  * contrib/hbmzip/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbziparc/Makefile
  * contrib/hbxbp/Makefile
  * contrib/xpp/Makefile
  * contrib/Makefile
  * contrib/hbnf/Makefile
  * contrib/hbcurl/hbcurls/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddmy/Makefile
  * contrib/rddsql/sddpg/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddsql/Makefile
  * contrib/hbhpdf/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbpgsql/Makefile
  * contrib/rddads/Makefile
  * contrib/hbclipsm/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbgd/Makefile
  * contrib/hbmisc/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbwin/Makefile
  * contrib/hbbmcdx/Makefile
  * contrib/hbvpdf/Makefile
  * contrib/hbssl/Makefile
  * contrib/hbbtree/Makefile
  * tests/bldtest/Makefile
  * doc/en-EN/Makefile
  * doc/Makefile
  * Makefile
    * Renaming .cf files to .mk.
      Pass 3. Changing .cf references to .mk ones outside config.
      SVN is in working state again. I'll do a final check after 
      this commit.
2009-08-17 17:32:21 +00:00
Viktor Szakats
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
3bd5b77f25 2009-08-13 12:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * OS/2 prerequisites added. (currently not relevant, but anyway)

  * bin/postinst.bat
  * bin/hb-mkdyn.bat
  * make_gnu.bat
    + Reworked the way .dll generation is done in Harbour build process.
      New method solves the problem in one pass, instead of invoking
      make twice and requiring starter script to control this.
      The new trick is that CC_RULE will generate both dynamic and static
      objects for libs included in the .dll for compilers where such trick
      is necessary (currently all win/wce compilers except gcc based ones).
    * Changed HB_BUILD_LOG forming. Since at this point ARCH/COMP values
      aren't known (and just for this purpose it's not worth to maintain
      parallel detection logic in start script), the automatically
      generated log file will contain the date/time. Maybe even this will
      be dropped in the future. Since this is the only remaining logic
      in starter script (plus finding correct GNU Make, but that's even
      smaller role)
    ; I didn't test watcom yet, plus mpkg_gnu.bat isn't working yet,
      it needs to be moved to postinst phase.
    ; After these changes, there is basically no need for make starter
      scripts. Maybe I'll even remove included make tools to make things
      cleaner/leaner.
    ; TODO: Revise starter .sh scripts.
    ; TODO: mpkg_gnu.bat rework to run from postinst.
    ; TODO: Do some cleanup, remove redundancy in settings, etcetc.
    ; TOFIX: Fix watcom .dll generation.

  * config/global.cf
    ! Deleted double MAKE info line.
    + Showing detected shell in verbose mode.
    + Added mkdir/rm detection for OS/2 shells. (commented)
    % Optimized HB_BIN_COMPILE detection by using $(realpath) function.
      Now it's only detected once per make run.
    + Added HB_*_INSTALL value defaulting similar to make_gnu.sh
      for *nix platforms. (adding /harbour postfix to lib/inc dirs when
      HB_INSTALL_PREFIX is system location (/usr or /opt). Please review.

  * config/lib.cf
    + Added HB_DYN_COMPILE to control compiling for dynamic libs in
      a sperate command.
    + Added HB_DYN_LIBS to hold list of libs which should be built
      with separate command for dynamic libs.

  * config/rules.cf
    + Added logic for duplicate CC_RULE.
      TODO: Notice that it's not yet working when CC_RULE is overridden
            on compiler level. Help would be appreciate here.

  * config/wce/msvcarm.cf
  * config/wce/poccarm.cf
  * config/win/watcom.cf
  * config/win/icc.cf
  * config/win/msvc.cf
  * config/win/xcc.cf
  * config/win/pocc.cf
  * config/win/bcc.cf
    + Enabled HB_DYN_COMPILE for these compilers.

  * contrib/gtqtc/gtqtc.hbc
    ! Fixed lib order for mingw, supc++ moved to the end of list.

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * external/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gtsln/Makefile
  * contrib/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbmysql/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/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/hbssl/Makefile
    + Indentation.
    % Using ':=' in '*_OK := $(foreach...' expressions, instead of
      former unsafe '+='.

  * config/win/mingw.cf
  * config/wce/mingwarm.cf
  * config/win/cygwin.cf
    + Using 'crs' instead of 'r' as AR command.

  * config/install.cf
    + Don't define rule if INSTALL_RULE is empty.
      Cannot currently happen.

  * config/header.cf
    % Minor optimization.
2009-08-13 10:31:58 +00:00
Viktor Szakats
2384331079 2009-08-10 15:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * config/global.cf
    * Remaining TABs deleted.
2009-08-10 13:11:31 +00:00
Viktor Szakats
8106523a59 2009-08-09 21:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    ! Fixed 'sh' HB_SHELL detection. Problem experienced with
       Cygwin GNU Make, where SHLVL isn't defined on the first
       level. Now also checking for SHELL=/bin/sh to detect sh
       shell.

  * tests/multifnc/Makefile
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbblat/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbxbp/Makefile
  * contrib/hbcurl/Makefile
  * contrib/gtqtc/Makefile
  * contrib/rddsql/sddfb/Makefile
  * contrib/rddsql/sddodbc/Makefile
  * contrib/rddado/Makefile
  * contrib/gtwvg/Makefile
  * contrib/rddads/Makefile
  * contrib/hbfimage/Makefile
  * contrib/hbtip/Makefile
  * contrib/hbwin/Makefile
  * contrib/hbssl/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * source/rtl/gtdos/Makefile
  * source/rtl/gtwin/Makefile
  * source/rtl/gtxwc/Makefile
  * source/rtl/gtcrs/Makefile
  * source/rtl/gttrm/Makefile
  * source/rtl/Makefile
  * source/rtl/gtos2/Makefile
  * source/rtl/gtsln/Makefile
  * source/rtl/gtgui/Makefile
  * source/rtl/gtwvt/Makefile
  * source/rdd/Makefile
  * source/rdd/dbffpt/Makefile
    ! Including 'global.cf' directly to make HB_ARCHITECTURE/HB_COMPILER/HB_COMMERCE
      variables work in case we're relying on autodetection.
    ; TODO: May need to do this for a few other cases where detection is relying
            on some additional variables. Like HB_XBUILD, which needs to be
            cleaned further, maybe autodetection added.
    ; NOTE: Above changes mean that from now on for basic build usage it's
            enough to have the compiler in PATH and to issue a simple 'make'
            or 'mingw32-make' (or whatever GNU Make is called in that environment),
            and make process should just work. IOW, no need to go through 
            "starter" scripts in root (make_gnu.*).
2009-08-09 19:52:17 +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
0cd1b77b32 2009-08-09 01:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
    + Added build presets based on some predefined HB_BUILD_NAME values:
      HB_BUILD_NAME=.r     RELEASE
      HB_BUILD_NAME=.rx    RELEASE C++
      HB_BUILD_NAME=.ru    RELEASE UNICODE
      HB_BUILD_NAME=.rux   RELEASE UNICODE C++
      HB_BUILD_NAME=.d     DEBUG
      HB_BUILD_NAME=.dx    DEBUG C++
      HB_BUILD_NAME=.du    DEBUG UNICODE
      HB_BUILD_NAME=.dux   DEBUG UNICODE C++
    ; Initial/experimental commit, names may change yet.

  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
    % Minor opt.
2009-08-08 23:36:24 +00:00
Viktor Szakats
4b7833ba16 2009-07-28 01:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* external/libhpdf/Makefile
    + Enabled for os2/watcom.

  * include/hbdefs.h
    * Minor addition to new type section.
      'bool' is the new type for boolean, so maybe we should
      use them instead of hbBool/TRUE/FALSE.

  * source/rtl/hbsocket.c
    ! Added one 'static'.
    * Added one pair of paranthesis (formatting).

  * source/rtl/hbgtcore.c
  * source/rtl/hbsha1.c
  * contrib/hbwin/win_prt.c
    * Minor formatting.

  * contrib/xhb/xhbfunc.c
    + Added copyright holder for HB_F_EOF().

  * contrib/hbssl/ssl.c
    ! Minor typo in comment.

  * contrib/hbssl/hbssl.h
    ! Added HB_EXTERN_BEGIN/HB_EXTERN_END.

  * config/global.cf
    + Added HB_UNIX_COMPATIBLE variable.
    + Setting default lib install dir to lib/<arch>/<comp>
      on non-*nix systems.

  * examples/httpsrv/socket.c
    + Copied from uhttpd2. Please verify.
2009-07-27 23:54:06 +00:00
Viktor Szakats
e8ce337069 2009-07-22 19:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
  * make_gnu.bat
    * Tweak to previous fix, it didn't work. Falling back to
      less elegant solution.

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

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

  * utils/hbmk2/hbmk2.prg
    ! Temp fix to not pass runflags to darwin GUI programs
      (started via 'open'), until we find out how to make it.
      Prevsiously 'open' considered extra options as its own,
      and failed.
2009-07-22 17:33:12 +00:00
Viktor Szakats
bbc434f9a2 2009-07-22 17:51 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* make_gnu.bat
    ! Added SHLVL=0 to make commands to force native shell
      even if sh shell is found in the PATH (f.e. when msys or
      cygwin is present there, for mingwarm targets, cygwin is
      even required.)

  * external/libhpdf/Makefile
    + Made it compile with mingwarm.

  * include/hbextern.ch
    ! Fixed typo in prev.

  * contrib/hbssl/pem.c
    + Added two new functions. Under testing.
      PEM_READ_BIO_RSAPRIVATEKEY()
      PEM_READ_BIO_RSAPUBLICKEY()
2009-07-22 15:52:10 +00:00
Viktor Szakats
a12807edfe 2009-06-12 09:26 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* doc/man/hbmk.1
  * doc/whatsnew.txt
  * INSTALL
  * bin/hb-mkdyn.bat
  * external/libhpdf/Makefile
  * make_gnu.bat
  * utils/hbmk2/hbmk2.pt_BR.po
  * utils/hbmk2/hbmk2.hu_HU.po
  * utils/hbmk2/hbmk2.prg
  * utils/hbmk2/examples/contribf.hbc
  * source/vm/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbxbp/Makefile
  * contrib/gtqtc/Makefile
  * contrib/gtwvg/Makefile
  * contrib/hbssl/Makefile
  * config/dos/global.cf
  - config/dos/owatcom.cf
  + config/dos/watcom.cf
  - config/win/owatcom.cf
  + config/win/watcom.cf
  - config/linux/owatcom.cf
  + config/linux/watcom.cf
  - config/os2/owatcom.cf
  + config/os2/watcom.cf
    * Renamed 'owatcom' to 'watcom'.
      Please adjust your make files, or just let them autodetect.

  * utils/hbmk2/examples/contribf.hbc
    ! Adjusted hbsqlit3 filter after enabling for dos.

  * external/sqlite3/Makefile
    + Added comment for DJGPP hack.
2009-06-12 07:28:53 +00:00
Viktor Szakats
ace39f0fc1 2009-04-20 21:15 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* utils/hbmk2/hbmk2.prg
    ! Fixed to find headers in originating file directory.
      This may need further tweaking. This works a little
      differently in Harbour and C compilers and hbmk2 tries
      to mimic both. Possible that it's still not fully
      compatible, if you know something pls speak up.
    + Added -incpath= option and incpaths= .hbp option. This
      is now the preferred method to add headers paths. All
      path will be added to both Harbour and C compiler.
      Important: a synonym for this switch is simply -i, just
      like before, but now the path will be also added to
      C compiler command line.
    * From now on Harbour include dir will always be the first
      one on the include path list passed to compilers. Before
      in Harbour it was always first, in C compilers it was
      always last. (disregarding include dirs passed directly
      to compiler, which will always come first, but isn't
      recommended). The ordering is thus this:
      compiler ... flags harbourincludedir incpaths ...
    - Deleted include path option detection, from now on
      only those paths will be scanned wich were passed to
      hbmk2 via -incpath/-i options.
    % Added -kmo optimization for hbmk2 source.
    + -info and -quiet will now work in .hbm files.
      (they will not control some close-to-startup messages
      if specified this way though)

  * external/libhpdf/Makefile
  * external/libpng/Makefile
    + Enabled for darwin.

  * contrib/hbqt/generator/hbqtgen.prg
    ! Recent fix to hbqt.h applied to generator.

  * utils/hbmk2/hbmk2.hbm
    - Removed no longer needed -km switch.

  * utils/hbmk2/examples/hmg.hbp
  * utils/hbmk2/examples/hwgui.hbp
  * utils/hbmk2/examples/fwh.hbp
    % Updated to use -incpaths=

  * utils/hbmk2/examples/fwh.hbp
    * Updated to work like similar hwgui and hmg files.
    ; QUESTION: Is hbwin lib required for FWH?
2009-04-20 19:18:39 +00:00
Viktor Szakats
8d7a4d4b6f 2009-04-07 17:37 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* make_gnu_xmingwce.sh
  * doc/man/hbmk.1
  * bin/hb-mkdyn.sh
  * bin/postinst.bat
  * bin/hb-func.sh
  * bin/postinst.sh
  * bin/hb-mkdyn.bat
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * make_gnu.bat
  * contrib/gtalleg/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
  * utils/hbmk2/hbmk2.prg
  - config/win/mingwce.cf
  - config/win/poccce.cf
  - config/win/msvcce.cf
    - Deleted targets: win/msvcce, win/mingwce, win/poccce.
      Use these instead: wce/msvcarm, wce/mingwarm, wce/poccarm
2009-04-07 15:41:53 +00:00
Viktor Szakats
c15eabbd45 2009-04-07 12:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* external/libhpdf/Makefile
    ! Disabled for wce arch and mingwce comp.
2009-04-07 10:59:19 +00:00
Viktor Szakats
d72a0554f8 2009-04-03 15:33 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* harbour-wce-spec
  * INSTALL
  * bin/postinst.bat
  * Makefile
  * make_gnu.bat
  * external/sqlite3/Makefile
  * external/libhpdf/Makefile
  * external/libpng/Makefile
  * contrib/gtalleg/Makefile
  * contrib/hbodbc/Makefile
  * contrib/hbtpathy/Makefile
  * contrib/hbole/Makefile
  * contrib/hbsqlit3/Makefile
  * contrib/hbqt/generator/hbqtgen.prg
  * contrib/hbqt/Makefile
  * contrib/hbfbird/Makefile
  * contrib/hbwin/Makefile
  * source/vm/Makefile
  * source/vm/vmmt/Makefile
    + Added wce arch and mingwarm/msvcarm/poccarm support.
      In parallel with old win/mingwce|msvcce|poccce support.
      As soons as this new one work, the old one will be deleted.

  * make_gnu.bat
    ! Fixed to work like rest of targets for GCC family.
      It will now only initiate a 'clean install' if HB_BUILD_DLL=yes.

  * utils/hbmk2/hbmk2.prg
    + Added Przemek's code for rtlink/blinker script parsing.
      Not yet activated.
2009-04-03 13:47:54 +00:00
Viktor Szakats
27f7edb625 2009-03-31 11:46 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
    * Moved Windows CE compilers into a separate section.

  * bin/hb-mkdyn.bat
    * Changes made to allow wce arch. (provision for wce arch)

  * mpkg_win.bat
    * Allows to override HB_ARCHITECTURE. (provision for wce arch)
    + Include arch in target directory. (provision for wce arch)

  * include/hbatomic.h
    - Turned off inline asm for _MSC_VER compilers in 64-bit mode. (pocc64, msvc64)
      These target don't support inline asm.
      This fixes previously reported regressions with these targets.

  * utils/hbmk2/hbmk2.prg
    % win/owatcom: Pentium Pro scheduling.
    * win/owatcom: Temply set back stack calling convention.

  * external/libhpdf/Makefile
    - Disabled for pocc64 due to errors, even internal compiler error:
      ---
      can't spill register variable: rcx (3) image
      ../../hpdf_image.c(480): fatal error: Internal error: best_spillee.
      ---

  * config/win/bcc.cf
    + Added comment about -4, -5, -6.

  * ChangeLog
    ! Minor fix to prev entry.
2009-03-31 09:58:43 +00:00
Viktor Szakats
e354182fda 2009-03-31 01:28 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* external/libhpdf/Makefile
  * external/libpng/Makefile
  * contrib/hbqt/Makefile
    - Disabled for poccce due to errors.
2009-03-30 23:29:16 +00:00
Viktor Szakats
d8f9fbdece 2009-03-30 11:12 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* external/libhpdf/Makefile
    - Disabled for owatcom due to compilation error.
      If someone is interested in patching it for this compiler,
      please do.
2009-03-30 09:12:57 +00:00
Viktor Szakats
c356496480 2009-03-29 11:02 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* INSTALL
  * external/Makefile
  + external/libhpdf/*
  + external/libpng/*
    + Added libharu and libpng to Harbour repository.
      Now it's possible to use libhpdf as static lib on all
      platforms. This is useful because this lib isn't yet part
      of Linux distros.
      libpng is only built for win/dos/os2 platforms.
      It's possible to override libpng location by using
      HB_INC_LIBPNG envvar.

  * contrib/hbhpdf/Makefile
    + Look for libharu headers in /external dir.

  * external/sqlite3/Makefile
    - Disabled for bcc. Latest sqlite3 version breaks with this compiler:
      ---
      Error E2293 ../../sqlite3.c 29156: ) expected in function winCurrentTime
      Warning W8013 ../../sqlite3.c 29157: Possible use of 'timeW' before definition in function winCurrentTime
      Error E2379 ../../sqlite3.c 29157: Statement missing ; in function winCurrentTime
      Error E2379 ../../sqlite3.c 29158: Statement missing ; in function winCurrentTime
      Error E2379 ../../sqlite3.c 29160: Statement missing ; in function winCurrentTime
      Error E2293 ../../sqlite3.c 29161: ) expected in function winCurrentTime
      Error E2379 ../../sqlite3.c 29162: Statement missing ; in function winCurrentTime
      Error E2293 ../../sqlite3.c 29163: ) expected in function winCurrentTime
      Warning W8057 ../../sqlite3.c 29171: Parameter 'prNow' is never used in function winCurrentTime
      *** 7 errors in Compile ***
      ---
      bcc users can report this problem here:
      http://www.sqlite.org/cvstrac/tktnew

  + tests/bnch_win.bat
  - tests/bnchmark
    * Moved bnch_win.bat to tests.
2009-03-29 09:09:24 +00:00