summaryrefslogtreecommitdiff
path: root/src/rc/Makefile
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-09-22 20:23:56 -0500
committerWilliam Hubbs <w.d.hubbs@gmail.com>2013-09-26 22:18:21 -0500
commitde88aff0a839844526ae262f8961ec4372fed238 (patch)
tree74c98ab41e7a03456d3c2a52c8cfb2fe3d39b915 /src/rc/Makefile
parent9e989227ab51cd880405958a0b11c63fa461ea7e (diff)
downloadopenrc-de88aff0a839844526ae262f8961ec4372fed238.tar.gz
openrc-de88aff0a839844526ae262f8961ec4372fed238.tar.bz2
openrc-de88aff0a839844526ae262f8961ec4372fed238.tar.xz
Make einfo routines private
The libeinfo library has no consumers other than OpenRC, so there is no reason for it to be maintained as a library. The einfo routines are now an object that links with the rc binary.
Diffstat (limited to 'src/rc/Makefile')
-rw-r--r--src/rc/Makefile27
1 files changed, 20 insertions, 7 deletions
diff --git a/src/rc/Makefile b/src/rc/Makefile
index a2e638e..6490826 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -1,8 +1,21 @@
PROG= rc
-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
+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
CLEANFILES= version.h
@@ -30,9 +43,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 -I../libeinfo
-LDFLAGS+= -L../librc -L../libeinfo
-LDADD+= -lutil -lrc -leinfo
+CPPFLAGS+= -I../includes -I../librc
+LDFLAGS+= -L../librc
+LDADD+= -lutil -lrc
include ../../Makefile.inc
MK= ../../mk