don't bother resolving onbld python module deps
[unleashed.git] / share / mk / prlist.mk
blob09d7dfdacc9787c0bee9030feee6631bf9751767
1 # $Id: prlist.mk,v 1.3 2008/07/17 16:24:57 sjg Exp $
3 # @(#) Copyright (c) 2006, Simon J. Gerraty
5 # This file is provided in the hope that it will
6 # be of use. There is absolutely NO WARRANTY.
7 # Permission to copy, redistribute or otherwise
8 # use this file is hereby granted provided that
9 # the above copyright notice and this notice are
10 # left intact.
12 # Please send copies of changes and bug-fixes to:
13 # sjg@crufty.net
16 .if !target(__${.PARSEFILE}__)
17 __${.PARSEFILE}__:
19 # this needs to be included after all the lists it will process
20 # are defined - which is why it is a separate file.
21 # Usage looks like:
22 # MAKEFLAGS= ${.MAKE} -f ${MAKEFILE} prlist.SOMETHING_HUGE | xargs whatever
24 .if make(prlist.*)
25 .for t in ${.TARGETS:Mprlist.*:E}
26 .if empty($t)
27 prlist.$t:
28 .else
29 prlist.$t: ${$t:O:u:S,^,prlist-,}
30 ${$t:O:u:S,^,prlist-,}: .PHONY
31 @echo "${.TARGET:S,prlist-,,}"
32 .endif
33 .endfor
34 .endif
36 .endif