]> git.saurik.com Git - apple/icu.git/blame - icuSources/config/make2sh.sed
ICU-8.11.tar.gz
[apple/icu.git] / icuSources / config / make2sh.sed
CommitLineData
73c04bcf 1# Copyright (C) 1999-2006, International Business Machines Corporation and others. All Rights Reserved.
b75a7d8f
A
2s%^\([a-zA-Z\._-]*\)[ ]*+=%\1=$(\1) %
3s%^[A-Z]*_SO_TARG*%## &%
73c04bcf 4s%^SHARED_OBJECT.*%## &%
374ca955 5s%^LD_SONAME.*%## &%
b75a7d8f
A
6s%$(\([^\)]*\))%${\1}%g
7s%^ %#M# %
8s@^[a-zA-Z%$.][^=]*$@#M#&@
9s@^\([a-zA-Z][-.a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1="\2"@
10s@^\([a-zA-Z][-a-zA-Z_0-9-]*\)\.\([a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1_\2=\3@
11s@^\([a-zA-Z][-a-zA-Z_0-9-]*\)\-\([a-zA-Z_0-9-]*\)[ ]*=[ ]*\(.*\)@\1_\2=\3@
12s@^\(prefix\)=\(.*\)@default_\1=\2\
13if [ "x${\1}" = "x" ]; then \1="$default_\1"; fi@
14s@^\(ENABLE_RPATH\)=\(.*\)@default_\1=\2\
15if [ "x${\1}" = "x" ]; then \1="$default_\1"; fi@
16s%^#SH#[ ]*%%