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_GCC_VERSION_$(architecture)[1]) = 2 { 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 25# local addOnsDir = add-ons $(architecture) ; 26# 27# AddFilesToPackage $(addOnsDir) accelerants 28# : $(SYSTEM_ADD_ONS_ACCELERANTS) ; 29# AddFilesToPackage $(addOnsDir) Translators 30# : $(SYSTEM_ADD_ONS_TRANSLATORS) ; 31# AddFilesToPackage $(addOnsDir) locale catalogs 32# : $(SYSTEM_ADD_ONS_LOCALE_CATALOGS) ; 33# 34# AddFilesToPackage $(addOnsDir) opengl : 35# x86 @{ 36# Legacy\ Software\ Rasterizer@gcc2 37# Software\ Rasterizer@!gcc2 38# }@ # x86 39# ; 40# 41# AddFilesToPackage $(addOnsDir) media : $(SYSTEM_ADD_ONS_MEDIA) ; 42# AddFilesToPackage $(addOnsDir) media plugins 43# : $(SYSTEM_ADD_ONS_MEDIA_PLUGINS) ; 44# 45# AddFilesToPackage $(addOnsDir) disk_systems 46# : <disk_system>intel <disk_system>gpt <disk_system>bfs <disk_system>ntfs ; 47 48 49BuildHaikuPackage $(haikuPackage) : haiku_secondary ; 50