version 1.6, 2006/06/30 19:00:29 |
version 1.7, 2007/11/03 15:14:32 |
|
|
|
|
# some of the rules involve .h sources, so remove them from mkdep line |
# some of the rules involve .h sources, so remove them from mkdep line |
.if !target(depend) |
.if !target(depend) |
depend: beforedepend .depend _SUBDIRUSE afterdepend |
depend: beforedepend .depend subdirdepend afterdepend |
|
.ORDER: beforedepend .depend subdirdepend afterdepend |
|
subdirdepend: _SUBDIRUSE |
|
|
. if defined(SRCS) |
. if defined(SRCS) |
.depend: ${SRCS} ${_LEXINTM} ${_YACCINTM} |
.depend: ${SRCS} ${_LEXINTM} ${_YACCINTM} |
@rm -f .depend |
@rm -f .depend |
|
|
rm -f .depend ${.CURDIR}/tags |
rm -f .depend ${.CURDIR}/tags |
.endif |
.endif |
|
|
.PHONY: beforedepend depend afterdepend cleandepend |
.PHONY: beforedepend depend afterdepend cleandepend subdirdepend |