Ignore:
Timestamp:
Aug 30, 2002, 9:45:30 PM (23 years ago)
Author:
bird
Message:

Packing and lib dependencies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/make/process.mak

    r9165 r9178  
    1 # $Id: process.mak,v 1.25 2002-08-29 10:01:40 bird Exp $
     1# $Id: process.mak,v 1.26 2002-08-30 19:45:29 bird Exp $
    22
    33#
     
    977977!ifdef SUBDIRS_MISC
    978978_SUBDIRS_MISC = _subdir_misc
    979 $(SUBDIRS_MISC):
     979$(_SUBDIRS_MISC):
    980980    @$(TOOL_DODIRS) "$(SUBDIRS_MISC)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) miscellaneous
    981981!else
     
    11241124
    11251125
     1126# -----------------------------------------------------------------------------
     1127# Pass x - The packing rule - traverse subdirs etc.
     1128# -----------------------------------------------------------------------------
     1129!ifdef SUBDIRS_PACKING
     1130_SUBDIRS_PACKING = _subdir_packing
     1131$(_SUBDIRS_PACKING):
     1132    @$(TOOL_DODIRS) "$(SUBDIRS_PACKING)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) packing
     1133!else
     1134! ifdef SUBDIRS
     1135_SUBDIRS_PACKING = _subdir_packing
     1136$(_SUBDIRS_PACKING):
     1137    @$(TOOL_DODIRS) "$(SUBDIRS)" $(TOOL_MAKE) -f $(BUILD_MAKEFILE) packing
     1138! endif
     1139!endif
     1140
     1141!ifdef PREMAKEFILES_PACKING
     1142_PREMAKEFILES_PACKING = _premakefiles_packing
     1143$(PREMAKEFILES_PACKING):
     1144    @$(TOOL_DOMAKES) "$(PREMAKEFILES_PACKING)" $(TOOL_MAKE) packing
     1145!else
     1146! ifdef PREMAKEFILES
     1147_PREMAKEFILES_PACKING = _premakefiles_packing
     1148$(_PREMAKEFILES_PACKING):
     1149    @$(TOOL_DOMAKES) "$(PREMAKEFILES)" $(TOOL_MAKE) packing
     1150! endif
     1151!endif
     1152
     1153!if "$(RULE_PACKING)" == "packing"
     1154_packing: \
     1155!else
     1156packing: \
     1157!endif
     1158        $(_SUBDIRS_PACKING) $(_PREMAKEFILES_PACKING) $(RULE_PACKING)
     1159!ifdef POSTMAKEFILES_PACKING
     1160    @$(TOOL_DOMAKES) "$(POSTMAKEFILES_PACKING)" $(TOOL_MAKE) $@
     1161!else
     1162! ifdef POSTMAKEFILES
     1163    @$(TOOL_DOMAKES) "$(POSTMAKEFILES)" $(TOOL_MAKE) $@
     1164! endif
     1165!endif
     1166    $(ECHO) .$(CLRRST)
     1167
     1168
    11261169
    11271170# -----------------------------------------------------------------------------
     
    11741217# -----------------------------------------------------------------------------
    11751218!if "$(TARGET_MODE)" == "EXE" || "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "VDD"
    1176 $(TARGET): $(TARGET_OBJS) $(TARGET_RES) $(TARGET_DEF_LINK) $(TARGET_LNK) $(TARGET_DEPS)
     1219$(TARGET): $(TARGET_OBJS) $(TARGET_RES) $(TARGET_DEF_LINK) $(TARGET_LNK) $(TARGET_DEPS) $(TARGET_LIBS)
    11771220!if "$(TOOL_JOB_WAIT)" != ""
    11781221! ifndef BUILD_QUIET
     
    15591602
    15601603!endif #!TESTCASE
     1604
     1605
     1606#
     1607# Include system library dependency stubs.
     1608#
     1609!include $(PATH_MAKE)\setup.$(SHT_TRGPLTFRM)libs.mk
     1610
     1611
     1612#
     1613# Check if TARGET_ALWAYS needs to be forced built.
     1614#
     1615!if "$(TARGET_ALWAYS)" != ""
     1616! ifndef BUILD_FORCED_BUILD_TEST
     1617!  if [$(TOOL_MAKE) BUILD_FORCED_BUILD_TEST=1 -f $(MAKEFILE) -q $(TARGET) $(TARGET_ILIB)] != 0
     1618$(TARGET_ALWAYS): .force
     1619!  endif
     1620! endif
     1621!endif
     1622
     1623
Note: See TracChangeset for help on using the changeset viewer.