Origin for each line in Makefile from check-in 17041521b1:
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: 17041521b1 2019-10-23 17: 17041521b1 2019-10-23 18: install: 17041521b1 2019-10-23 19: install rc /etc/rc 5fb1968943 2019-10-19 20: 5fb1968943 2019-10-19 21: .if defined(AUTOBOOT) 7a1e7f4a58 2019-10-21 22: SCRIPTS=${:!find /etc/mrc -name '*.init.mk' -o -name '*.service.mk'!:S/\/etc\/mrc\///} f95fc3334e 2019-10-20 23: f95fc3334e 2019-10-20 24: .ERROR: f95fc3334e 2019-10-20 25: : ERROR: ABORTING BOOT (sending SIGTERM to parent)! f95fc3334e 2019-10-20 26: : target ${.ERROR_TARGET} failed to execute: f95fc3334e 2019-10-20 27: : ${.ERROR_CMD} f95fc3334e 2019-10-20 28: kill 1 5fb1968943 2019-10-19 29: .else 7a1e7f4a58 2019-10-21 30: SCRIPTS=${:!find /etc/mrc -name '*.service.mk'!:S/\/etc\/mrc\///} 716b0393df 2019-10-21 31: 716b0393df 2019-10-21 32: DAEMON: NETWORK SERVERS 716b0393df 2019-10-21 33: 716b0393df 2019-10-21 34: LOGIN: DAEMON 716b0393df 2019-10-21 35: 716b0393df 2019-10-21 36: NETWORK: 716b0393df 2019-10-21 37: 716b0393df 2019-10-21 38: SERVERS: 84d4cb5e66 2019-10-19 39: 67838bd249 2019-10-21 40: SERVICE: 5062c9b6fc 2019-10-19 41: .endif 5062c9b6fc 2019-10-19 42: 67838bd249 2019-10-21 43: test: 67838bd249 2019-10-21 44: echo Empty target. 67838bd249 2019-10-21 45: 7a1e7f4a58 2019-10-21 46: TARGETS:=${SCRIPTS:S/.init.mk//:S/.service.mk//} f95fc3334e 2019-10-20 47: f95fc3334e 2019-10-20 48: .MAIN: ${TARGETS} f95fc3334e 2019-10-20 49: 716b0393df 2019-10-21 50: .PHONY: ${TARGETS} ${OTHER_TARGETS} 716b0393df 2019-10-21 51: 716b0393df 2019-10-21 52: .undef TARGETS OTHER_TARGETS 5062c9b6fc 2019-10-19 53: 5062c9b6fc 2019-10-19 54: .for file in ${SCRIPTS} 67838bd249 2019-10-21 55: #.info ${file} 5062c9b6fc 2019-10-19 56: .include "${file}" 5062c9b6fc 2019-10-19 57: .endfor 716b0393df 2019-10-21 58: 716b0393df 2019-10-21 59: .undef SCRIPTS 716b0393df 2019-10-21 60: 716b0393df 2019-10-21 61: ENABLED=${:!env!:C/=.*//:M*_ENABLE} 716b0393df 2019-10-21 62: 716b0393df 2019-10-21 63: .for var in ${ENABLED} 716b0393df 2019-10-21 64: .if !empty(${var}:tl:Mno) ebafd89015 2019-10-21 65: #.info ${var} 716b0393df 2019-10-21 66: .undef ${var} 716b0393df 2019-10-21 67: .endif 716b0393df 2019-10-21 68: .endfor 716b0393df 2019-10-21 69: 716b0393df 2019-10-21 70: .undef ENABLED 67838bd249 2019-10-21 71: .unexport-env 67838bd249 2019-10-21 72: .export ebafd89015 2019-10-21 73: #.info ${:!env!}