35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Create service targets
.for service in ${SCRIPTS}
. include "${service}.service.mk"
# Service creation targets
. if !target(${service})
${service}: ${_SERVICE}
. endif
# Service creation targets
. if !target(${service}_status)
${service}_status: ${_SERVICE_STATUS}
. endif
# Service exit targets
. if !target(${service}_exit)
${service}_exit: ${_SERVICE_EXIT} ${DAEMON_${service}_DEPS:S/$/_exit/}
|
|
|
|
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Create service targets
.for service in ${SCRIPTS}
. include "${service}.service.mk"
# Service creation targets
. if !target(${service})
${service}: ${SERVICE_EXIT} ${_SERVICE}
. endif
# Service status targets
. if !target(${service}_status)
${service}_status: ${_SERVICE_STATUS}
. endif
# Service exit targets
. if !target(${service}_exit)
${service}_exit: ${_SERVICE_EXIT} ${DAEMON_${service}_DEPS:S/$/_exit/}
|