* doc/howtosvn.txt
* svn update does not report locally modified files - it is
required to run 'svn status' to list all changed files
* config/lib.cf
* config/bin.cf
* config/darwin/gcc.cf
* config/darwin/global.cf
* config/hpux/gcc.cf
* config/hpux/global.cf
* config/dos/owatcom.cf
* config/dos/watcom.cf
* config/dos/bcc16.cf
* config/dos/global.cf
* config/dos/rsx32.cf
* config/dos/djgpp.cf
* config/global.cf
* config/linux/owatcom.cf
* config/linux/gcc.cf
* config/linux/global.cf
* config/os2/gcc.cf
* config/os2/icc.cf
* config/os2/global.cf
* config/sunos/gcc.cf
* config/sunos/global.cf
* config/bsd/gcc.cf
* config/bsd/global.cf
* config/w32/msvc.cf
* config/w32/owatcom.cf
* config/w32/watcom.cf
* config/w32/bcc32.cf
* config/w32/gcc.cf
* config/w32/xcc.cf
* config/w32/rsxnt.cf
* config/w32/global.cf
* config/w32/cemgw.cf
* config/w32/pocc.cf
* config/w32/mingw32.cf
* updated to create libraries in harbour/lib/<arch>/<compiler>
subdirectories
NOTE: only 'linux/gcc' modifications were tested -please
report any problems (mostly slash or backslash issues probably)
46 lines
857 B
CFEngine3
46 lines
857 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
|
|
|
|
LIB_NAME := $(LIB_PREF)$(LIBNAME)$(LIB_EXT)
|
|
|
|
#no slash at the end
|
|
LIB_PATH := $(TOP)$(ROOT)lib/$(HB_ARCHITECTURE)
|
|
#no slash at the end
|
|
LIB_DIR := $(LIB_PATH)/$(HB_COMPILER)
|
|
|
|
LIB_ARCH := $(notdir $(ARCH_DIR))
|
|
ifeq ($(LIB_ARCH),)
|
|
# ARCH_DIR ends with a slash
|
|
LIB_ARCH := $(ARCH_DIR)$(LIB_NAME)
|
|
else
|
|
# there is no slash at the end of ARCH_DIR
|
|
LIB_ARCH := $(ARCH_DIR)/$(LIB_NAME)
|
|
endif
|
|
|
|
ALL_OBJS = $(ALL_C_OBJS) $(ALL_PRG_OBJS)
|
|
|
|
first:: dirbase descend
|
|
|
|
descend :
|
|
@$(MK) -C $(ARCH_DIR) -f $(GRANDP)Makefile 'TOP=$(GRANDP)' $(LIB_NAME)
|
|
|
|
$(LIB_NAME) : $(ALL_OBJS)
|
|
$(AR_RULE)
|
|
|
|
|
|
INSTALL_OBJS = $(LIB_ARCH)
|
|
INSTALL_DIR = $(HB_LIB_INSTALL)
|
|
|
|
include $(TOP)$(ROOT)config/install.cf
|
|
|
|
endif
|
|
endif
|