X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=makedepend.SH;h=7129e08a8456b3f207bce51c8843d7432d6432d8;hb=6439433f25b10ec5d9ab02cf0758bdbcfdffe5ff;hp=e1c28468bdbcfc08f3c7aba05dd42f0e91bc85d8;hpb=92c28edd459d810e3c841dc07d7846c462b368a9;p=p5sagit%2Fp5-mst-13.2.git diff --git a/makedepend.SH b/makedepend.SH index e1c2846..7129e08 100755 --- a/makedepend.SH +++ b/makedepend.SH @@ -105,7 +105,7 @@ for file in `$cat .clist`; do if [ "$osname" = os2 ]; then uwinfix="-e s,\\\\\\\\,/,g" else - if [ "$archname" = cygwin32 ]; then + if [ "$archname" = cygwin ]; then uwinfix="-e s,\\\\\\\\,/,g" else uwinfix= @@ -130,8 +130,12 @@ for file in `$cat .clist`; do -e 's|\\$||' \ -e p \ -e '}' ) >UU/$file.c + if [ "$osname" = os390 -a "$file" = perly.c ]; then + $echo '#endif' >>UU/$file.c + fi $cppstdin $finc -I. $cppflags $cppminus /d' \ -e '/^#.*"-"/d' \ -e 's#\.[0-9][0-9]*\.c#'"$file.c#" \