* Makefile
* tests/Makefile
* contrib/hbmisc/Makefile
* contrib/hbwin/Makefile
* utils/Makefile
% Started converting '=' operators to ':=' where applicable.
; TODO: Rest of Makefiles.
* contrib/hbwin/Makefile
! Including 'global.cf' directly to make HB_ARCHITECTURE/HB_COMPILER
variables work in case we're relying on autodetection.
; TOFIX: Rest of Makefiles.
* config/global.cf
+ Added self-inclusion check to allow adding this .cf file
directly to Makefiles in order to force platform detection
for cases where this information is needed for local decisions.
* config/dos/global.cf
- Deleted 'ifndef MK' construct. Purpose unknown, and not
found similar for other platforms.
* config/global.cf
* config/globsh.cf
+ Added my copyright.
* contrib/hbtpathy/tpwin.c
* contrib/hbtpathy/tpos2.c
% Deleted unnecessary headers.
48 lines
826 B
Makefile
48 lines
826 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
|
|
|
|
ifeq ($(HB_POSTINST),)
|
|
ifneq ($(HB_ROOTPOSTINST),)
|
|
HB_POSTINST := $(HB_ROOTPOSTINST) $(HB_POSTINSTPARAM)
|
|
else
|
|
# TOOPT: Use HB_SHELL variable
|
|
ifneq ($(SHLVL),)
|
|
HB_POSTINST = $(TOP)$(ROOT)bin/postinst.sh $(HB_POSTINSTPARAM)
|
|
else
|
|
ifneq ($(OS2_SHELL),)
|
|
HB_POSTINST = $(subst /,\,$(TOP)$(ROOT)bin/postinst.cmd) $(HB_POSTINSTPARAM)
|
|
else
|
|
HB_POSTINST = $(subst /,\,$(TOP)$(ROOT)bin/postinst.bat) $(HB_POSTINSTPARAM)
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|
|
|
|
include $(ROOT)config/dir.cf
|