From 3506cb2dc737bbe5bdeaf0bcd9d239db98be1819 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Wed, 30 Jan 2008 15:00:58 +0000 Subject: Ensure that we use our default CFLAGS if none set. --- src/rc/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/rc/Makefile b/src/rc/Makefile index 15d07333..c8ac7816 100644 --- a/src/rc/Makefile +++ b/src/rc/Makefile @@ -6,10 +6,6 @@ SRCS= checkpath.c fstabinfo.c mountinfo.c \ CLEANFILES= version.h -LDFLAGS+= -L../librc -L../libeinfo -LDADD+= -lutil -lrc -leinfo -CFLAGS+= -I../includes -I../librc -I../libeinfo - BINDIR?= /sbin LINKDIR= ${LIBNAME}/${PROG} @@ -32,11 +28,15 @@ RC_SBINLINKS= mark_service_starting mark_service_started \ rc-abort MK= ../../mk -include ${MK}/os.mk -CFLAGS+= -DLIB=\"${LIBNAME}\" include ${MK}/cc.mk +include ${MK}/os.mk include ${MK}/prog.mk +LDFLAGS+= -L../librc -L../libeinfo +LDADD+= -lutil -lrc -leinfo +CFLAGS+= -I../includes -I../librc -I../libeinfo +CFLAGS+= -DLIB=\"${LIBNAME}\" + include ${MK}/${MKTERMCAP}.mk LDADD+= ${LIBDL} ${LIBKVM} include ${MK}/${MKPAM}.mk -- cgit v1.2.3