1SubDir HAIKU_TOP src apps bootmanager ; 2 3UsePrivateHeaders shared storage tracker ; 4UsePrivateHeaders interface ; 5 6local cataloguedSources = 7 BootDrive.cpp 8 BootManager.cpp 9 BootManagerController.cpp 10 BootManagerWindow.cpp 11 DefaultPartitionPage.cpp 12 DrivesPage.cpp 13 FileSelectionPage.cpp 14 LegacyBootMenu.cpp 15 PartitionsPage.cpp 16 UninstallPage.cpp 17 WizardView.cpp 18; 19 20Application BootManager : 21 $(cataloguedSources) 22 DescriptionPage.cpp 23 WizardController.cpp 24 WizardPageView.cpp 25 26 : be textencoding tracker shared localestub [ TargetLibsupc++ ] 27 : BootManager.rdef 28; 29 30DoCatalogs BootManager : x-vnd.Haiku-BootManager : $(cataloguedSources) ; 31 32# Assemble the boot loader, and convert it into a header file 33 34# TODO: should be merged with the AssembleNasm rule 35rule AssembleNasmBin object : source 36{ 37 SEARCH on $(source) = $(SUBDIR) ; 38 MakeLocateDebug $(object) ; 39 Depends $(object) : $(source) ; 40} 41 42actions AssembleNasmBin 43{ 44 $(HAIKU_NASM) -f bin -o $(1) $(2) 45} 46 47AssembleNasmBin [ FGristFiles bootman.bin ] : bootman.S ; 48 49DataFileToSourceFile [ FGristFiles BootLoader.h ] : [ FGristFiles bootman.bin ] 50 : kBootLoader : kBootLoaderSize ; 51