1local architecture = $(TARGET_PACKAGING_ARCH) ; 2 3 4local haikuPackage = haiku_$(architecture).hpkg ; 5HaikuPackage $(haikuPackage) ; 6 7AddFilesToPackage $(architecture) : <$(architecture)>runtime_loader ; 8 9# libs 10AddLibrariesToPackage lib $(architecture) 11 : [ HaikuImageGetSystemLibs ] [ HaikuImageGetPrivateSystemLibs ] ; 12 13# libnetwork.so replaces quite a few libraries 14if $(HAIKU_CC_IS_LEGACY_GCC_$(architecture)) = 1 { 15 local libNetworkAliases = libsocket.so libbind.so libnet.so ; 16 local lib ; 17 for lib in $(libNetworkAliases) { 18 AddSymlinkToPackage lib $(architecture) : libnetwork.so : $(lib) ; 19 } 20 21 AddSymlinkToPackage lib $(architecture) : libbnetapi.so : libnetapi.so ; 22} 23 24 25BuildHaikuPackage $(haikuPackage) : haiku_secondary ; 26