freebsd-nq/mk/elftoolchain.subdir.mk
Ed Maste 5eccfb5cf5 Import elftoolchain rev 3130
From svn.code.sf.net/p/elftoolchain/code/trunk
2014-12-22 20:32:23 +00:00

20 lines
450 B
Makefile

#
# Rules for recursing into directories
# $Id: elftoolchain.subdir.mk 3023 2014-04-17 18:06:06Z jkoshy $
# Pass down 'test' as a valid target.
.include "$(TOP)/mk/elftoolchain.os.mk"
.if ${OS_HOST} == DragonFly
clobber test:: _SUBDIR
.elif ${OS_HOST} == FreeBSD
SUBDIR_TARGETS+= clobber test
.elif ${OS_HOST} == OpenBSD
clobber test:: _SUBDIRUSE
.else # NetBSD, pmake on Linux
TARGETS+= cleandepend clobber test
.endif
.include <bsd.subdir.mk>