Revision: 12094 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12094&view=rev Author: vszakats Date: 2009-08-13 10:31:58 +0000 (Thu, 13 Aug 2009)
Log Message: ----------- 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. Modified Paths: -------------- trunk/harbour/ChangeLog trunk/harbour/INSTALL trunk/harbour/bin/hb-mkdyn.bat trunk/harbour/bin/postinst.bat trunk/harbour/config/global.cf trunk/harbour/config/header.cf trunk/harbour/config/install.cf trunk/harbour/config/lib.cf trunk/harbour/config/rules.cf trunk/harbour/config/wce/mingwarm.cf trunk/harbour/config/wce/msvcarm.cf trunk/harbour/config/wce/poccarm.cf trunk/harbour/config/win/bcc.cf trunk/harbour/config/win/cygwin.cf trunk/harbour/config/win/icc.cf trunk/harbour/config/win/mingw.cf trunk/harbour/config/win/msvc.cf trunk/harbour/config/win/pocc.cf trunk/harbour/config/win/watcom.cf trunk/harbour/config/win/xcc.cf trunk/harbour/contrib/Makefile trunk/harbour/contrib/gtalleg/Makefile trunk/harbour/contrib/gtqtc/Makefile trunk/harbour/contrib/gtqtc/gtqtc.hbc trunk/harbour/contrib/hbcurl/Makefile trunk/harbour/contrib/hbfbird/Makefile trunk/harbour/contrib/hbfimage/Makefile trunk/harbour/contrib/hbgd/Makefile trunk/harbour/contrib/hbhpdf/Makefile trunk/harbour/contrib/hbmysql/Makefile trunk/harbour/contrib/hbodbc/Makefile trunk/harbour/contrib/hbpgsql/Makefile trunk/harbour/contrib/hbqt/Makefile trunk/harbour/contrib/hbsqlit3/Makefile trunk/harbour/contrib/hbssl/Makefile trunk/harbour/contrib/rddads/Makefile trunk/harbour/contrib/rddsql/sddfb/Makefile trunk/harbour/contrib/rddsql/sddmy/Makefile trunk/harbour/contrib/rddsql/sddodbc/Makefile trunk/harbour/contrib/rddsql/sddpg/Makefile trunk/harbour/external/Makefile trunk/harbour/external/libhpdf/Makefile trunk/harbour/external/libpng/Makefile trunk/harbour/external/sqlite3/Makefile trunk/harbour/make_gnu.bat trunk/harbour/source/rtl/gtcrs/Makefile trunk/harbour/source/rtl/gtsln/Makefile trunk/harbour/source/rtl/gtxwc/Makefile This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour