sys.mk (5f1e34d9) | sys.mk (6a91b982) |
---|---|
1# $Id: sys.mk,v 1.35 2012/11/12 06:27:51 sjg Exp $ | 1# $Id: sys.mk,v 1.36 2014/05/11 00:30:19 sjg Exp $ |
2# 3# @(#) Copyright (c) 2003-2009, Simon J. Gerraty 4# 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 --- 62 unchanged lines hidden (view full) --- 72 73# turn a list into a set of :N modifiers 74# NskipFoo = ${Foo:${M_ListToSkip}} 75M_ListToSkip= O:u:ts::S,:,:N,g:S,^,N, 76 77# type should be a builtin in any sh since about 1980, 78# AUTOCONF := ${autoconf:L:${M_whence}} 79M_type = @x@(type $$x 2> /dev/null); echo;@:sh:[0]:N* found*:[@]:C,[()],,g | 2# 3# @(#) Copyright (c) 2003-2009, Simon J. Gerraty 4# 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 --- 62 unchanged lines hidden (view full) --- 72 73# turn a list into a set of :N modifiers 74# NskipFoo = ${Foo:${M_ListToSkip}} 75M_ListToSkip= O:u:ts::S,:,:N,g:S,^,N, 76 77# type should be a builtin in any sh since about 1980, 78# AUTOCONF := ${autoconf:L:${M_whence}} 79M_type = @x@(type $$x 2> /dev/null); echo;@:sh:[0]:N* found*:[@]:C,[()],,g |
80M_whence = ${M_type}:M/* | 80M_whence = ${M_type}:M/*:[1] |
81 82# convert a path to a valid shell variable 83M_P2V = tu:C,[./-],_,g 84 85# convert path to absolute 86.if ${MAKE_VERSION:U0} > 20100408 87M_tA = tA 88.else --- 111 unchanged lines hidden --- | 81 82# convert a path to a valid shell variable 83M_P2V = tu:C,[./-],_,g 84 85# convert path to absolute 86.if ${MAKE_VERSION:U0} > 20100408 87M_tA = tA 88.else --- 111 unchanged lines hidden --- |