xref: /haiku/src/tools/Jamfile (revision 16c83730262f1e4f0fc69d80744bb36dcfbbe3af)
1SubDir HAIKU_TOP src tools ;
2
3UsePrivateBuildHeaders app storage ;
4
5SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src/bin ] ;
6
7local tools =
8	<build>catattr
9	<build>copyattr
10	<build>generate_attribute_stores
11	<build>listattr
12	<build>mimeset
13	<build>mkindex
14	<build>rm_attrs_tmp
15	<build>rmattr
16	<build>settype
17	<build>setversion
18	<build>xres
19	<build>generate_boot_screen
20;
21
22USES_BE_API on $(tools) = true ;
23
24BuildPlatformMain <build>catattr : catattr.cpp : $(HOST_LIBBE) ;
25
26UsePrivateObjectHeaders copyattr.cpp : shared : : true ;
27BuildPlatformMain <build>copyattr : copyattr.cpp
28	: $(HOST_LIBBE) $(HOST_LIBSTDC++) $(HOST_LIBSUPC++) ;
29
30BuildPlatformMain <build>create_image : create_image.cpp : $(HOST_LIBSUPC++) ;
31
32BuildPlatformMain <build>data_to_source : data_to_source.cpp
33	: $(HOST_LIBSUPC++) ;
34
35BuildPlatformMain <build>generate_attribute_stores
36	: generate_attribute_stores.cpp : $(HOST_LIBBE) $(HOST_LIBSUPC++) ;
37
38UsePrivateObjectHeaders generate_boot_screen.cpp : shared : : true ;
39UsePrivateObjectHeaders ColorQuantizer.cpp : shared : : true ;
40BuildPlatformMain <build>generate_boot_screen :
41	generate_boot_screen.cpp
42	ColorQuantizer.cpp
43	: $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) png z ;
44
45BuildPlatformMain <build>listattr : listattr.cpp : $(HOST_LIBBE) ;
46
47BuildPlatformMain <build>mimeset :
48	mimeset.cpp
49	: $(HOST_LIBBE) $(HOST_LIBSTDC++) $(HOST_LIBSUPC++)
50;
51
52BuildPlatformMain <build>mkindex : mkindex.cpp : $(HOST_LIBBE) ;
53
54BuildPlatformMain <build>rm_attrs_tmp : rm_attrs.cpp
55	: $(HOST_LIBSUPC++) $(HOST_LIBSTDC++) ;
56PLATFORM on <build>rm_attrs = host ;
57MakeLocateDebug <build>rm_attrs ;
58File <build>rm_attrs : <build>rm_attrs_tmp ;
59MODE on <build>rm_attrs = 755 ;
60
61BuildPlatformMain <build>rmattr : rmattr.cpp : $(HOST_LIBBE) ;
62
63UsePrivateObjectHeaders set_haiku_revision : system libroot : : true ;
64BuildPlatformMain <build>set_haiku_revision : set_haiku_revision.cpp
65	: $(HOST_LIBSTDC++) $(HOST_LIBSUPC++) ;
66
67BuildPlatformMain <build>settype : settype.cpp : $(HOST_LIBBE)
68	$(HOST_LIBSTDC++) $(HOST_LIBSUPC++) ;
69
70BuildPlatformMain <build>setversion : setversion.cpp : $(HOST_LIBBE)
71	$(HOST_LIBSTDC++) $(HOST_LIBSUPC++) ;
72
73BuildPlatformMain <build>xres : xres.cpp : $(HOST_LIBBE) $(HOST_LIBSTDC++)
74	$(HOST_LIBSUPC++) ;
75
76SEARCH on [ FGristFiles
77		Mime.cpp
78	] = [ FDirName $(HAIKU_TOP) src build libbe storage ] ;
79
80SEARCH on [ FGristFiles
81		UpdateMimeInfoThread.cpp MimeUpdateThread.cpp database_support.cpp
82	] = [ FDirName $(HAIKU_TOP) src build libbe storage mime ] ;
83
84SEARCH on [ FGristFiles
85		ColorQuantizer.cpp
86	] = [ FDirName $(HAIKU_TOP) src kits shared ] ;
87
88SubInclude HAIKU_TOP src tools addattr ;
89SubInclude HAIKU_TOP src tools anyboot ;
90SubInclude HAIKU_TOP src tools bfs_shell ;
91SubInclude HAIKU_TOP src tools cppunit ;
92SubInclude HAIKU_TOP src tools create_repository_config ;
93SubInclude HAIKU_TOP src tools docbook ;
94SubInclude HAIKU_TOP src tools elfsymbolpatcher ;
95SubInclude HAIKU_TOP src tools fixup_amiga_boot_checksum ;
96SubInclude HAIKU_TOP src tools fixup_tos_boot_checksum ;
97SubInclude HAIKU_TOP src tools fs_shell ;
98SubInclude HAIKU_TOP src tools gensyscalls ;
99SubInclude HAIKU_TOP src tools get_package_dependencies ;
100SubInclude HAIKU_TOP src tools hack_coff ;
101SubInclude HAIKU_TOP src tools keymap ;
102SubInclude HAIKU_TOP src tools locale ;
103SubInclude HAIKU_TOP src tools makebootable ;
104SubInclude HAIKU_TOP src tools opd_to_package_info ;
105SubInclude HAIKU_TOP src tools package ;
106SubInclude HAIKU_TOP src tools package_repo ;
107SubInclude HAIKU_TOP src tools rc ;
108SubInclude HAIKU_TOP src tools remote_disk_server ;
109SubInclude HAIKU_TOP src tools resattr ;
110SubInclude HAIKU_TOP src tools rman ;
111SubInclude HAIKU_TOP src tools translation ;
112SubInclude HAIKU_TOP src tools unzip ;
113SubInclude HAIKU_TOP src tools vmdkimage ;
114SubInclude HAIKU_TOP src tools unflatten ;
115SubInclude HAIKU_TOP src tools zip ;
116