Lines of
Makefile
from check-in cbff0b494f
that are changed by the sequence of edits moving toward
check-in 1ae31ed8a2:
1: .include "defaults.mk"
2: .include "order.mk"
3: .include "/etc/mrc.mk"
cbff0b494f 2023-08-18 4: .export
5:
6: .MAKE.JOBS?= ${NCPU}
7: .if !empty(.MAKE.MODE:Mcompat)
8: .error "ERROR: MRC doesn't support "compat" mode."
9: .endif
10:
11: OTHER_TARGETS:=
12:
13: .SILENT:
14:
15: install:
16: install rc /etc/rc
17: install rc.shutdown /etc/rc.shutdown
18:
19: .if defined(AUTOBOOT)
20: .include "init.mk"
21:
22: .ERROR:
23: : ERROR: ABORTING BOOT (sending SIGTERM to parent)!
24: : target ${.ERROR_TARGET} failed to execute:
25: : ${.ERROR_CMD}
26: kill 1
27: .endif
28:
29: test:
30: echo Empty target.
31:
32: .include "service.mk"
33:
34: .undef OTHER_TARGETS TARGETS
35:
36: ENABLED:=${:!env!:C/=.*//:M*_ENABLE}
37:
38: .for var in ${ENABLED}
39: . if !empty(${var}:tl:Mno)
40: #.info ${var}
41: . undef ${var}
42: . endif
43: .endfor
44:
45: .undef ENABLED
46: .unexport-env
cbff0b494f 2023-08-18 47: .export
48: #.info ${:!env!}