From de40feed71ecb92ddf03de8d74330eb78a31b0c6 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 2 Feb 2003 22:56:16 +0000 Subject: [PATCH] kernelland_emu is now a shared rather than a static library. The userland versions of the kernel modules are now linked against it and not longer against DiskScannerTest. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2626 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tests/add-ons/kernel/Jamfile | 6 ++++-- src/tests/add-ons/kernel/disk_scanner/Jamfile | 6 +++--- src/tests/add-ons/kernel/disk_scanner/fs/Jamfile | 4 ++-- src/tests/add-ons/kernel/disk_scanner/partition/Jamfile | 2 +- src/tests/add-ons/kernel/disk_scanner/session/Jamfile | 2 +- 5 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/tests/add-ons/kernel/Jamfile b/src/tests/add-ons/kernel/Jamfile index c697cfd499..26cdc9793d 100644 --- a/src/tests/add-ons/kernel/Jamfile +++ b/src/tests/add-ons/kernel/Jamfile @@ -1,7 +1,9 @@ SubDir OBOS_TOP src tests add-ons kernel ; -StaticLibrary kernelland_emu : kernelland_emu.cpp ; -#LinkSharedOSLibs libkernelland_emu.a : be stdc++.r4 ; +SharedLibrary kernelland_emu : kernelland_emu.cpp ; +LinkSharedOSLibs libkernelland_emu.so : be stdc++.r4 ; +AbsSymLink libkernelland_emu.so : libkernelland_emu.so + : /boot/home/config/lib ; SubInclude OBOS_TOP src tests add-ons kernel disk_scanner ; SubInclude OBOS_TOP src tests add-ons kernel file_systems ; diff --git a/src/tests/add-ons/kernel/disk_scanner/Jamfile b/src/tests/add-ons/kernel/disk_scanner/Jamfile index 0859ff4629..f506649ca9 100644 --- a/src/tests/add-ons/kernel/disk_scanner/Jamfile +++ b/src/tests/add-ons/kernel/disk_scanner/Jamfile @@ -4,8 +4,9 @@ UsePrivateHeaders $(DOT) ; # the test app +SEARCH_SOURCE += [ FDirName $(OBOS_TOP) src kernel libroot os ] ; SimpleTest DiskScannerTest : DiskScannerTest.cpp - : libkernelland_emu.a be stdc++.r4 ; + : libkernelland_emu.so be stdc++.r4 ; LOCATE on DiskScannerTest = [ on DiskScannerTest return $(LOCATE) ] ; Depends DiskScannerTest : DiskScannerTest ; @@ -22,8 +23,7 @@ SEARCH_SOURCE += [ FDirName $(OBOS_TOP) src add-ons kernel disk_scanner ] ; Addon disk_scanner : userland disk_scanner : disk_scanner.c ; -#LinkSharedOSLibs disk_scanner : libkernelland_emu.so ; -LinkSharedOSLibs disk_scanner : DiskScannerTest ; +LinkSharedOSLibs disk_scanner : libkernelland_emu.so ; SubInclude OBOS_TOP src tests add-ons kernel disk_scanner fs ; SubInclude OBOS_TOP src tests add-ons kernel disk_scanner partition ; diff --git a/src/tests/add-ons/kernel/disk_scanner/fs/Jamfile b/src/tests/add-ons/kernel/disk_scanner/fs/Jamfile index f6c56d96a2..fe8b75a4fe 100644 --- a/src/tests/add-ons/kernel/disk_scanner/fs/Jamfile +++ b/src/tests/add-ons/kernel/disk_scanner/fs/Jamfile @@ -16,12 +16,12 @@ UsePrivateHeaders $(DOT) ; Addon bfs : userland disk_scanner fs : bfs.c ; -LinkSharedOSLibs bfs : DiskScannerTest ; +LinkSharedOSLibs bfs : libkernelland_emu.so ; # iso9660 Addon iso9660 : userland disk_scanner fs : iso9660.c ; -LinkSharedOSLibs iso9660 : DiskScannerTest ; +LinkSharedOSLibs iso9660 : libkernelland_emu.so ; diff --git a/src/tests/add-ons/kernel/disk_scanner/partition/Jamfile b/src/tests/add-ons/kernel/disk_scanner/partition/Jamfile index f34fc41741..60e5557028 100644 --- a/src/tests/add-ons/kernel/disk_scanner/partition/Jamfile +++ b/src/tests/add-ons/kernel/disk_scanner/partition/Jamfile @@ -16,4 +16,4 @@ UsePrivateHeaders $(DOT) ; Addon intel : userland disk_scanner partition : intel.cpp intel_parameters.cpp intel_partition_map.cpp ; -LinkSharedOSLibs intel : DiskScannerTest ; +LinkSharedOSLibs intel : libkernelland_emu.so ; diff --git a/src/tests/add-ons/kernel/disk_scanner/session/Jamfile b/src/tests/add-ons/kernel/disk_scanner/session/Jamfile index 489d399999..5986ca5cab 100644 --- a/src/tests/add-ons/kernel/disk_scanner/session/Jamfile +++ b/src/tests/add-ons/kernel/disk_scanner/session/Jamfile @@ -16,4 +16,4 @@ UsePrivateHeaders $(DOT) ; Addon cdrom : userland disk_scanner session : cdrom.c ; -LinkSharedOSLibs cdrom : DiskScannerTest ; +LinkSharedOSLibs cdrom : libkernelland_emu.so ;