Files
harbour-core/harbour/Makefile
Przemyslaw Czerpak 336e13b668 2009-08-19 11:05 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/Makefile
  * harbour/config/dir.mk
  * harbour/config/global.mk
    * eliminated HB_*POSTINST* variables, now it's used only localy
      in harbour/Makefile
    * modified root Makefile detection
2009-08-19 09:06:21 +00:00

44 lines
588 B
Makefile

#
# $Id$
#
ROOT := ./
ifeq ($(HB_HOST_BUILD),yes)
DIRS := \
source \
else
ifeq ($(HB_HOST_BUILD),lib)
HB_UTIL_DIR :=
else
HB_UTIL_DIR := utils{source}
endif
DIRS := \
doc \
include \
source \
$(HB_UTIL_DIR) \
contrib{source} \
external \
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_POSTINST)