xref: /haiku/src/bin/Jamfile (revision d9cebac2b77547b7064f22497514eecd2d047160)
1SubDir HAIKU_TOP src bin ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5UsePrivateHeaders app ;
6UsePrivateHeaders shared ;
7UsePrivateHeaders storage ;
8UseLibraryHeaders usb ;
9UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ;
10SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_cache ;
11
12local haiku-utils_rsrc = [ FGristFiles haiku-utils.rsrc ] ;
13
14ResComp $(haiku-utils_rsrc) : [ FGristFiles haiku-utils.rdef ] ;
15
16AddResources hey : hey.rdef ;
17
18# standard commands that don't need any additional library
19StdBinCommands
20	catattr.cpp
21	chop.c
22	clear.c
23	clockconfig.c
24#	csplit.c
25	driveinfo.c
26#	echo.c
27	eject.c
28	error.c
29	fortune.c
30	finddir.c
31	hd.c
32	idestatus.c
33	isvolume.cpp
34	listarea.c
35	listimage.c
36	listport.c
37	listsem.c
38	logger.cpp
39	lsindex.cpp
40	prio.c
41	ps.c
42	release.c
43	renice.c
44	rescan.c
45	sysinfo.c
46	unchop.c
47	uptime.cpp
48	waitfor.c
49#	whoami.c
50	: : $(haiku-utils_rsrc) ;
51
52# Commands which don't need another library that depend on
53# Haiku-specific code
54if $(TARGET_PLATFORM) = haiku {
55StdBinCommands
56	boot_process_done.cpp
57	fdinfo.cpp
58	mount.c
59	rmattr.cpp
60	rmindex.cpp
61	safemode.c
62	unmount.c
63	: : $(haiku-utils_rsrc) ;
64}
65
66# standard commands that need libtermcap.a
67StdBinCommands
68	top.c
69	tput.c
70	: libtermcap.a : $(haiku-utils_rsrc) ;
71
72AddResources mimeset : mimeset.rdef ;
73AddResources urlwrapper : urlwrapper.rdef ;
74
75# standard commands that need libbe.so
76StdBinCommands
77	alert.cpp
78	beep.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	listres.cpp
90	mimeset.cpp
91	mkindex.cpp
92	modifiers.cpp
93	open.cpp
94	play.cpp
95	query.cpp
96	quit.cpp
97	roster.cpp
98	setdecor.cpp
99	settype.cpp
100	setversion.cpp
101	urlwrapper.cpp
102	version.cpp
103#	yes.cpp
104	: be : $(haiku-utils_rsrc) ;
105
106# Haiku-specific apps which need libbe.so
107if $(TARGET_PLATFORM) = haiku {
108StdBinCommands
109	shutdown.cpp
110	: be : $(haiku-utils_rsrc) ;
111}
112
113# standard commands that need libbe.so, libstdc++.so
114StdBinCommands
115	copyattr.cpp
116	xres.cpp
117	: be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ;
118
119# Haiku-specific apps which need libbe., libstdc++.so
120if $(TARGET_PLATFORM) = haiku {
121StdBinCommands
122	mountvolume.cpp
123	: be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ;
124}
125
126# standard commands that need libbe.so, libtranslation.so
127StdBinCommands
128	translate.cpp
129	: be translation : $(haiku-utils_rsrc) ;
130
131# standard commands that need libbe.so, libmedia.so
132StdBinCommands
133	installsound.cpp
134	setvolume.cpp
135	: be libmedia.so : $(haiku-utils_rsrc) ;
136
137# standard commands that need libbe.so, libmail.so
138StdBinCommands
139	mail.cpp
140	: be libmail.so : $(haiku-utils_rsrc) ;
141
142# standard commands that need libbe.so, and the USB Kit
143StdBinCommands
144	usb_dev_info.cpp
145	: be USBKit.a : $(haiku-utils_rsrc) ;
146
147SubInclude HAIKU_TOP src bin addattr ;
148SubInclude HAIKU_TOP src bin bash ;
149SubInclude HAIKU_TOP src bin bc ;
150SubInclude HAIKU_TOP src bin bemail_utils ;
151SubInclude HAIKU_TOP src bin bison ;
152SubInclude HAIKU_TOP src bin chkbfs ;
153SubInclude HAIKU_TOP src bin compress ;
154SubInclude HAIKU_TOP src bin coreutils ;
155SubInclude HAIKU_TOP src bin ctags ;
156SubInclude HAIKU_TOP src bin desklink ;
157SubInclude HAIKU_TOP src bin diffutils ;
158SubInclude HAIKU_TOP src bin findutils ;
159SubInclude HAIKU_TOP src bin flex ;
160SubInclude HAIKU_TOP src bin fwcontrol ;
161SubInclude HAIKU_TOP src bin gawk ;
162SubInclude HAIKU_TOP src bin gdb ;
163SubInclude HAIKU_TOP src bin grep ;
164SubInclude HAIKU_TOP src bin iasl ;
165SubInclude HAIKU_TOP src bin ideinfo ;
166SubInclude HAIKU_TOP src bin keymap ;
167SubInclude HAIKU_TOP src bin less ;
168SubInclude HAIKU_TOP src bin listdev ;
169SubInclude HAIKU_TOP src bin m4 ;
170SubInclude HAIKU_TOP src bin make ;
171SubInclude HAIKU_TOP src bin makebootable ;
172#SubInclude HAIKU_TOP src bin makeudfimage ;
173SubInclude HAIKU_TOP src bin mkdos ;
174SubInclude HAIKU_TOP src bin patch ;
175SubInclude HAIKU_TOP src bin pc ;
176SubInclude HAIKU_TOP src bin pcmcia-cs ;
177SubInclude HAIKU_TOP src bin playsound ;
178SubInclude HAIKU_TOP src bin rmd160 ;
179SubInclude HAIKU_TOP src bin screen_blanker ;
180SubInclude HAIKU_TOP src bin sed ;
181SubInclude HAIKU_TOP src bin sharutils ;
182SubInclude HAIKU_TOP src bin strace ;
183SubInclude HAIKU_TOP src bin unrar ;
184SubInclude HAIKU_TOP src bin vim ;
185SubInclude HAIKU_TOP src bin zic ;
186
187# RCS commands
188SubInclude HAIKU_TOP src bin rcs ;
189
190# Network command line tools
191SubInclude HAIKU_TOP src bin network ;
192
193# Compression command line tools
194SubInclude HAIKU_TOP src bin unzip ;
195SubInclude HAIKU_TOP src bin zip ;
196SubInclude HAIKU_TOP src bin gzip ;
197SubInclude HAIKU_TOP src bin bzip2 ;
198SubInclude HAIKU_TOP src bin tar ;
199