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