diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-11-03 15:14:33 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-11-03 15:14:33 +0000 |
commit | 78ec2dbc884e03e0d0f4cd638553a11d1d193c5b (patch) | |
tree | 798824518b30b39dd9e4fe7824e622e0ab940a58 /share/mk/bsd.dep.mk | |
parent | 4e6a5e0d25c977fb69efa68d7f1922d4cfaf3367 (diff) |
unmess make depend: make sure stuff is built in the correct order.
Diffstat (limited to 'share/mk/bsd.dep.mk')
-rw-r--r-- | share/mk/bsd.dep.mk | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index f21fe7f3098..55cce19552b 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -1,9 +1,12 @@ -# $OpenBSD: bsd.dep.mk,v 1.6 2006/06/30 19:00:29 otto Exp $ +# $OpenBSD: bsd.dep.mk,v 1.7 2007/11/03 15:14:32 espie Exp $ # $NetBSD: bsd.dep.mk,v 1.12 1995/09/27 01:15:09 christos Exp $ # some of the rules involve .h sources, so remove them from mkdep line .if !target(depend) -depend: beforedepend .depend _SUBDIRUSE afterdepend +depend: beforedepend .depend subdirdepend afterdepend +.ORDER: beforedepend .depend subdirdepend afterdepend +subdirdepend: _SUBDIRUSE + . if defined(SRCS) .depend: ${SRCS} ${_LEXINTM} ${_YACCINTM} @rm -f .depend @@ -49,4 +52,4 @@ cleandepend: rm -f .depend ${.CURDIR}/tags .endif -.PHONY: beforedepend depend afterdepend cleandepend +.PHONY: beforedepend depend afterdepend cleandepend subdirdepend |