xref: /haiku/build/jam/packages/HaikuSecondaryBootstrap (revision 47320dd0abaf18e29575277a4b4aa49f5715e7e8)
1db16bcbaSIngo Weinholdlocal architecture = $(TARGET_PACKAGING_ARCH) ;
2db16bcbaSIngo Weinhold
3db16bcbaSIngo Weinhold
4db16bcbaSIngo Weinholdlocal haikuPackage = haiku_$(architecture).hpkg ;
5db16bcbaSIngo WeinholdHaikuPackage $(haikuPackage) ;
6db16bcbaSIngo Weinhold
71894e9b6SJérôme DuvalAddFilesToPackage $(architecture) : <$(architecture)>runtime_loader ;
8db16bcbaSIngo Weinhold
9db16bcbaSIngo Weinhold# libs
10db16bcbaSIngo WeinholdAddLibrariesToPackage lib $(architecture)
11db16bcbaSIngo Weinhold	: [ HaikuImageGetSystemLibs ] [ HaikuImageGetPrivateSystemLibs ] ;
12db16bcbaSIngo Weinhold
13db16bcbaSIngo Weinhold# libnetwork.so replaces quite a few libraries
14*47320dd0SAugustin Cavalierif $(HAIKU_CC_IS_LEGACY_GCC_$(architecture)) = 1 {
15db16bcbaSIngo Weinhold	local libNetworkAliases = libsocket.so libbind.so libnet.so ;
16db16bcbaSIngo Weinhold	local lib ;
17db16bcbaSIngo Weinhold	for lib in $(libNetworkAliases) {
18db16bcbaSIngo Weinhold		AddSymlinkToPackage lib $(architecture) : libnetwork.so : $(lib) ;
19db16bcbaSIngo Weinhold	}
20db16bcbaSIngo Weinhold
21db16bcbaSIngo Weinhold	AddSymlinkToPackage lib $(architecture) : libbnetapi.so : libnetapi.so ;
22db16bcbaSIngo Weinhold}
23db16bcbaSIngo Weinhold
24db16bcbaSIngo Weinhold
25db16bcbaSIngo WeinholdBuildHaikuPackage $(haikuPackage) : haiku_secondary ;
26