--- SheepShaver/Makefile 2006/07/17 07:43:54 1.29 +++ SheepShaver/Makefile 2010/04/08 03:50:26 1.33 @@ -72,8 +72,11 @@ links: dummy/audio_dummy.cpp dummy/clip_dummy.cpp dummy/serial_dummy.cpp \ dummy/prefs_editor_dummy.cpp dummy/scsi_dummy.cpp SDL slirp \ MacOSX/sys_darwin.cpp MacOSX/clip_macosx.cpp \ - MacOSX/macos_util_macosx.h MacOSX/extfs_macosx.h \ - MacOSX/extfs_macosx.mm Windows/clip_windows.cpp \ + MacOSX/macos_util_macosx.h Unix/cpr.sh \ + MacOSX/extfs_macosx.cpp Windows/clip_windows.cpp \ + MacOSX/MacOSX_sound_if.cpp MacOSX/MacOSX_sound_if.h \ + MacOSX/AudioBackEnd.cpp MacOSX/AudioBackEnd.h \ + MacOSX/AudioDevice.cpp MacOSX/AudioDevice.h MacOSX/audio_macosx.cpp \ Windows/cd_defs.h Windows/cdenable Windows/extfs_windows.cpp \ Windows/posix_emu.cpp Windows/posix_emu.h Windows/sys_windows.cpp \ Windows/timer_windows.cpp Windows/util_windows.cpp \ @@ -83,9 +86,13 @@ links: Windows/ether_windows.h Windows/ether_windows.cpp \ Windows/serial_windows.cpp Windows/prefs_editor_gtk.cpp \ uae_cpu/compiler/codegen_x86.h'; \ - PREFIX="`pwd`/"; case $(B2_TOPDIR) in /*) PREFIX="";; esac; \ + PREFIX="../"; case $(B2_TOPDIR) in /*) PREFIX="";; esac; \ for i in $$list; do \ - echo $$i; o=$$i; \ - case $$i in *codegen_x86.h) o=kpx_cpu/src/cpu/jit/x86/codegen_x86.h;; esac; \ - ln -sf "$${PREFIX}$(B2_TOPDIR)/src/$$i" src/$$o; \ - done; + if test "$$i" != "\\"; then \ + echo $$i; o=$$i; \ + case $$i in *codegen_x86.h) o=kpx_cpu/src/cpu/jit/x86/codegen_x86.h;; esac; \ + SUB=`echo $$o | sed 's;[^/]*/;../;g' | sed 's;[^/]*$$;;'` ;\ + ln -sf "$$PREFIX$$SUB$(B2_TOPDIR)/src/$$i" src/$$o; \ + fi; \ + done; \ + ln -sf ../../../../../SheepShaver/src/Unix/config.h $(B2_TOPDIR)/src/Unix/Linux/NetDriver/config.h