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