Deleted Added
full compact
bsd.dep.mk (34829) bsd.dep.mk (35789)
1# $Id: bsd.dep.mk,v 1.18 1998/03/07 13:57:37 bde Exp $
1# $Id: bsd.dep.mk,v 1.19 1998/03/23 14:58:26 eivind Exp $
2#
3# The include file <bsd.dep.mk> handles Makefile dependencies.
4#
5#
6# +++ variables +++
7#
8# DEPENDFILE dependencies file [.depend]
9#

--- 80 unchanged lines hidden (view full) ---

90cleandepend: _SUBDIR
91.if defined(SRCS)
92 rm -f ${DEPENDFILE} ${.OBJDIR}/GRTAGS ${.OBJDIR}/GSYMS ${.OBJDIR}/GTAGS
93.if defined(HTML)
94 rm -rf ${.OBJDIR}/HTML
95.endif
96.endif
97.endif
2#
3# The include file <bsd.dep.mk> handles Makefile dependencies.
4#
5#
6# +++ variables +++
7#
8# DEPENDFILE dependencies file [.depend]
9#

--- 80 unchanged lines hidden (view full) ---

90cleandepend: _SUBDIR
91.if defined(SRCS)
92 rm -f ${DEPENDFILE} ${.OBJDIR}/GRTAGS ${.OBJDIR}/GSYMS ${.OBJDIR}/GTAGS
93.if defined(HTML)
94 rm -rf ${.OBJDIR}/HTML
95.endif
96.endif
97.endif
98
99_SUBDIR: .USE
100.if defined(SUBDIR) && !empty(SUBDIR)
101 @for entry in ${SUBDIR}; do \
102 (${ECHODIR} "===> ${DIRPRFX}$$entry"; \
103 if test -d ${.CURDIR}/$${entry}.${MACHINE}; then \
104 cd ${.CURDIR}/$${entry}.${MACHINE}; \
105 else \
106 cd ${.CURDIR}/$${entry}; \
107 fi; \
108 ${MAKE} ${.TARGET:S/realinstall/install/:S/.depend/depend/} DIRPRFX=${DIRPRFX}$$entry/); \
109 done
110.endif