aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-07-31 16:35:24 +0000
committerRoy Marples <roy@marples.name>2007-07-31 16:35:24 +0000
commitcb172722a985dcd3d7ec4bb69622daf84ff4793d (patch)
treec99ee1562f65b669b9ed2de59c7c96187b653177
parentb6b849bfd75495987be74a7679c7964dbb159bf5 (diff)
Fix building on Linux
-rw-r--r--src/Makefile22
1 files changed, 2 insertions, 20 deletions
diff --git a/src/Makefile b/src/Makefile
index c864ef16..84080d85 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -110,28 +110,10 @@ $(LIBRCSO): $(LIBRCOBJS)
$(CC) -fPIC -shared -Wl,-soname,$(LIBRCSO) -o $(LIBRCSO) $(LDLIBS_LIBRC) $(LIBRCOBJS)
ln -sf $(LIBRCSO) librc.so
-env-update: $(LIBEINFOSO) $(LIBRCSO) env-update.o
-
-fstabinfo: $(LIBEINFOSO) fstabinfo.o
-
-mountinfo: $(LIBEINFOSO) $(LIBRCSO) mountinfo.o
-
-rc-depend: $(LIBEINFOSO) $(LIBRCSO) rc-depend.o
-
-rc-status: $(LIBEINFOSO) $(LIBRCSO) rc-status.o
-
-rc-update: $(LIBEINFOSO) $(LIBRCSO) rc-update.o
-
-rc: LDLIBS += $(LDLIBS_RC)
+rc: CPPFLAGS += $(CPPFLAGS_SSD)
+rc: LDLIBS += $(LDLIBS_RC) $(LDLIBS_RS) $(LDLIBS_SSD)
rc: $(LIBEINFOSO) $(LIBRCSO) $(RCOBJS) rc.o
-runscript: LDLIBS += $(LDLIBS_RS)
-runscript: $(LIBEINFOSO) $(LIBRCSO) rc-plugin.o runscript.o
-
-start-stop-daemon: CPPFLAGS += $(CPPFLAGS_SSD)
-start-stop-daemon: LDLIBS += $(LDLIBS_SSD)
-start-stop-daemon: $(LIBEINFOSO) $(LIBRCSO) start-stop-daemon.o
-
links: rc
for x in $(BINLINKS) $(SBINLINKS) $(RCLINKS) $(RCPRIVLINKS); do ln -sf rc $$x; done