diff options
Diffstat (limited to 'mkc_imp.subprj.mk')
-rw-r--r-- | mkc_imp.subprj.mk | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/mkc_imp.subprj.mk b/mkc_imp.subprj.mk deleted file mode 100644 index 69dc369..0000000 --- a/mkc_imp.subprj.mk +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright (c) 2010 by Aleksey Cheusov -# Copyright (c) 1994-2009 The NetBSD Foundation, Inc. -# Copyright (c) 1988, 1989, 1993 The Regents of the University of California -# Copyright (c) 1988, 1989 by Adam de Boor -# Copyright (c) 1989 by Berkeley Softworks -# -# See COPYRIGHT file in the distribution. -############################################################ - -.if !defined(_MKC_IMP_SUBPRJ_MK) -_MKC_IMP_SUBPRJ_MK := 1 - -.for dir in ${SUBPRJ:S/:/ /g} -.if empty(NOSUBDIR:U:M${dir}) -__REALSUBPRJ += ${dir} -.endif -.endfor - -__REALSUBPRJ := ${__REALSUBPRJ:O:u} - -SUBPRJ_DFLT ?= ${__REALSUBPRJ} - -.for targ in ${TARGETS} -.for dir in ${__REALSUBPRJ} -.PHONY: nodeps-${targ}-${dir} subdir-${targ}-${dir} ${targ}-${dir} -nodeps-${targ}-${dir}: .MAKE __recurse - ${targ}-${dir}: .MAKE __recurse # nodeps-${targ}-${dir} -subdir-${targ}-${dir}: .MAKE __recurse # nodeps-${targ}-${dir} -.endfor # dir - -.for dir in ${SUBPRJ_DFLT} -.if !commands(${targ}) -${targ}: ${targ}-${dir} -.endif -.endfor - -.for dep prj in ${SUBPRJ:M*\:*:S/:/ /} -.PHONY: ${targ}-${prj} ${targ}-${dep} -${targ}-${prj}: ${targ}-${dep} -.endfor - -.endfor # targ - -.for dir in ${__REALSUBPRJ} -.PHONY: ${dir} -${dir}: all-${dir} -.endfor # dir - -# Make sure all of the standard targets are defined, even if they do nothing. -${TARGETS}: - -.include <mkc_imp.objdir.mk> - -.endif # _MKC_IMP_SUBPRJ_MK |