diff options
author | Roy Marples <roy@marples.name> | 2008-01-30 15:00:58 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-01-30 15:00:58 +0000 |
commit | 3506cb2dc737bbe5bdeaf0bcd9d239db98be1819 (patch) | |
tree | ba4981f325edf40c5f5019862a2edf43b50b1680 /src/rc | |
parent | 3f0381e3e6e0b441eca450dc8cd769b519d910e2 (diff) |
Ensure that we use our default CFLAGS if none set.
Diffstat (limited to 'src/rc')
-rw-r--r-- | src/rc/Makefile | 12 |
1 files 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 |