xref: /haiku/src/bin/writembr/Jamfile (revision 18027fff34af4a666c1e62254b462cbaeae1859e)
1SubDir HAIKU_TOP src bin writembr ;
2
3UsePrivateHeaders shared storage ;
4
5Application writembr :
6	writembr.cpp
7
8	: be $(TARGET_LIBSUPC+++) $(TARGET_LIBSTDC++)
9;
10
11# Assemble the MBR code, and convert it into a header file
12
13rule AssembleNasmBin object : source
14{
15	SEARCH on $(source) = $(SUBDIR) ;
16	MakeLocateDebug $(object) ;
17	Depends $(object) : $(source) ;
18}
19
20actions AssembleNasmBin
21{
22	$(HAIKU_NASM) -f bin -O5 -o $(1) $(2)
23}
24
25AssembleNasmBin [ FGristFiles mbr.bin ] : mbr.S ;
26
27DataFileToSourceFile [ FGristFiles MBR.h ] : [ FGristFiles mbr.bin ]
28	: kMBR : kMBRSize ;
29