Changeset 8213 for trunk/make/process.mak
- Timestamp:
- Apr 8, 2002, 12:43:27 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/make/process.mak
r8197 r8213 1 # $Id: process.mak,v 1. 1 2002-04-06 20:25:04bird Exp $1 # $Id: process.mak,v 1.2 2002-04-07 22:43:25 bird Exp $ 2 2 3 3 # … … 128 128 129 129 .SUFFIXES: 130 .SUFFIXES: . dll .exe .$(EXT_OBJ) .c .cpp .asm .res.rc .pre-c .pre-cpp # .h .def130 .SUFFIXES: .$(EXT_OBJ) .c .cpp .asm .$(EXT_RES) .rc .pre-c .pre-cpp # .h .def 131 131 132 132 … … 134 134 .asm{$(PATH_TARGET)}.$(EXT_OBJ): 135 135 @$(ECHO) Assembling $(CLRFIL)$< $(CLRRST) 136 !if "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "SYSLIB" 136 !if "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "SYSLIB" || "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB" 137 137 @$(AS) $(AS_FLAGS_SYS) $< $(AS_OBJ_OUT)$@ 138 138 !else … … 142 142 .asm.$(EXT_OBJ): 143 143 @$(ECHO) Assembling $(CLRFIL)$< $(CLRRST) 144 !if "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "SYSLIB" 144 !if "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "SYSLIB" || "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB" 145 145 @$(AS) $(AS_FLAGS_SYS) $< $(AS_OBJ_OUT)$(PATH_TARGET)\$(@F) 146 146 !else … … 165 165 $(CXX_FLAGS_SYS) \ 166 166 !endif 167 !if "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB" 168 $(CXX_FLAGS_IFS) \ 169 !endif 170 !ifdef CXX_LST_OUT 171 $(CXX_LST_OUT)$(PATH_TARGET)\$(@B).s \ 172 !endif 167 173 $(CXX_OBJ_OUT)$@ $< 168 174 … … 181 187 !if "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "SYSLIB" 182 188 $(CXX_FLAGS_SYS) \ 189 !endif 190 !if "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB" 191 $(CXX_FLAGS_IFS) \ 192 !endif 193 !ifdef CXX_LST_OUT 194 $(CXX_LST_OUT)$(PATH_TARGET)\$(@B).s \ 183 195 !endif 184 196 $(CXX_OBJ_OUT)$(PATH_TARGET)\$(@F) $< … … 201 213 $(CXX_FLAGS_SYS) \ 202 214 !endif 215 !if "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB" 216 $(CXX_FLAGS_IFS) \ 217 !endif 203 218 $(CXX_PC_2_STDOUT) $< > $@ 204 219 … … 220 235 $(CC_FLAGS_SYS) \ 221 236 !endif 237 !if "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB" 238 $(CC_FLAGS_IFS) \ 239 !endif 240 !ifdef CC_LST_OUT 241 $(CC_LST_OUT)$(PATH_TARGET)\$(@B).s \ 242 !endif 222 243 $(CC_OBJ_OUT)$@ $< 223 244 … … 236 257 !if "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "SYSLIB" 237 258 $(CC_FLAGS_SYS) \ 259 !endif 260 !if "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB" 261 $(CC_FLAGS_IFS) \ 262 !endif 263 !ifdef CC_LST_OUT 264 $(CC_LST_OUT)$(PATH_TARGET)\$(@B).s \ 238 265 !endif 239 266 $(CC_OBJ_OUT)$(PATH_TARGET)\$(@F) $< … … 256 283 $(CC_FLAGS_SYS) \ 257 284 !endif 285 !if "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB" 286 $(CC_FLAGS_IFS) \ 287 !endif 258 288 $(CC_PC_2_STDOUT) $< > $@ 259 289 … … 330 360 if exist $(TARGET) $(TOOL_COPY) $(TARGET) $(PATH_DLL) 331 361 !endif 332 !if "$(TARGET_MODE)" == "SYS" 362 !if "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "IFSLIB" 333 363 if exist $(TARGET) $(TOOL_COPY) $(TARGET) $(PATH_SYS) 334 364 !endif … … 399 429 clean: 400 430 !if "$(PATH_TARGET)" != "" # paranoia 401 !if "$(PATH_TARGET)" == "."402 431 $(TOOL_RM) \ 403 432 $(PATH_TARGET)\*.$(EXT_OBJ) \ … … 407 436 $(PATH_TARGET)\*.$(EXT_RES) \ 408 437 $(PATH_TARGET)\*.$(EXT_SYS) \ 409 $(PATH_TARGET)\*.$(EXT_LIB) \ 438 $(PATH_TARGET)\*.$(EXT_LIB) 439 $(TOOL_RM) \ 440 $(PATH_TARGET)\*.$(EXT_IFS) \ 410 441 $(PATH_TARGET)\*.map \ 442 $(PATH_TARGET)\*.s \ 443 $(PATH_TARGET)\*.lst \ 411 444 $(PATH_TARGET)\*.lnk \ 412 445 $(PATH_TARGET)\*.pre-c \ 413 446 $(PATH_TARGET)\*.pre-cpp \ 414 $(PATH_TARGET)\*.lst 415 !else 416 $(TOOL_RM) \ 417 $(PATH_TARGET)\*.$(EXT_OBJ) \ 418 $(PATH_TARGET)\*.$(EXT_ILIB) \ 419 $(PATH_TARGET)\*.$(EXT_EXE) \ 420 $(PATH_TARGET)\*.$(EXT_DLL) \ 421 $(PATH_TARGET)\*.$(EXT_SYS) \ 422 $(PATH_TARGET)\*.$(EXT_RES) \ 423 $(PATH_TARGET)\*.$(EXT_LIB) \ 424 $(PATH_TARGET)\*.map \ 425 $(PATH_TARGET)\*.lnk \ 426 $(PATH_TARGET)\*.lst 427 !endif 447 $(PATH_TARGET)\.depend 428 448 !endif 429 449 !ifdef SUBDIRS … … 439 459 440 460 # 441 # EXE, DLL and SYS Targets442 # 443 !if "$(TARGET_MODE)" == "EXE" || "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "CRT" || "$(TARGET_MODE)" == "SYS" 461 # EXE, DLL, SYS and IFS Targets 462 # 463 !if "$(TARGET_MODE)" == "EXE" || "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "CRT" || "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "IFS" 444 464 ! if "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "CRT" 445 465 TARGET_IGNORE_LINKER_WARNINGS=1 … … 458 478 !if "$(TARGET_MODE)" == "SYS" 459 479 @$(LINK_CMD_SYS) 480 !endif 481 !if "$(TARGET_MODE)" == "IFS" 482 @$(LINK_CMD_IFS) 460 483 !endif 461 484 !if "$(TARGET_RES)" != "" && "$(RL)" != "" … … 496 519 # Lib Targets. 497 520 # 498 !if "$(TARGET_MODE)" == "LIB" || "$(TARGET_MODE)" == "PUBLIB" || "$(TARGET_MODE)" == "SYSLIB" 521 !if "$(TARGET_MODE)" == "LIB" || "$(TARGET_MODE)" == "PUBLIB" || "$(TARGET_MODE)" == "SYSLIB" || "$(TARGET_MODE)" == "IFSLIB" 499 522 $(TARGET): $(TARGET_OBJS) $(TARGET_LNK) $(TARGET_DEPS) 500 523 @$(ECHO) Creating Library $(CLRFIL)$@ $(CLRRST)
Note:
See TracChangeset
for help on using the changeset viewer.