summaryrefslogtreecommitdiff
path: root/cmd/Makemodule.am
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/Makemodule.am')
-rw-r--r--cmd/Makemodule.am11
1 files changed, 2 insertions, 9 deletions
diff --git a/cmd/Makemodule.am b/cmd/Makemodule.am
index f4559a9..ef22284 100644
--- a/cmd/Makemodule.am
+++ b/cmd/Makemodule.am
@@ -1,14 +1,7 @@
shutdown_SOURCES = cmd/shutdown.c
-shutdown_CPPFLAGS = $(AM_CPPFLAGS) -DPROGNAME=shutdown
+shutdown_CPPFLAGS = $(AM_CPPFLAGS)
shutdown_CFLAGS = $(AM_CFLAGS)
shutdown_LDFLAGS = $(AM_LDFLAGS)
-shutdown_LDADD = libinit.a
-
-reboot_SOURCES = cmd/shutdown.c
-reboot_CPPFLAGS = $(AM_CPPFLAGS) -DPROGNAME=reboot
-reboot_CFLAGS = $(AM_CFLAGS)
-reboot_LDFLAGS = $(AM_LDFLAGS)
-reboot_LDADD = libinit.a
runsvc_SOURCES = cmd/runsvc/runsvc.c cmd/runsvc/env.c cmd/runsvc/runsvc.h
runsvc_CPPFLAGS = $(AM_CPPFLAGS)
@@ -44,5 +37,5 @@ endif
EXTRA_DIST += $(SRVHEADERS)
-sbin_PROGRAMS += service reboot shutdown
+sbin_PROGRAMS += service shutdown
helper_PROGRAMS += killall5 runsvc