xref: /haiku/src/apps/diskprobe/Jamfile (revision 0b2dbe7d46ee888392907c60131b7f7652314175)
1SubDir OBOS_TOP src apps diskprobe ;
2
3UsePrivateHeaders shared ;
4
5if ! $(DANO_COMPATIBLE) {
6	local defines = COMPILE_FOR_R5 ;
7	defines = [ FDefines $(defines) ] ;
8	SubDirCcFlags $(defines) ;
9	SubDirC++Flags $(defines) ;
10}
11
12local r5_src = strlcpy.c ;
13
14if $(HAIKU_COMPATIBLE) {
15	r5_src = ;
16}
17
18App DiskProbe :
19	DiskProbe.cpp
20	DataEditor.cpp
21	DataView.cpp
22	ProbeWindow.cpp
23	FileWindow.cpp
24	AttributeWindow.cpp
25	AttributeEditors.cpp
26	ProbeView.cpp
27	OpenWindow.cpp
28	FindWindow.cpp
29	$(r5_src)
30	: libbe.so libtracker.so libtranslation.so
31	: DiskProbe.rdef
32	;
33
34if $(HAIKU_COMPATIBLE) {
35	LinkSharedOSLibs DiskProbe : libroot.so ;
36}
37
38SEARCH on [ FGristFiles
39                strlcpy.c
40        ] = [ FDirName $(OBOS_TOP) src system libroot posix string ] ;
41