Ensure that we use our default CFLAGS if none set.
This commit is contained in:
parent
3f0381e3e6
commit
3506cb2dc7
@ -6,10 +6,6 @@ SRCS= checkpath.c fstabinfo.c mountinfo.c \
|
|||||||
|
|
||||||
CLEANFILES= version.h
|
CLEANFILES= version.h
|
||||||
|
|
||||||
LDFLAGS+= -L../librc -L../libeinfo
|
|
||||||
LDADD+= -lutil -lrc -leinfo
|
|
||||||
CFLAGS+= -I../includes -I../librc -I../libeinfo
|
|
||||||
|
|
||||||
BINDIR?= /sbin
|
BINDIR?= /sbin
|
||||||
|
|
||||||
LINKDIR= ${LIBNAME}/${PROG}
|
LINKDIR= ${LIBNAME}/${PROG}
|
||||||
@ -32,11 +28,15 @@ RC_SBINLINKS= mark_service_starting mark_service_started \
|
|||||||
rc-abort
|
rc-abort
|
||||||
|
|
||||||
MK= ../../mk
|
MK= ../../mk
|
||||||
include ${MK}/os.mk
|
|
||||||
CFLAGS+= -DLIB=\"${LIBNAME}\"
|
|
||||||
include ${MK}/cc.mk
|
include ${MK}/cc.mk
|
||||||
|
include ${MK}/os.mk
|
||||||
include ${MK}/prog.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
|
include ${MK}/${MKTERMCAP}.mk
|
||||||
LDADD+= ${LIBDL} ${LIBKVM}
|
LDADD+= ${LIBDL} ${LIBKVM}
|
||||||
include ${MK}/${MKPAM}.mk
|
include ${MK}/${MKPAM}.mk
|
||||||
|
Loading…
Reference in New Issue
Block a user