Changeset 9031 for trunk/make/process.forwarder.mak
- Timestamp:
- Aug 20, 2002, 6:05:40 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/make/process.forwarder.mak
r9028 r9031 1 # $Id: process.forwarder.mak,v 1. 5 2002-08-19 15:00:25bird Exp $1 # $Id: process.forwarder.mak,v 1.6 2002-08-20 04:05:40 bird Exp $ 2 2 3 3 # … … 179 179 180 180 # ----------------------------------------------------------------------------- 181 # The build rule - Build the target. 182 # ----------------------------------------------------------------------------- 183 build: 184 \ 185 !ifndef BUILD_VERBOSE 186 @ \ 187 !endif 188 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(TOOL_MAKE) -f $(MAKEFILE) $@ 189 190 191 192 # ----------------------------------------------------------------------------- 193 # The lib rule - Make Public libraries. 194 # ----------------------------------------------------------------------------- 195 lib: 196 \ 197 !ifndef BUILD_VERBOSE 198 @ \ 199 !endif 200 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(TOOL_MAKE) -f $(MAKEFILE) $@ 201 202 203 204 # ----------------------------------------------------------------------------- 205 # The install rule - Copies target to main binary directory. 206 # ----------------------------------------------------------------------------- 207 install: 208 \ 209 !ifndef BUILD_VERBOSE 210 @ \ 211 !endif 212 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(TOOL_MAKE) -f $(MAKEFILE) $@ 213 214 215 216 # ----------------------------------------------------------------------------- 217 # The testcase rule - Execute testcases when present. 218 # ----------------------------------------------------------------------------- 219 testcase: 181 # Generic forwarder 182 # ----------------------------------------------------------------------------- 183 build rebuild clean dep lib executables miscellaneous \ 184 !if "$(TARGET_MODE)" == "DEPEND" 185 $(TARGET) \ 186 !endif 187 $(TARGET_ILIB) \ 188 install testcase nothing target: 220 189 \ 221 190 !ifndef BUILD_VERBOSE … … 239 208 240 209 # ----------------------------------------------------------------------------- 241 # The dep rule - Make dependencies.242 # -----------------------------------------------------------------------------243 dep:244 \245 !ifndef BUILD_VERBOSE246 @ \247 !endif248 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(TOOL_MAKE) -f $(MAKEFILE) $@249 250 251 252 # -----------------------------------------------------------------------------253 # The clean rule - Clean up output files.254 # The current setup doesn't clean the installed ones.255 # -----------------------------------------------------------------------------256 clean:257 \258 !ifndef BUILD_VERBOSE259 @ \260 !endif261 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(TOOL_MAKE) -f $(MAKEFILE) $@262 263 264 265 # -----------------------------------------------------------------------------266 # The nothing rule - Rule for testing the makefile structure.267 # -----------------------------------------------------------------------------268 nothing:269 \270 !ifndef BUILD_VERBOSE271 @ \272 !endif273 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(TOOL_MAKE) -f $(MAKEFILE) $@274 275 276 277 # -----------------------------------------------------------------------------278 # The $(TARGET) rule - For EXE, DLL, SYS and IFS targets279 # -----------------------------------------------------------------------------280 !if "$(TARGET_MODE)" == "EXE" || "$(TARGET_MODE)" == "DLL" || "$(TARGET_MODE)" == "SYS" || "$(TARGET_MODE)" == "IFS" || "$(TARGET_MODE)" == "VDD"281 $(TARGET):282 \283 !ifndef BUILD_VERBOSE284 @ \285 !endif286 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(TOOL_MAKE) -f $(MAKEFILE) $@287 !endif288 289 290 291 # -----------------------------------------------------------------------------292 # The $(TARGET) rule - For LIB, SYSLIB, and IFSLIB targets.293 # -----------------------------------------------------------------------------294 !if "$(TARGET_MODE)" == "LIB" || "$(TARGET_MODE)" == "SYSLIB" || "$(TARGET_MODE)" == "IFSLIB"295 $(TARGET):296 \297 !ifndef BUILD_VERBOSE298 @ \299 !endif300 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(TOOL_MAKE) -f $(MAKEFILE) $@301 !endif302 303 304 305 # -----------------------------------------------------------------------------306 210 # The $(TARGET) rule - For EMPTY & DEPEND targets. 307 211 # ----------------------------------------------------------------------------- 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 #!endif313 212 !if "$(TARGET_MODE)" == "DEPEND" 314 213 $(TARGET): … … 319 218 320 219 # ----------------------------------------------------------------------------- 321 # The $(TARGET_ILIB) rule - Make import library.322 # -----------------------------------------------------------------------------323 !ifdef TARGET_ILIB324 $(TARGET_ILIB):325 \326 !ifndef BUILD_VERBOSE327 @ \328 !endif329 $(TOOL_BUILDENV) $(BUILD_ENVS_CHANGE) * $(TOOL_MAKE) -f $(MAKEFILE) $@330 331 !endif332 333 334 335 # -----------------------------------------------------------------------------336 220 # The .force rule - Force a remake of something everytime. 337 221 # ----------------------------------------------------------------------------- … … 344 228 !endif 345 229 346
Note:
See TracChangeset
for help on using the changeset viewer.