Files
harbour-core/harbour/Makefile
Viktor Szakats 4dfad4f3ef 2009-02-20 15:30 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
* Makefile
   * bin/postinst.bat
   + bin/postinst.cmd
     + Added postinst for OS/2.

   * utils/hbmk2/hbmk2.prg
     * Minor in comment.
2009-02-20 14:30:36 +00:00

54 lines
829 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} \
endif
ifeq ($(HB_POSTINST),)
ifneq ($(HB_ROOTPOSTINST),)
HB_POSTINST = $(HB_ROOTPOSTINST) $(HB_POSTINSTPARAM)
else
ifneq ($(SHLVL),)
HB_POSTINST = $(TOP)$(ROOT)bin/postinst.sh $(HB_POSTINSTPARAM)
else
ifeq ($(HB_ARCHITECTURE),dos)
HB_POSTINST = $(subst /,\,$(TOP)$(ROOT)bin/postinst.bat) $(HB_POSTINSTPARAM)
else
ifeq ($(HB_ARCHITECTURE),win)
HB_POSTINST = $(subst /,\,$(TOP)$(ROOT)bin/postinst.bat) $(HB_POSTINSTPARAM)
else
ifeq ($(HB_ARCHITECTURE),os2)
HB_POSTINST = $(subst /,\,$(TOP)$(ROOT)bin/postinst.cmd) $(HB_POSTINSTPARAM)
endif
endif
endif
endif
endif
endif
include $(ROOT)config/dir.cf