Files
harbour-core/harbour/config/lib.cf
Viktor Szakats 2faf4f310f 2009-08-10 03:09 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* config/global.cf
  * config/lib.cf
  * config/bin.cf
  * config/test.cf
    ! Inclusion of compiler specific rules now happens from [lib|bin|test].cf.
      This way it plays well with scenarios where global.cf is directly
      included in Makefiles. It should also be slightly more efficient.
2009-08-10 01:10:55 +00:00

37 lines
678 B
CFEngine3

#
# $Id$
#
include $(TOP)$(ROOT)config/global.cf
ifneq ($(HB_ARCHITECTURE),)
ifneq ($(HB_COMPILER),)
include $(TOP)$(ROOT)config/$(HB_ARCHITECTURE)/$(HB_COMPILER).cf
include $(TOP)$(ROOT)config/c.cf
include $(TOP)$(ROOT)config/prg.cf
LIB_NAME := $(LIB_PREF)$(LIBNAME)$(LIB_EXT)
LIB_FILE := $(LIB_DIR)/$(LIB_NAME)
ALL_OBJS = $(ALL_C_OBJS) $(ALL_PRG_OBJS)
first:: dirbase descend
descend:: dirbase
+@$(MK) -C $(OBJ_DIR) -f $(GRANDP)Makefile TOP=$(GRANDP) $(LIB_NAME) $(HB_USER_MAKEFLAGS)
vpath $(LIB_NAME) $(LIB_DIR)
$(LIB_NAME) : $(ALL_OBJS)
$(AR_RULE)
INSTALL_FILES = $(LIB_FILE)
INSTALL_DIR = $(HB_LIB_INSTALL)
include $(TOP)$(ROOT)config/install.cf
endif
endif