Files
harbour-core/harbour/Makefile
Viktor Szakats dc9e6e1604 2010-05-16 23:36 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* debian/rules
  - doc/man/hbmk.1
  + doc/man/hbmk2.1
    ! Renamed to hbmk2 to be in sync with name of the tool.

  * Makefile
    ! Fixed to always descend into utils directory,
      because (in 'install' mode) hbrun and hbmk2 needs
      to be built regardless of HB_BUILD_PARTS setting.

  * contrib/hbfbird/hbfbird.hbi
    ! Fixed to set output libname. This is needed because
      we can't rely on input filename due to mingw trick.

  * config/global.mk
    + Show HB_BUILD_IMPLIB setting. Now there is nothing
      hackish in it, so it can be fully supported setting.

  * config/postinst.prg
    % Minor optimizations in hbmk2 invocation lines.
      (removed unnecessary spaces, using envvar macros,
      deleted unnecessary double quotes)
    ! Fixed (in two places) to only invoke hbmk2 if
      HB_HOST_BIN_DIR envvar is set.
    ! NSIS invocation command made more friendly to cross
      platform environment by using native pathsep.
    + Will now echo the external commands issued to stdout.
2010-05-16 21:41:13 +00:00

42 lines
765 B
Makefile

#
# $Id$
#
ROOT := ./
include $(ROOT)config/global.mk
ifeq ($(HB_BUILD_PARTS),compiler)
DIRS := \
src \
utils{src} \
else
DIRS := \
doc \
include \
external \
src{external} \
utils{src} \
contrib{src} \
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::
$(if $(wildcard $(HB_HOST_BIN_DIR)/hbrun$(HB_HOST_BIN_EXT)),+$(HB_HOST_BIN_DIR)/hbrun$(HB_HOST_BIN_EXT) --hb:gtcgi $(TOP)$(ROOT)config/postinst.prg,)
$(if $(wildcard $(HB_POSTINST)),+$(HB_POSTINST),)