Annotation For Makefile
Logged in as anonymous

Lines of Makefile from check-in d8511a3d7c that are changed by the sequence of edits moving toward check-in 4d5a9b2632:

                         1: .include "defaults.mk"
                         2: .include "order.mk"
                         3: .include "/etc/mrc.mk"
                         4: .export
                         5: 
                         6: OTHER_TARGETS:=
                         7: 
                         8: .include "starter.mk"
                         9: 
                        10: .SILENT:
                        11: 
                        12: install:
                        13: 	install rc /etc/rc
                        14: 	install rc.shutdown /etc/rc.shutdown
                        15: 
                        16: SCRIPTS:=${:!find /etc/mrc -name '*.service.mk'!:S/^\/etc\/mrc\///:S/.service.mk$//}
                        17: 
                        18: .if defined(AUTOBOOT)
                        19: .include "init.mk"
                        20: 
                        21: .ERROR:
                        22: 	: ERROR: ABORTING BOOT (sending SIGTERM to parent)!
                        23: 	: target ${.ERROR_TARGET} failed to execute:
                        24: 	: ${.ERROR_CMD}
                        25: 	kill 1
                        26: .endif
                        27: 
                        28: test:
                        29: 	echo Empty target.
                        30: 
                        31: # Create service targets
                        32: .for service in ${SCRIPTS}
                        33: .	include "${service}.service.mk"
                        34: 
                        35: # Service creation targets
                        36: .	if !target(${service})
                        37: ${service}: ${_SERVICE}
                        38: .	endif
                        39: 
                        40: # Service creation targets
                        41: .	if !target(${service}_status)
                        42: ${service}_status: ${_SERVICE_STATUS}
                        43: .	endif
                        44: 
                        45: # Service exit targets
                        46: .	if !target(${service}_exit)
                        47: ${service}_exit: ${_SERVICE_EXIT}
                        48: .	endif
                        49: 
                        50: DAEMON_EXIT: ${service}_exit
                        51: .endfor
                        52: 
                        53: .MAIN: ${SCRIPTS} ${TARGETS}
                        54: 
                        55: .PHONY: ${SCRIPTS} ${OTHER_TARGETS} ${TARGETS}
                        56: .undef OTHER_TARGETS SCRIPTS TARGETS
                        57: 
                        58: ENABLED:=${:!env!:C/=.*//:M*_ENABLE}
                        59: 
                        60: .for var in ${ENABLED}
                        61: .	if !empty(${var}:tl:Mno)
                        62: #.info ${var}
                        63: .		undef ${var}
                        64: .	endif
                        65: .endfor
                        66: 
                        67: .undef ENABLED
                        68: .unexport-env
                        69: .export
                        70: #.info ${:!env!}