1local architecture = $(TARGET_PACKAGING_ARCH) ; 2 3 4local haikuPackage = haiku_$(architecture).hpkg ; 5HaikuPackage $(haikuPackage) ; 6 7 8# libs 9AddLibrariesToPackage lib $(architecture) 10 : [ HaikuImageGetSystemLibs ] [ HaikuImageGetPrivateSystemLibs ] ; 11 12# libnetwork.so replaces quite a few libraries 13if $(HAIKU_CC_IS_LEGACY_GCC_$(architecture)) = 1 { 14 local libNetworkAliases = libsocket.so libbind.so libnet.so ; 15 local lib ; 16 for lib in $(libNetworkAliases) { 17 AddSymlinkToPackage lib $(architecture) : libnetwork.so : $(lib) ; 18 } 19 20 AddSymlinkToPackage lib $(architecture) : libbnetapi.so : libnetapi.so ; 21} 22 23 24# # add-ons 25local addOnsDir = add-ons $(architecture) ; 26# 27# AddFilesToPackage $(addOnsDir) accelerants 28# : $(SYSTEM_ADD_ONS_ACCELERANTS) ; 29AddFilesToPackage $(addOnsDir) Translators 30 : [ MultiArchDefaultGristFiles $(SYSTEM_ADD_ONS_TRANSLATORS) ] ; 31# AddFilesToPackage $(addOnsDir) locale catalogs 32# : $(SYSTEM_ADD_ONS_LOCALE_CATALOGS) ; 33# 34AddFilesToPackage $(addOnsDir) media : $(SYSTEM_ADD_ONS_MEDIA) ; 35AddFilesToPackage $(addOnsDir) media plugins 36 : [ MultiArchDefaultGristFiles $(SYSTEM_ADD_ONS_MEDIA_PLUGINS) ] ; 37# 38# AddFilesToPackage $(addOnsDir) disk_systems 39# : <disk_system>intel <disk_system>gpt <disk_system>bfs <disk_system>ntfs ; 40 41 42BuildHaikuPackage $(haikuPackage) : haiku_secondary ; 43