* harbour/source/rtl/philes.c
* harbour/source/rtl/dirdrive.c
* harbour/source/rtl/philesx.c
* harbour/source/rtl/filesys.c
! fixed CURDRIVE() and DISKNAME() to not return "A" in OS-es which
does not use drive letters
! eliminated toupper()
% minor cleanup and speed improvement
* harbour/config/bin.cf
* harbour/config/test.cf
* removed quoting for TOP=$(GRANDP) nested GNU make call parameters
47 lines
757 B
CFEngine3
47 lines
757 B
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
|
|
ifneq ($(HB_ARCHITECTURE),)
|
|
ifneq ($(HB_COMPILER),)
|
|
|
|
include $(TOP)$(ROOT)config/global.cf
|
|
include $(TOP)$(ROOT)config/c.cf
|
|
include $(TOP)$(ROOT)config/prg.cf
|
|
|
|
EXE_NAME=
|
|
|
|
ifneq ($(C_MAIN),)
|
|
ifeq ($(EXE_NAME),)
|
|
EXE_NAME = $(C_MAIN:.c=$(EXE_EXT))
|
|
endif
|
|
endif
|
|
|
|
ifneq ($(PRG_MAIN),)
|
|
ifeq ($(EXE_NAME),)
|
|
EXE_NAME = $(PRG_MAIN:.prg=$(EXE_EXT))
|
|
endif
|
|
endif
|
|
|
|
EXE_ARCH = $(ARCH_DIR)/$(EXE_NAME)
|
|
LIB_DIR = $(TOP)$(ROOT)lib/$(ARCH_DIR)
|
|
|
|
ALL_OBJS = $(ALL_C_OBJS) $(ALL_PRG_OBJS)
|
|
|
|
first:: dirbase descend
|
|
|
|
descend:: dirbase
|
|
+@$(MK) -C $(ARCH_DIR) -f $(GRANDP)Makefile TOP=$(GRANDP) $(EXE_NAME) $(MK_USR)
|
|
|
|
$(EXE_NAME) : $(ALL_OBJS)
|
|
$(LD_RULE)
|
|
|
|
|
|
INSTALL_OBJS = $(EXE_ARCH)
|
|
INSTALL_DIR = $(HB_BIN_INSTALL)
|
|
|
|
include $(TOP)$(ROOT)config/install.cf
|
|
|
|
endif
|
|
endif
|