summaryrefslogtreecommitdiff
path: root/cmd/Makemodule.am
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-12 05:30:12 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-04-12 10:28:40 +0200
commit6cf0a254cd9e4892a941bb5ad6f8d9ed317b1617 (patch)
treead9f1b409c5a465986078ee16b102f6fa6cfbdb3 /cmd/Makemodule.am
parente148e873e05e4ebe4d7a90cdbe8cdd72618eb7ac (diff)
Build system and directory structure cleanup
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'cmd/Makemodule.am')
-rw-r--r--cmd/Makemodule.am15
1 files changed, 14 insertions, 1 deletions
diff --git a/cmd/Makemodule.am b/cmd/Makemodule.am
index 40c0933..f0ae3f9 100644
--- a/cmd/Makemodule.am
+++ b/cmd/Makemodule.am
@@ -15,5 +15,18 @@ killall5_CPPFLAGS = $(AM_CPPFLAGS)
killall5_CFLAGS = $(AM_CFLAGS)
killall5_LDFLAGS = $(AM_LDFLAGS)
-sbin_PROGRAMS += reboot shutdown
+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)
+service_LDADD = libinit.a
+
+EXTRA_DIST += $(SRVHEADERS)
+
+sbin_PROGRAMS += service reboot shutdown
helper_PROGRAMS += killall5