aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Makefile b/src/Makefile
index a4a1283f..c864ef16 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -30,9 +30,10 @@ LIBEINFOOBJS= libeinfo.o
LIBRCSOVER = 0
LIBRCSO = librc.so.$(LIBRCSOVER)
-LIBRCOBJS= librc.o librc-depend.o librc-daemon.o librc-misc.o librc-strlist.o \
- env-update.o fstabinfo.o mountinfo.o \
- rc-depend.o rc-status.o runscript.o start-stop-daemon.o
+LIBRCOBJS = librc.o librc-depend.o librc-daemon.o librc-misc.o librc-strlist.o
+
+RCOBJS = env-update.o fstabinfo.o mountinfo.o \
+ rc-depend.o rc-plugin.o rc-status.o runscript.o start-stop-daemon.o
LIB_TARGETS = $(LIBEINFOSO) $(LIBRCSO)
SBIN_TARGETS = rc
@@ -122,7 +123,7 @@ rc-status: $(LIBEINFOSO) $(LIBRCSO) rc-status.o
rc-update: $(LIBEINFOSO) $(LIBRCSO) rc-update.o
rc: LDLIBS += $(LDLIBS_RC)
-rc: $(LIBEINFOSO) $(LIBRCSO) rc-plugin.o rc.o
+rc: $(LIBEINFOSO) $(LIBRCSO) $(RCOBJS) rc.o
runscript: LDLIBS += $(LDLIBS_RS)
runscript: $(LIBEINFOSO) $(LIBRCSO) rc-plugin.o runscript.o