SCCS-vsn: share/mk/bsd.prog.mk 5.14
-# @(#)bsd.prog.mk 5.13 (Berkeley) %G%
+# @(#)bsd.prog.mk 5.14 (Berkeley) %G%
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
.if exists(${.CURDIR}/../Makefile.inc)
.include "${.CURDIR}/../Makefile.inc"
else \
cd ${.CURDIR}/$${entry}; \
fi; \
else \
cd ${.CURDIR}/$${entry}; \
fi; \
- ${MAKE} ${.TARGET:realinstall=install}) \
+ ${MAKE} ${.TARGET:S/realinstall/install/:S/.depend/depend/}) \
.if !target(depend)
depend: .depend
.depend: ${SRCS} _PROGSUBDIR
.if !target(depend)
depend: .depend
.depend: ${SRCS} _PROGSUBDIR
mkdep ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}
.endif
mkdep ${CFLAGS:M-[ID]*} ${.ALLSRC:M*.c}
.endif
.if !target(install)
.if !target(beforeinstall)
.if !target(install)
.if !target(beforeinstall)
.if !target(lint)
lint: ${SRCS} _PROGSUBDIR
.if !target(lint)
lint: ${SRCS} _PROGSUBDIR
@${LINT} ${LINTFLAGS} ${CFLAGS} ${.ALLSRC} | more 2>&1
.endif
@${LINT} ${LINTFLAGS} ${CFLAGS} ${.ALLSRC} | more 2>&1
.endif
.if !target(tags)
tags: ${SRCS} _PROGSUBDIR
.if !target(tags)
tags: ${SRCS} _PROGSUBDIR
cd ${.CURDIR}; ctags -f /dev/stdout ${.ALLSRC} | \
sed "s;\${.CURDIR}/;;" > tags
.endif
cd ${.CURDIR}; ctags -f /dev/stdout ${.ALLSRC} | \
sed "s;\${.CURDIR}/;;" > tags
.endif
.if !defined(NOMAN)
.include <bsd.man.mk>
.if !defined(NOMAN)
.include <bsd.man.mk>