1SubDir HAIKU_TOP src bin makeudfimage ;
2
3UsePrivateHeaders [ FDirName kernel util ] ;	# For kernel_cpp.h
4SubDirHdrs [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems udf ] ;
5
6{
7	local defines = [ FDefines USER ] ; 
8	SubDirCcFlags $(defines) ;
9	SubDirC++Flags $(defines) ;
10}
11
12BinCommand makeudfimage 
13	: makeudfimage.cpp
14	  Allocator.cpp
15	  Attribute.cpp
16	  ConsoleListener.cpp
17	  EmbeddedStream.cpp
18	  ExtentStream.cpp
19	  FileStream.cpp
20	  MemoryStream.cpp
21	  PhysicalPartitionAllocator.cpp
22	  PositionIOStream.cpp
23	  Shell.cpp
24	  SimulatedStream.cpp
25	  Statistics.cpp
26	  UdfBuilder.cpp
27
28	  # Common Udf source files
29	  DString.cpp
30	  UdfDebug.cpp
31	  UdfString.cpp
32	  UdfStructures.cpp
33	  Utils.cpp
34
35	: stdc++.r4
36	  be
37	
38;
39
40SEARCH on [ FGristFiles DString.cpp UdfDebug.cpp UdfString.cpp UdfStructures.cpp Utils.cpp ]
41	= [ FDirName $(HAIKU_TOP) src add-ons kernel file_systems udf ] ;
42
43