Changeset 9028 for trunk/make
- Timestamp:
- Aug 19, 2002, 5:00:25 PM (23 years ago)
- Location:
- trunk/make
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/make/process.forwarder.mak
r8715 r9028 1 # $Id: process.forwarder.mak,v 1. 4 2002-06-19 02:16:08bird Exp $1 # $Id: process.forwarder.mak,v 1.5 2002-08-19 15:00:25 bird Exp $ 2 2 3 3 # … … 25 25 !endif 26 26 27 !if "$(TARGET_NAME)" == "" && "$(TARGET_MODE)" != "EMPTY" 27 !if "$(TARGET_NAME)" == "" && "$(TARGET_MODE)" != "EMPTY" && "$(TARGET_MODE)" != "DEPEND" 28 28 !error Fatal error: TARGET_NAME is not defined! Should be set in the makefile. 29 29 !endif … … 304 304 305 305 # ----------------------------------------------------------------------------- 306 # The $(TARGET) rule - For EMPTY targets. 307 # ----------------------------------------------------------------------------- 308 !if "$(TARGET_MODE)" == "EMPTY" 306 # The $(TARGET) rule - For EMPTY & DEPEND targets. 307 # ----------------------------------------------------------------------------- 308 # this doesn't work as we don't have a target name. Hence not needed. 309 #!if "$(TARGET_MODE)" == "EMPTY" 310 #$(TARGET): 311 # @$(ECHO) . 312 #!endif 313 !if "$(TARGET_MODE)" == "DEPEND" 309 314 $(TARGET): 310 315 @$(ECHO) . -
trunk/make/process.mak
r8768 r9028 1 # $Id: process.mak,v 1.1 5 2002-06-26 04:45:45 bird Exp $1 # $Id: process.mak,v 1.16 2002-08-19 15:00:25 bird Exp $ 2 2 3 3 # … … 65 65 # Dummy/Hub/TopLevel empty makefile. This has no target. 66 66 ! if "$(TARGET_MODE)" != "EMPTY" 67 ! if "$(TARGET_MODE)" != "TESTCASE" 68 ! ifndef MAKEVER 69 ! if [$(ECHO) $(CLRERR)Fatal Error: Bad TARGET_MODE="$(TARGET_MODE)". Valid ones are: EXE, DLL, SYS, IFS, VDD, LIB, SYSLIB, IFSLIB, TESTCASE and EMPTY.$(CLRRST)] 67 # Dependency only makefile. (typical for include directories) 68 ! if "$(TARGET_MODE)" != "DEPEND" 69 # Testcase makefile. 70 ! if "$(TARGET_MODE)" != "TESTCASE" 71 # Bad TARGET_MODE complain. 72 ! ifndef MAKEVER 73 ! if [$(ECHO) $(CLRERR)Fatal Error: Bad TARGET_MODE="$(TARGET_MODE)". Valid ones are: EXE, DLL, SYS, IFS, VDD, LIB, SYSLIB, IFSLIB, TESTCASE and EMPTY.$(CLRRST)] 74 ! endif 75 ! error 76 ! else 77 ! error $(CLRERR)Fatal Error: Bad TARGET_MODE="$(TARGET_MODE)". Valid ones are: EXE, DLL, SYS, IFS, VDD, LIB, SYSLIB, IFSLIB, TESTCASE and EMPTY.$(CLRRST) 70 78 ! endif 71 ! error72 ! else73 ! error $(CLRERR)Fatal Error: Bad TARGET_MODE="$(TARGET_MODE)". Valid ones are: EXE, DLL, SYS, IFS, VDD, LIB, SYSLIB, IFSLIB, TESTCASE and EMPTY.$(CLRRST)74 79 ! endif 75 80 ! endif … … 117 122 ! if "$(TARGET_MODE)" == "EMPTY" 118 123 TARGET_EXT = empty 124 ! endif 125 ! if "$(TARGET_MODE)" == "DEPEND" 126 TARGET_EXT = depend 119 127 ! endif 120 128 ! if "$(TARGET_MODE)" == "TESTCASE" … … 925 933 # The $(TARGET) rule - For EMPTY targets. 926 934 # ----------------------------------------------------------------------------- 927 !if "$(TARGET_MODE)" == "EMPTY" 935 # this doesn't work as we don't have a target name. Hence not needed. 936 #!if "$(TARGET_MODE)" == "EMPTY" 928 937 #$(TARGET): 929 938 # @$(ECHO) . 939 #!endif 940 !if "$(TARGET_MODE)" == "DEPEND" 941 $(TARGET): 942 @$(ECHO) . 930 943 !endif 931 944 … … 962 975 # Read Dependencies. 963 976 # ----------------------------------------------------------------------------- 964 !if "$(TARGET_MODE)" != "TESTCASE" 977 !if "$(TARGET_MODE)" != "TESTCASE" && "$(TARGET_MODE)" != "DEPEND" 965 978 !if "$(TARGET_MODE)" != "EMPTY" && "$(NODEP)" == "" 966 979
Note:
See TracChangeset
for help on using the changeset viewer.