Mercurial > pub > dyncall > dyncall
changeset 30:c16bc7736bb4
- added configure (only sh-version) option to display list of settable targets
author | cslag |
---|---|
date | Sat, 21 Nov 2015 16:16:26 +0100 |
parents | 99eaf237568e |
children | 6e7b1b7ad9d3 |
files | configure |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Wed Sep 16 09:55:53 2015 +0200 +++ b/configure Sat Nov 21 16:16:26 2015 +0100 @@ -23,6 +23,8 @@ --prefix=<dir> --target=<platform> uname/special targets: MacOSX,iOS,iPhoneSimulator + use "?" to get a list of explicitly specifiable + targets --sdk=<version> Mac OS X/iOS SDK version (e.g. '6.1' or '10.9.3') Tested iOS SDK versions: 4.3, 6.1, 8.1 --sdkroot=<dir> @@ -183,6 +185,10 @@ # ... newlib. printf "LDLIBS=-L${SDKROOT}/lib/ -L`dirname ${FULL}`/dyncall -L`dirname ${FULL}`/dyncallback -ldyncall_s -ldyncallback_s -lm -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lstdc++ -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser \n" >>$C ;; + ?) + cat $0 | awk '/^esac$/{b=0}/^ [A-Za-z0-9|]+\)/{if(b==1) print substr($1,1,length($1)-1)}BEGIN{b=0}/^case.*TARGET.*uname.*in$/{b=1}' | tr '|' '\n' + exit 0 + ;; esac BLDTOP="$PWD"