Commit Graph

6 Commits

Author SHA1 Message Date
Viktor Szakats
ae0cc750c5 2011-02-20 13:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/hbnetio/hbnetio.hbp
  * contrib/hbformat/utils/hbformat.hbp
  * contrib/hbrun/hbrun.hbp
    - Deleted nxcompat (and friends) flags from local .hbp files.
      They are enabled by config/hbpost.hbm, in more precise manner.

  * utils/hbmk2/hbmk2.hbp
  * utils/hbi18n/hbi18n.hbp
  * utils/hbtest/hbtest.hbp
    - Deleted also from here. (These .hbp files are not used
      by core make.)
2011-02-20 12:50:36 +00:00
Viktor Szakats
d89181934b 2010-01-07 16:10 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbnetio/utils/netiosrv.hbp
  * utils/hbformat/hbformat.hbp
  * utils/hbmk2/hbmk2.hbp
  * utils/hbi18n/hbi18n.hbp
  * utils/hbtest/hbtest.hbp
  * utils/hbrun/hbrun.hbp
  * config/wce/msvcarm.mk
  * config/win/msvc.mk
    + Added -fixed:no to msvc command line. It seems to be needed
      for ASLR compatibility.
2010-01-07 15:12:28 +00:00
Viktor Szakats
cee6162783 2010-01-07 16:02 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    * Updated valgrind example.

  * contrib/hbnetio/utils/netiosrv.hbp
  * utils/hbformat/hbformat.hbp
  * utils/hbmk2/hbmk2.hbp
  * utils/hbi18n/hbi18n.hbp
  * utils/hbtest/hbtest.hbp
  * utils/hbrun/hbrun.hbp
  * config/wce/msvcarm.mk
  * config/win/msvc.mk
    + Added MSVC linker switches to enhance security by 
      enabling NX compatibility and ASLR.
      Especially important for server apps like netiosrv and hbrun.
    ; TODO: Enable the same for MinGW.
    ; TOCHECK: Please test this with old MSVC versions and MSVCARM, 
               maybe we will need to disable them in some cases.
    ; QUESTION: I'm unsure of -fixed:no MSVC option. Do we need it 
                to increase security?

  * config/wce/msvcarm.mk
    + Changed to use link.exe for linking instead of cl[arm].exe.
      This now syncs it with rest of Harbour.
2010-01-07 15:03:47 +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
fa31d81896 2009-07-10 16:18 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
- examples/terminal/terminal.ch
  * examples/terminal/trm_cli.hbp
  * examples/terminal/trm_srv.hbp
  * examples/terminal/trm_app.hbp
  * examples/terminal/trm_cli.prg
  * examples/terminal/terminal.prg
  * examples/terminal/trm_srv.prg
    * Cleanup.
    + Raised warning level to -w3, fixed all warnings.

  * utils/hbformat/hbformat.hbp
  * utils/hbmk2/hbmk2.hbp
  * utils/hbtest/hbtest.hbp
  * utils/hbi18n/hbi18n.hbp
  * utils/hbrun/hbrun.hbp
  * examples/terminal/trm_cli.hbp
  * examples/terminal/trm_srv.hbp
  * examples/terminal/trm_app.hbp
    + Added standard set of Harbour switches.
2009-07-10 14:19:15 +00:00
Viktor Szakats
7af6ad39dd 2009-05-29 18:35 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
- utils/hbformat/hbformat.hbm
   + utils/hbformat/hbformat.hbp
   - utils/hbmk2/hbmk2.hbm
   + utils/hbmk2/hbmk2.hbp
   - utils/hbtest/hbtest.hbm
   + utils/hbtest/hbtest.hbp
   + utils/hbi18n/hbi18n.hbp
   - utils/hbi18n/hbi18n.hbm
   - utils/hbrun/hbrun.hbm
   + utils/hbrun/hbrun.hbp
   - contrib/hbbtree/tests/test.hbm
   + contrib/hbbtree/tests/test.hbp
   - examples/pp/pp.hbm
   + examples/pp/pp.hbp
   - examples/hbdoc/hbdoc.hbm
   + examples/hbdoc/hbdoc.hbp
   + examples/superlib/hbsuper.hbp
   - examples/superlib/hbsuper.hbm
   + examples/hbsqlit2/hbsqlit2.hbp
   - examples/hbsqlit2/hbsqlit2.hbm
   + examples/hboleold/hboleold.hbp
   - examples/hboleold/hboleold.hbm
   - examples/hbapollo/hbapollo.hbm
   + examples/hbapollo/hbapollo.hbp
   - examples/pe/pe.hbm
   + examples/pe/pe.hbp
   - examples/guestbk/guestbk.hbm
   + examples/guestbk/guestbk.hbp
   - examples/hbgf/hbgfwin/hbgfwin.hbm
   + examples/hbgf/hbgfwin/hbgfwin.hbp
   - examples/hbgf/hbgfos2/hbgfos2.hbm
   + examples/hbgf/hbgfos2/hbgfos2.hbp
   - examples/hbgf/hbgfgtk/hbgfgtk.hbm
   + examples/hbgf/hbgfgtk/hbgfgtk.hbp
   + examples/uhttpd/uhttpd.hbp
   - examples/uhttpd/uhttpdgd.hbm
   + examples/uhttpd/uhttpdgd.hbp
   + examples/uhttpd/modules/allmod.hbp
   - examples/uhttpd/modules/allmod.hbm
   - examples/uhttpd/uhttpd.hbm
   - examples/dbu/dbu.hbm
   + examples/dbu/dbu.hbp
   - examples/hscript/hscript.hbm
   + examples/hscript/hscript.hbp
   - examples/hbwhat/hbwhat.hbm
   + examples/hbwhat/hbwhat.hbp
   - examples/rl/rl.hbm
   + examples/rl/rl.hbp
     * Renamed .hbm files to .hbp. So f.e. now it's possible to build 
       multiple of these from one hbmk2 command and it's also more obvious 
       that an .hbp files is a project (target).
2009-05-29 16:38:23 +00:00