X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2Futil%2Fmake_ext;h=317dd5c8ce3eafb7967c5e26619ae977153110ba;hb=f54fca96add61189e2fde1d41312bc8885ac2d97;hp=70a5d2eb231a209166995138f25b4769c55d34aa;hpb=fb73857aa0bfa8ed43d4d2f972c564c70a57e0c4;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/util/make_ext b/ext/util/make_ext index 70a5d2e..317dd5c 100644 --- a/ext/util/make_ext +++ b/ext/util/make_ext @@ -61,6 +61,8 @@ fi case "$extspec" in lib*) # Remove lib/auto prefix and /*.* suffix pname=`echo "$extspec" | sed -e 's:^lib/auto/::' -e 's:/[^/]*\.[^/]*$::' ` ;; +ext*) # Remove ext/ prefix and /pm_to_blib suffix + pname=`echo "$extspec" | sed -e 's:^ext/::' -e 's:/pm_to_blib$::' ` ;; *::*) # Convert :: to / pname=`echo "$extspec" | sed -e 's/::/\//g' ` ;; *) pname="$extspec" ;; @@ -93,6 +95,10 @@ dynamic) makeargs="LINKTYPE=dynamic"; target=all ;; +nonxs) makeargs=""; + target=all + ;; + *clean) # If Makefile has been moved to Makefile.old by a make clean # then use Makefile.old for realclean rather than rebuild it if test ! -f $makefile -a -f Makefile.old; then @@ -110,7 +116,7 @@ dynamic) makeargs="LINKTYPE=dynamic"; esac if test ! -f $makefile ; then - test -f Makefile.PL && ../$depth/miniperl -I../$depth/lib Makefile.PL INSTALLDIRS=perl $passthru + test -f Makefile.PL && ../$depth/miniperl -I../$depth/lib Makefile.PL INSTALLDIRS=perl PERL_CORE=1 $passthru fi if test ! -f $makefile ; then if test -f Makefile.SH; then