rhapsody*)
ldlibpth="DYLD_LIBRARY_PATH=`pwd`/Perl:$DYLD_LIBRARY_PATH"
;;
+ cygwin*) ldlibpth="PATH=`pwd`:$PATH"
+ linklibperl="-lperl"
+ ;;
os2*) # OS/2 doesn't need anything special for LD_LIBRARY_PATH.
ldlibpth=''
;;
# How to build libperl. This is still rather convoluted.
# Load up custom Makefile.SH fragment for shared loading and executables:
-if test -r $osname/Makefile.SHs ; then
- . $osname/Makefile.SHs
+case "$osname" in
+cygwin*)
+ Makefile_s="cygwin32/Makefile.SHs"
+ ;;
+*)
+ Makefile_s="$osname/Makefile.SHs"
+ ;;
+esac
+
+if test -r $Makefile_s ; then
+ . $Makefile_s
$spitshell >>Makefile <<!GROK!THIS!
-Makefile: $osname/Makefile.SHs
+Makefile: $Makefile_s
!GROK!THIS!
else
$spitshell >>Makefile <<'!NO!SUBS!'