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