Files
harbour-core/harbour/Makefile
Viktor Szakats d3d6f78ef2 2009-09-28 22:27 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* INSTALL
    + Added new section: LINKS TO EXTERNAL TOOL, with actual (mostly complete) content.
    + Added OS/2 TCP/IP stack selection info.
    + Added OS/2 gcc 3.3.x build example.
    ! Minor typo.
    + Added linux hosted win/mingw64 target to compatibility matrix.

  * Makefile
    * Swapped shell postinst and .prg postinst invocation order.
    + Executing shell specific postinst command only if it exists.

  + bin/postinst.prg
  * bin/postinst.bat
  - bin/postinst.cmd
    + Started to migrate shell specific tasks to postinst .prg code.
    ; NOTE: Please review and test, this may cause regressions in 
            build process. I did't actually test most of these.

  * contrib/xhb/hbcompat.ch
    ! Minor typo in comment.
    * Updated copyright year.
2009-09-28 20:51:46 +00:00

48 lines
822 B
Makefile

#
# $Id$
#
ROOT := ./
include $(ROOT)config/global.mk
ifeq ($(HB_BUILD_PARTS),compiler)
DIRS := \
source \
utils{source} \
else
ifeq ($(HB_BUILD_PARTS),lib)
HB_UTIL_DIR :=
else
HB_UTIL_DIR := utils{source}
endif
DIRS := \
doc \
include \
external \
source{external} \
$(HB_UTIL_DIR) \
contrib{source} \
endif
include $(ROOT)config/dir.mk
ifeq ($(HB_SHELL),sh)
HB_POSTINST := $(TOP)$(ROOT)bin/postinst.sh
else
ifeq ($(HB_SHELL),os2)
HB_POSTINST := $(subst /,\,$(TOP)$(ROOT)bin/postinst.cmd)
else
HB_POSTINST := $(subst /,\,$(TOP)$(ROOT)bin/postinst.bat)
endif
endif
install::
+$(HB_HOST_BIN_DIR)/hbrun$(HB_HOST_BIN_EXT) --hb:gtcgi $(TOP)$(ROOT)bin/postinst.prg
$(if $(wildcard $(HB_POSTINST)),+$(HB_POSTINST),)