xref: /haiku/src/system/boot/loader/net/Jamfile (revision f290b766707b386d72e2eaadd35cc3d999405077)
1SubDir HAIKU_TOP src system boot loader net ;
2
3UsePrivateHeaders drivers ;
4
5SubDirC++Flags -D_BOOT_MODE -fno-rtti ;
6
7local platform ;
8for platform in [ MultiBootSubDirSetup ] {
9	on $(platform) {
10		UsePrivateHeaders kernel [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ;
11
12		local tcp = ;
13		local iscsi = ;
14		if $(TARGET_ARCH) = ppc {
15			tcp = TCP.cpp ;
16			iscsi = iSCSITarget.cpp ;
17		}
18
19		BootStaticLibrary [ MultiBootGristFiles boot_net ] :
20			ARP.cpp
21			ChainBuffer.cpp
22			Ethernet.cpp
23			IP.cpp
24			NetDefs.cpp
25			NetStack.cpp
26			RemoteDisk.cpp
27			UDP.cpp
28			$(tcp)
29			$(iscsi)
30		;
31	}
32}
33