2018-02-25 14:33:19 +01:00
|
|
|
shutdown_SOURCES = cmd/shutdown.c
|
2018-08-24 10:35:23 +02:00
|
|
|
shutdown_CPPFLAGS = $(AM_CPPFLAGS)
|
2018-02-25 14:33:19 +01:00
|
|
|
shutdown_CFLAGS = $(AM_CFLAGS)
|
|
|
|
shutdown_LDFLAGS = $(AM_LDFLAGS)
|
|
|
|
|
2018-04-22 01:02:27 +02:00
|
|
|
runsvc_SOURCES = cmd/runsvc/runsvc.c cmd/runsvc/env.c cmd/runsvc/runsvc.h
|
|
|
|
runsvc_CPPFLAGS = $(AM_CPPFLAGS)
|
|
|
|
runsvc_CFLAGS = $(AM_CFLAGS)
|
|
|
|
runsvc_LDFLAGS = $(AM_LDFLAGS)
|
2018-05-23 22:26:17 +02:00
|
|
|
runsvc_LDADD = libinit.a libcfg.a
|
2018-04-22 01:02:27 +02:00
|
|
|
|
2018-03-25 12:50:40 +02:00
|
|
|
killall5_SOURCES = cmd/killall5.c
|
|
|
|
killall5_CPPFLAGS = $(AM_CPPFLAGS)
|
|
|
|
killall5_CFLAGS = $(AM_CFLAGS)
|
|
|
|
killall5_LDFLAGS = $(AM_LDFLAGS)
|
|
|
|
|
2018-04-12 05:30:12 +02:00
|
|
|
SRVHEADERS = cmd/service/servicecmd.h
|
|
|
|
|
|
|
|
service_SOURCES = cmd/service/servicecmd.c cmd/service/help.c
|
|
|
|
service_SOURCES += cmd/service/enable.c cmd/service/disable.c
|
|
|
|
service_SOURCES += cmd/service/dumpscript.c cmd/service/list.c
|
|
|
|
service_SOURCES += $(SRVHEADERS)
|
|
|
|
service_CPPFLAGS = $(AM_CPPFLAGS)
|
|
|
|
service_CFLAGS = $(AM_CFLAGS)
|
|
|
|
service_LDFLAGS = $(AM_LDFLAGS)
|
2018-05-23 22:26:17 +02:00
|
|
|
service_LDADD = libinit.a libcfg.a
|
2018-04-12 05:30:12 +02:00
|
|
|
|
2018-06-06 14:59:12 +02:00
|
|
|
if USYSLOGD
|
|
|
|
syslog_SOURCES = cmd/syslog.c
|
|
|
|
syslog_CPPFLAGS = $(AM_CPPFLAGS)
|
|
|
|
syslog_CFLAGS = $(AM_CFLAGS)
|
|
|
|
syslog_LDFLAGS = $(AM_LDFLAGS)
|
|
|
|
syslog_LDADD = libinit.a
|
|
|
|
|
|
|
|
bin_PROGRAMS += syslog
|
2018-08-28 22:12:17 +02:00
|
|
|
dist_man1_MANS += cmd/syslog.1
|
2018-06-06 14:59:12 +02:00
|
|
|
endif
|
|
|
|
|
2018-08-31 14:52:26 +02:00
|
|
|
dist_man8_MANS += cmd/shutdown.8 cmd/service/service.8
|
2018-08-28 20:36:29 +02:00
|
|
|
|
2018-04-12 05:30:12 +02:00
|
|
|
EXTRA_DIST += $(SRVHEADERS)
|
|
|
|
|
2018-08-24 10:35:23 +02:00
|
|
|
sbin_PROGRAMS += service shutdown
|
2018-04-22 01:02:27 +02:00
|
|
|
helper_PROGRAMS += killall5 runsvc
|