From de88aff0a839844526ae262f8961ec4372fed238 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 22 Sep 2013 20:23:56 -0500 Subject: 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. --- src/rc/Makefile | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'src/rc/Makefile') diff --git a/src/rc/Makefile b/src/rc/Makefile index a2e638e8..6490826e 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 -- cgit v1.2.3