Origin for each line in Makefile from check-in 8bc8c738d5:
88e0b45310 2019-10-23 1: .include "defaults.mk" d8511a3d7c 2022-05-30 2: .include "order.mk" 5f60bcc749 2019-10-23 3: .include "/etc/mrc.mk" 8f80b79392 2019-10-20 4: .export 8f80b79392 2019-10-20 5: 4d5a9b2632 2022-05-30 6: .MAKE.JOBS?=1 4d5a9b2632 2022-05-30 7: .if !empty(.MAKE.MODE:Mcompat) 4d5a9b2632 2022-05-30 8: .error "ERROR: MRC doesn't support "compat" mode." 4d5a9b2632 2022-05-30 9: .endif 4d5a9b2632 2022-05-30 10: d8511a3d7c 2022-05-30 11: OTHER_TARGETS:= d8511a3d7c 2022-05-30 12: d8511a3d7c 2022-05-30 13: .include "starter.mk" 4361bde8b2 2022-05-29 14: 7a1e7f4a58 2019-10-21 15: .SILENT: 7a1e7f4a58 2019-10-21 16: 17041521b1 2019-10-23 17: install: 17041521b1 2019-10-23 18: install rc /etc/rc d8511a3d7c 2022-05-30 19: install rc.shutdown /etc/rc.shutdown 295630c60d 2019-10-23 20: d8511a3d7c 2022-05-30 21: SCRIPTS:=${:!find /etc/mrc -name '*.service.mk'!:S/^\/etc\/mrc\///:S/.service.mk$//} 17041521b1 2019-10-23 22: 5fb1968943 2019-10-19 23: .if defined(AUTOBOOT) d724289db9 2020-04-10 24: .include "init.mk" d724289db9 2020-04-10 25: f95fc3334e 2019-10-20 26: .ERROR: f95fc3334e 2019-10-20 27: : ERROR: ABORTING BOOT (sending SIGTERM to parent)! f95fc3334e 2019-10-20 28: : target ${.ERROR_TARGET} failed to execute: f95fc3334e 2019-10-20 29: : ${.ERROR_CMD} f95fc3334e 2019-10-20 30: kill 1 5fb1968943 2019-10-19 31: .endif 5fb1968943 2019-10-19 32: 67838bd249 2019-10-21 33: test: 67838bd249 2019-10-21 34: echo Empty target. 67838bd249 2019-10-21 35: d8511a3d7c 2022-05-30 36: # Create service targets d8511a3d7c 2022-05-30 37: .for service in ${SCRIPTS} d8511a3d7c 2022-05-30 38: . include "${service}.service.mk" d8511a3d7c 2022-05-30 39: d8511a3d7c 2022-05-30 40: # Service creation targets d8511a3d7c 2022-05-30 41: . if !target(${service}) d8511a3d7c 2022-05-30 42: ${service}: ${_SERVICE} d8511a3d7c 2022-05-30 43: . endif d8511a3d7c 2022-05-30 44: d8511a3d7c 2022-05-30 45: # Service creation targets d8511a3d7c 2022-05-30 46: . if !target(${service}_status) d8511a3d7c 2022-05-30 47: ${service}_status: ${_SERVICE_STATUS} d8511a3d7c 2022-05-30 48: . endif d8511a3d7c 2022-05-30 49: d8511a3d7c 2022-05-30 50: # Service exit targets d8511a3d7c 2022-05-30 51: . if !target(${service}_exit) 8bc8c738d5 2022-05-31 52: ${service}_exit: ${_SERVICE_EXIT} ${DAEMON_${service}_DEPS:S/$/_exit/} d8511a3d7c 2022-05-30 53: . endif d8511a3d7c 2022-05-30 54: d8511a3d7c 2022-05-30 55: DAEMON_EXIT: ${service}_exit 716b0393df 2019-10-21 56: .endfor 716b0393df 2019-10-21 57: d8511a3d7c 2022-05-30 58: .MAIN: ${SCRIPTS} ${TARGETS} d724289db9 2020-04-10 59: d8511a3d7c 2022-05-30 60: .PHONY: ${SCRIPTS} ${OTHER_TARGETS} ${TARGETS} d8511a3d7c 2022-05-30 61: .undef OTHER_TARGETS SCRIPTS TARGETS d724289db9 2020-04-10 62: d8511a3d7c 2022-05-30 63: ENABLED:=${:!env!:C/=.*//:M*_ENABLE} 716b0393df 2019-10-21 64: 716b0393df 2019-10-21 65: .for var in ${ENABLED} d8511a3d7c 2022-05-30 66: . if !empty(${var}:tl:Mno) ebafd89015 2019-10-21 67: #.info ${var} d8511a3d7c 2022-05-30 68: . undef ${var} d8511a3d7c 2022-05-30 69: . endif 5062c9b6fc 2019-10-19 70: .endfor 716b0393df 2019-10-21 71: 716b0393df 2019-10-21 72: .undef ENABLED 67838bd249 2019-10-21 73: .unexport-env 67838bd249 2019-10-21 74: .export ebafd89015 2019-10-21 75: #.info ${:!env!}