aboutsummaryrefslogtreecommitdiff
path: root/src/rc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/rc/Makefile')
-rw-r--r--src/rc/Makefile27
1 files changed, 7 insertions, 20 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile
index 6490826e..a2e638e8 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -1,21 +1,8 @@
PROG= rc
-SRCS= \
- checkpath.c \
- einfo.c \
- fstabinfo.c \
- mountinfo.c \
- rc-applets.c \
- rc-depend.c \
- rc-logger.c \
- rc-misc.c \
- rc-plugin.c \
- rc-service.c \
- rc-status.c \
- rc-update.c \
- rc.c \
- runscript.c \
- start-stop-daemon.c \
- swclock.c
+SRCS= checkpath.c fstabinfo.c mountinfo.c start-stop-daemon.c \
+ rc-applets.c rc-depend.c rc-logger.c \
+ rc-misc.c rc-plugin.c rc-service.c rc-status.c rc-update.c \
+ runscript.c rc.c swclock.c
CLEANFILES= version.h
@@ -43,9 +30,9 @@ RC_SBINLINKS= mark_service_starting mark_service_started \
ALL_LINKS= ${BINLINKS} ${SBINLINKS} ${RC_BINLINKS} ${RC_SBINLINKS}
CLEANFILES+= ${ALL_LINKS}
-CPPFLAGS+= -I../includes -I../librc
-LDFLAGS+= -L../librc
-LDADD+= -lutil -lrc
+CPPFLAGS+= -I../includes -I../librc -I../libeinfo
+LDFLAGS+= -L../librc -L../libeinfo
+LDADD+= -lutil -lrc -leinfo
include ../../Makefile.inc
MK= ../../mk