aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-07-31 16:16:18 +0000
committerRoy Marples <roy@marples.name>2007-07-31 16:16:18 +0000
commitb6b849bfd75495987be74a7679c7964dbb159bf5 (patch)
tree66eecf51d7a9427e8b1116f9dd600e1a5684891a /src/Makefile
parente6ec76ac40757d51de8d9016b5214014c5c500ae (diff)
Link the right objects against rc
Diffstat (limited to 'src/Makefile')
-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