--- SheepShaver/Makefile 2002/02/04 16:58:13 1.1 +++ SheepShaver/Makefile 2004/11/15 23:41:08 1.15 @@ -11,6 +11,9 @@ TMPDIR := $(shell date +/tmp/build%m%s) DOCS := HISTORY LOG TODO SRCS := src +# Where Basilisk II directory can be found +B2_TOPDIR := ../BasiliskII + default: help help: @@ -52,9 +55,21 @@ links: BeOS/serial_beos.cpp BeOS/sys_beos.cpp BeOS/timer_beos.cpp \ BeOS/xpram_beos.cpp BeOS/SheepDriver BeOS/SheepNet \ Unix/audio_oss_esd.cpp Unix/extfs_unix.cpp Unix/serial_unix.cpp \ + Unix/sshpty.h Unix/sshpty.c Unix/strlcpy.h Unix/strlcpy.c \ Unix/sys_unix.cpp Unix/timer_unix.cpp Unix/xpram_unix.cpp \ - Unix/Linux/scsi_linux.cpp Unix/Linux/NetDriver'; \ + Unix/sigsegv.h Unix/sigsegv.cpp Unix/vm_alloc.h Unix/vm_alloc.cpp \ + Unix/posix_sem.cpp Unix/video_vosf.h Unix/video_blit.h \ + Unix/video_blit.cpp Unix/config.sub Unix/config.guess \ + Unix/keycodes Unix/tunconfig Unix/clip_unix.cpp \ + Unix/Linux/scsi_linux.cpp Unix/Linux/NetDriver \ + Unix/Darwin/lowmem.c Unix/Darwin/pagezero.c Unix/Darwin/testlmem.sh \ + dummy/audio_dummy.cpp dummy/clip_dummy.cpp \ + dummy/prefs_editor_dummy.cpp dummy/scsi_dummy.cpp SDL \ + MacOSX/sys_darwin.cpp MacOSX/clip_macosx.cpp \ + MacOSX/macos_util_macosx.h MacOSX/extfs_macosx.h \ + MacOSX/extfs_macosx.mm'; \ + PREFIX="`pwd`/"; case $(B2_TOPDIR) in /*) PREFIX="";; esac; \ for i in $$list; do \ echo $$i; \ - ln -sf `pwd`/../BasiliskII/src/$$i src/$$i; \ + ln -sf $${PREFIX}$(B2_TOPDIR)/src/$$i src/$$i; \ done;