* config/none.cf
* config/win/global.cf
* config/wce/global.cf
! Attempt to fix problem where 'COMSPEC' envvar wasn't picked
by GNU Make on default XP installation, where this envvar
is defined as 'ComSpec', and mingw GNU Make is case-sensitive
for envvar names. This patch is needed to make Harbour build
with clean PATH (without OS).
Thanks to April White for discovering this.
33 lines
390 B
CFEngine3
33 lines
390 B
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
|
|
ifneq ($(HB_ARCHITECTURE),)
|
|
ifneq ($(HB_COMPILER),)
|
|
|
|
ifneq ($(ComSpec),)
|
|
COMSPEC := $(ComSpec)
|
|
endif
|
|
|
|
CMDPREF:=
|
|
ifeq ($(SHLVL),)
|
|
ifneq ($(COMSPEC),)
|
|
CMDPREF := $(COMSPEC) /C
|
|
endif
|
|
endif
|
|
|
|
ifneq ($(LIBNAME),)
|
|
DIR_RULE := @$(CMDPREF)echo "The '$(LIBNAME)' library ignored."
|
|
else
|
|
DIR_RULE :=
|
|
endif
|
|
|
|
all : first
|
|
|
|
|
|
first clean install::
|
|
$(DIR_RULE)
|
|
|
|
endif
|
|
endif
|