* harbour/bin/postinst.sh
! added missing export in envvar setting.
* harbour/config/linux/install.cf
* added error message when install directory is not set.
* harbour/config/lib.cf
* harbour/config/bin.cf
* harbour/config/dir.cf
+ added explicit support for make recursive calls.
Question: why we use $(MK) instead of $(MAKE) so it necessary
to mark recursive make calls manually?
* harbour/config/dir.cf
* rewritten DIR_RUL to use only GNU make commands instead of
OS scripts. Now config/<arch>/dir.cf files are not longer used.
Please make build tests on different platforms. If all will
be correct then we remove these files.
* harbour/source/common/Makefile
* harbour/source/vm/Makefile
* harbour/source/vm/vmmt/Makefile
* moved biggest files to begin of file list for better parallel
compilation utilization.
* harbour/source/rdd/dbfcdx/dbfcdx1.c
* accept invalid string key expression if codeblock key expression
is given.
40 lines
732 B
CFEngine3
40 lines
732 B
CFEngine3
#
|
|
# $Id$
|
|
#
|
|
|
|
ifneq ($(HB_ARCHITECTURE),)
|
|
ifneq ($(HB_COMPILER),)
|
|
|
|
#no slash at the end
|
|
LIB_PATH := $(TOP)$(ROOT)lib/$(HB_ARCHITECTURE)
|
|
#no slash at the end
|
|
LIB_DIR := $(LIB_PATH)/$(HB_COMPILER)
|
|
|
|
include $(TOP)$(ROOT)config/global.cf
|
|
include $(TOP)$(ROOT)config/c.cf
|
|
include $(TOP)$(ROOT)config/prg.cf
|
|
|
|
LIB_NAME := $(LIB_PREF)$(LIBNAME)$(LIB_EXT)
|
|
|
|
LIB_ARCH := $(LIB_DIR)/$(LIB_NAME)
|
|
|
|
ALL_OBJS = $(ALL_C_OBJS) $(ALL_PRG_OBJS)
|
|
|
|
first:: dirbase descend
|
|
|
|
descend:: dirbase
|
|
+@$(MK) -C $(ARCH_DIR) -f $(GRANDP)Makefile 'TOP=$(GRANDP)' $(LIB_NAME) $(MK_USR)
|
|
|
|
vpath $(LIB_NAME) $(LIB_DIR)
|
|
$(LIB_NAME) : $(ALL_OBJS)
|
|
$(AR_RULE)
|
|
|
|
|
|
INSTALL_OBJS = $(LIB_ARCH)
|
|
INSTALL_DIR = $(HB_LIB_INSTALL)
|
|
|
|
include $(TOP)$(ROOT)config/install.cf
|
|
|
|
endif
|
|
endif
|