Annotation For Makefile
Logged in as anonymous

Lines of Makefile from check-in 88e0b45310 that are changed by the sequence of edits moving toward check-in bc20f9df9f:

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