xref: /haiku/src/bin/Jamfile (revision 155fa31ec619414bb0e0fb1ffe9ad913e4ecd398)
1SubDir HAIKU_TOP src bin ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5UsePrivateHeaders app shared storage usb ;
6UsePrivateSystemHeaders ;
7SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_cache ;
8
9local haiku-utils_rsrc = [ FGristFiles haiku-utils.rsrc ] ;
10
11ResComp $(haiku-utils_rsrc) : [ FGristFiles haiku-utils.rdef ] ;
12
13AddResources fortune : fortune.rdef ;
14AddResources hey : hey.rdef ;
15AddResources mimeset : mimeset.rdef ;
16AddResources urlwrapper : urlwrapper.rdef ;
17
18# standard commands that don't need any additional library
19StdBinCommands
20	badblocks.c
21	cal.c
22	catattr.cpp
23	chop.c
24	clear.c
25	clockconfig.c
26#	csplit.c
27	driveinfo.c
28#	echo.c
29	eject.c
30	error.c
31	fortune.c
32	finddir.c
33	hd.c
34	idestatus.c
35	listarea.c
36	listimage.c
37	listport.c
38	listsem.c
39	logger.cpp
40	lsindex.cpp
41	prio.c
42	ps.c
43	release.c
44	renice.c
45	rescan.c
46	sysinfo.c
47	unchop.c
48	uptime.cpp
49	vmstat.cpp
50	waitfor.c
51#	whoami.c
52	: : $(haiku-utils_rsrc) ;
53
54# Commands which don't need another library that depend on
55# Haiku-specific code
56if $(TARGET_PLATFORM) = haiku {
57StdBinCommands
58	boot_process_done.cpp
59	fdinfo.cpp
60	mount.c
61	rmattr.cpp
62	rmindex.cpp
63	safemode.c
64	unmount.c
65	: : $(haiku-utils_rsrc) ;
66}
67
68# standard commands that need libtermcap.a
69StdBinCommands
70	top.c
71	tput.c
72	: libtermcap.a : $(haiku-utils_rsrc) ;
73
74# standard commands that need libbe.so
75StdBinCommands
76	alert.cpp
77	beep.cpp
78	checkfs.cpp
79	clipboard.cpp
80	df.cpp
81	dpms.cpp
82	draggers.cpp
83	dstcheck.cpp
84#	factor.cpp
85	ffm.cpp
86	hey.cpp
87	iroster.cpp
88	listattr.cpp
89	listfont.cpp
90	listres.cpp
91	mimeset.cpp
92	mkindex.cpp
93	modifiers.cpp
94	open.cpp
95	play.cpp
96	query.cpp
97	quit.cpp
98	roster.cpp
99	setdecor.cpp
100	settype.cpp
101	setversion.cpp
102	spybmessage.cpp
103	trash.cpp
104	urlwrapper.cpp
105	version.cpp
106	WindowShade.cpp
107#	yes.cpp
108	: be : $(haiku-utils_rsrc) ;
109
110# Haiku-specific apps which need libbe.so
111if $(TARGET_PLATFORM) = haiku {
112StdBinCommands
113	isvolume.cpp
114	shutdown.cpp
115	: be : $(haiku-utils_rsrc) ;
116}
117
118# standard commands that need libbe.so, libstdc++.so
119StdBinCommands
120	copyattr.cpp
121	xres.cpp
122	: be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ;
123
124# Haiku-specific apps which need libbe.so, libstdc++.so
125if $(TARGET_PLATFORM) = haiku {
126StdBinCommands
127	mountvolume.cpp
128	: be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ;
129}
130
131# commands that need libstdc++ only
132StdBinCommands
133	diff_zip.cpp
134	: $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ;
135
136# standard commands that need libbe.so, libtranslation.so
137StdBinCommands
138	translate.cpp
139	: be translation : $(haiku-utils_rsrc) ;
140
141# standard commands that need libbe.so, libmedia.so
142StdBinCommands
143	installsound.cpp
144	setvolume.cpp
145	: be libmedia.so : $(haiku-utils_rsrc) ;
146
147# standard commands that need libbe.so, libmail.so
148StdBinCommands
149	mail.cpp
150	: be libmail.so : $(haiku-utils_rsrc) ;
151
152# standard commands that need libbe.so, libdevice.so
153StdBinCommands
154	listusb.cpp
155	: be libdevice.so : $(haiku-utils_rsrc) ;
156
157# standard commands that need libbluetooth.so, due the Bluetooth Kit
158StdBinCommands
159	bt_dev_info.cpp
160	: be libbluetooth.so : $(haiku-utils_rsrc) ;
161
162StdBinCommands
163	bt_discovery.cpp
164	: be libbluetooth.so : $(haiku-utils_rsrc) ;
165
166
167# standard commands that need libbe.so, libtracker.so
168StdBinCommands
169	filepanel.cpp
170	: be tracker : $(haiku-utils_rsrc) ;
171
172# cc and c++ wrapper scripts
173SEARCH on cc c++ = $(SUBDIR) ;
174
175SubInclude HAIKU_TOP src bin addattr ;
176SubInclude HAIKU_TOP src bin bash ;
177SubInclude HAIKU_TOP src bin bc ;
178SubInclude HAIKU_TOP src bin bemail_utils ;
179SubInclude HAIKU_TOP src bin chkbfs ;
180SubInclude HAIKU_TOP src bin compress ;
181SubInclude HAIKU_TOP src bin coreutils ;
182SubInclude HAIKU_TOP src bin ctags ;
183SubInclude HAIKU_TOP src bin desklink ;
184SubInclude HAIKU_TOP src bin diffutils ;
185SubInclude HAIKU_TOP src bin findutils ;
186SubInclude HAIKU_TOP src bin fwcontrol ;
187SubInclude HAIKU_TOP src bin gawk ;
188SubInclude HAIKU_TOP src bin gdb ;
189SubInclude HAIKU_TOP src bin grep ;
190SubInclude HAIKU_TOP src bin iasl ;
191SubInclude HAIKU_TOP src bin ideinfo ;
192SubInclude HAIKU_TOP src bin keymap ;
193SubInclude HAIKU_TOP src bin less ;
194SubInclude HAIKU_TOP src bin listdev ;
195SubInclude HAIKU_TOP src bin make ;
196SubInclude HAIKU_TOP src bin makebootable ;
197#SubInclude HAIKU_TOP src bin makeudfimage ;
198SubInclude HAIKU_TOP src bin mkdepend ;
199SubInclude HAIKU_TOP src bin mkdos ;
200SubInclude HAIKU_TOP src bin mkfs ;
201SubInclude HAIKU_TOP src bin multiuser ;
202SubInclude HAIKU_TOP src bin patch ;
203SubInclude HAIKU_TOP src bin pc ;
204SubInclude HAIKU_TOP src bin pcmcia-cs ;
205SubInclude HAIKU_TOP src bin playsound ;
206SubInclude HAIKU_TOP src bin rc ;
207SubInclude HAIKU_TOP src bin rmd160 ;
208SubInclude HAIKU_TOP src bin screen_blanker ;
209SubInclude HAIKU_TOP src bin screenmode ;
210SubInclude HAIKU_TOP src bin sed ;
211SubInclude HAIKU_TOP src bin sharutils ;
212SubInclude HAIKU_TOP src bin unrar ;
213SubInclude HAIKU_TOP src bin vim ;
214SubInclude HAIKU_TOP src bin zic ;
215
216# RCS commands
217SubInclude HAIKU_TOP src bin rcs ;
218
219# debugging tools
220SubInclude HAIKU_TOP src bin debug ;
221
222# Network command line tools
223SubInclude HAIKU_TOP src bin network ;
224
225# Compression command line tools
226SubInclude HAIKU_TOP src bin unzip ;
227SubInclude HAIKU_TOP src bin zip ;
228SubInclude HAIKU_TOP src bin gzip ;
229SubInclude HAIKU_TOP src bin bzip2 ;
230SubInclude HAIKU_TOP src bin tar ;
231