2005-10-29 16:27:43 +00:00
|
|
|
SubDir HAIKU_TOP src bin ;
|
2002-07-11 22:10:58 +00:00
|
|
|
|
2010-10-24 02:49:44 +00:00
|
|
|
HAIKU_MULTIPLE_LOCALIZED_TARGETS on $(SUBDIR) = 1 ;
|
|
|
|
|
2010-04-13 10:01:22 +00:00
|
|
|
AddSubDirSupportedPlatforms libbe_test ;
|
|
|
|
|
2013-03-10 21:20:29 +00:00
|
|
|
UsePrivateHeaders app interface shared storage support tracker usb ;
|
2008-05-14 03:55:16 +00:00
|
|
|
UsePrivateSystemHeaders ;
|
2005-10-29 16:27:43 +00:00
|
|
|
SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_cache ;
|
2014-12-18 09:06:24 +00:00
|
|
|
UseBuildFeatureHeaders ncurses ;
|
2004-11-22 17:26:28 +00:00
|
|
|
|
2007-01-14 13:01:21 +00:00
|
|
|
local haiku-utils_rsrc = [ FGristFiles haiku-utils.rsrc ] ;
|
|
|
|
|
|
|
|
ResComp $(haiku-utils_rsrc) : [ FGristFiles haiku-utils.rdef ] ;
|
|
|
|
|
2010-07-28 08:38:59 +00:00
|
|
|
AddResources checkitout : checkitout.rdef ;
|
2011-03-25 20:31:17 +00:00
|
|
|
AddResources dstcheck : dstcheck.rdef ;
|
2008-10-01 14:03:26 +00:00
|
|
|
AddResources fortune : fortune.rdef ;
|
2006-06-25 23:20:47 +00:00
|
|
|
AddResources hey : hey.rdef ;
|
2008-10-01 14:03:26 +00:00
|
|
|
AddResources mimeset : mimeset.rdef ;
|
2009-08-12 13:54:28 +00:00
|
|
|
AddResources mountvolume : mountvolume.rdef ;
|
2010-07-28 08:38:59 +00:00
|
|
|
AddResources notify : notify.rdef ;
|
2011-12-06 19:55:53 +00:00
|
|
|
AddResources setmime : setmime.rdef ;
|
2008-10-01 14:03:26 +00:00
|
|
|
AddResources urlwrapper : urlwrapper.rdef ;
|
2006-06-25 23:20:47 +00:00
|
|
|
|
2020-11-05 17:35:24 +00:00
|
|
|
ObjectSysHdrs listimage.c :
|
|
|
|
[ FDirName $(HAIKU_TOP) headers compatibility bsd ] ;
|
|
|
|
|
2004-07-02 15:38:46 +00:00
|
|
|
# standard commands that don't need any additional library
|
|
|
|
StdBinCommands
|
2010-07-05 20:06:37 +00:00
|
|
|
badblocks.cpp
|
2004-07-02 15:38:46 +00:00
|
|
|
chop.c
|
|
|
|
clear.c
|
|
|
|
driveinfo.c
|
2005-02-16 04:15:14 +00:00
|
|
|
error.c
|
2005-10-29 16:27:43 +00:00
|
|
|
fortune.c
|
2004-08-15 16:37:30 +00:00
|
|
|
finddir.c
|
2013-08-04 22:14:52 +00:00
|
|
|
fstrim.cpp
|
2017-11-20 10:23:34 +00:00
|
|
|
get_driver_settings.cpp
|
2004-07-02 15:38:46 +00:00
|
|
|
hd.c
|
|
|
|
listarea.c
|
|
|
|
listimage.c
|
|
|
|
listport.c
|
|
|
|
listsem.c
|
2006-01-24 16:28:45 +00:00
|
|
|
logger.cpp
|
2004-07-02 15:38:46 +00:00
|
|
|
lsindex.cpp
|
|
|
|
prio.c
|
|
|
|
ps.c
|
|
|
|
release.c
|
|
|
|
renice.c
|
|
|
|
rescan.c
|
2015-08-29 17:33:27 +00:00
|
|
|
system_time.cpp
|
2004-07-02 15:38:46 +00:00
|
|
|
unchop.c
|
2008-09-17 16:27:17 +00:00
|
|
|
vmstat.cpp
|
2007-01-14 13:01:21 +00:00
|
|
|
: : $(haiku-utils_rsrc) ;
|
2004-07-02 15:38:46 +00:00
|
|
|
|
2006-08-03 17:53:43 +00:00
|
|
|
# Commands which don't need another library that depend on
|
|
|
|
# Haiku-specific code
|
2006-08-03 16:37:48 +00:00
|
|
|
StdBinCommands
|
|
|
|
boot_process_done.cpp
|
|
|
|
fdinfo.cpp
|
2006-08-03 17:53:43 +00:00
|
|
|
mount.c
|
|
|
|
rmattr.cpp
|
|
|
|
rmindex.cpp
|
|
|
|
safemode.c
|
|
|
|
unmount.c
|
2007-01-14 13:01:21 +00:00
|
|
|
: : $(haiku-utils_rsrc) ;
|
2006-08-03 16:37:48 +00:00
|
|
|
|
2013-04-21 09:25:02 +00:00
|
|
|
# standard commands that need libncurses.a
|
2015-06-13 11:41:44 +00:00
|
|
|
Includes [ FGristFiles top.cpp watch.c ]
|
2014-12-18 11:39:49 +00:00
|
|
|
: [ BuildFeatureAttribute ncurses : headers ] ;
|
|
|
|
|
2020-11-05 17:35:24 +00:00
|
|
|
ObjectSysHdrs watch.c : [ FDirName $(HAIKU_TOP) headers compatibility bsd ] ;
|
|
|
|
|
2004-07-02 15:38:46 +00:00
|
|
|
StdBinCommands
|
2014-12-18 09:06:24 +00:00
|
|
|
watch.c
|
|
|
|
: [ BuildFeatureAttribute ncurses : library ] : $(haiku-utils_rsrc) ;
|
2004-07-02 15:38:46 +00:00
|
|
|
|
|
|
|
# standard commands that need libbe.so
|
2002-07-11 22:10:58 +00:00
|
|
|
StdBinCommands
|
2015-07-06 06:24:21 +00:00
|
|
|
autologin.cpp
|
2002-11-22 20:15:12 +00:00
|
|
|
beep.cpp
|
2009-12-02 10:18:42 +00:00
|
|
|
catattr.cpp
|
2008-11-01 17:28:10 +00:00
|
|
|
checkfs.cpp
|
2002-11-22 20:15:12 +00:00
|
|
|
clipboard.cpp
|
|
|
|
df.cpp
|
2009-10-01 03:05:06 +00:00
|
|
|
diskimage.cpp
|
2007-01-18 12:49:52 +00:00
|
|
|
dpms.cpp
|
2004-08-16 09:44:39 +00:00
|
|
|
draggers.cpp
|
2002-12-03 19:25:26 +00:00
|
|
|
ffm.cpp
|
2002-12-03 18:46:45 +00:00
|
|
|
iroster.cpp
|
2015-11-07 23:06:15 +00:00
|
|
|
launch_roster.cpp
|
2002-11-22 20:15:12 +00:00
|
|
|
listattr.cpp
|
2007-11-01 21:53:25 +00:00
|
|
|
listfont.cpp
|
2006-02-09 17:01:23 +00:00
|
|
|
listres.cpp
|
2005-01-14 23:34:23 +00:00
|
|
|
mkindex.cpp
|
2009-07-29 10:13:20 +00:00
|
|
|
message.cpp
|
2002-12-08 15:19:35 +00:00
|
|
|
modifiers.cpp
|
2012-05-06 14:53:21 +00:00
|
|
|
mvattr.cpp
|
2003-11-04 09:28:00 +00:00
|
|
|
play.cpp
|
2012-04-04 20:23:14 +00:00
|
|
|
query.cpp
|
2002-12-03 19:33:52 +00:00
|
|
|
quit.cpp
|
2005-03-10 16:10:44 +00:00
|
|
|
roster.cpp
|
2002-11-22 20:15:12 +00:00
|
|
|
setversion.cpp
|
2009-04-24 13:57:24 +00:00
|
|
|
trash.cpp
|
2002-12-03 18:46:45 +00:00
|
|
|
version.cpp
|
2009-10-12 14:44:40 +00:00
|
|
|
waitfor.cpp
|
2007-11-29 21:48:33 +00:00
|
|
|
WindowShade.cpp
|
2007-01-14 13:01:21 +00:00
|
|
|
: be : $(haiku-utils_rsrc) ;
|
2010-04-15 15:32:00 +00:00
|
|
|
|
2010-04-13 10:01:22 +00:00
|
|
|
if $(TARGET_PLATFORM) = libbe_test {
|
|
|
|
HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : setdecor
|
|
|
|
: tests!apps ;
|
|
|
|
}
|
2005-05-03 00:31:52 +00:00
|
|
|
|
2009-07-07 10:30:09 +00:00
|
|
|
# standard commands that need libbe.so and libsupc++.so
|
|
|
|
StdBinCommands
|
|
|
|
alert.cpp
|
2011-02-21 18:24:30 +00:00
|
|
|
eject.cpp
|
2013-11-17 01:05:23 +00:00
|
|
|
getarch.cpp
|
2009-07-07 10:30:09 +00:00
|
|
|
hey.cpp
|
|
|
|
reindex.cpp
|
2010-02-04 12:59:37 +00:00
|
|
|
resattr.cpp
|
2014-11-09 18:20:04 +00:00
|
|
|
screeninfo.cpp
|
2013-11-17 01:05:23 +00:00
|
|
|
setarch.cpp
|
2019-05-02 15:04:48 +00:00
|
|
|
setcontrollook.cpp
|
2011-05-19 15:25:54 +00:00
|
|
|
setdecor.cpp
|
2009-07-07 10:30:09 +00:00
|
|
|
settype.cpp
|
|
|
|
spybmessage.cpp
|
|
|
|
urlwrapper.cpp
|
2019-08-28 03:56:47 +00:00
|
|
|
: be [ TargetLibstdc++ ] [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ;
|
2013-11-30 16:01:49 +00:00
|
|
|
|
|
|
|
# standard commands that need libbe.so, libsupc++.so, and libshared.a
|
|
|
|
StdBinCommands
|
|
|
|
ramdisk.cpp
|
2012-07-31 10:24:42 +00:00
|
|
|
resizefs.cpp
|
2016-01-16 01:55:20 +00:00
|
|
|
: shared be [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ;
|
2010-07-05 20:06:37 +00:00
|
|
|
|
2016-04-09 06:49:29 +00:00
|
|
|
# standard commands that need libbe.so, libbnetapi.so, libsupc++.so
|
2014-07-02 21:24:57 +00:00
|
|
|
StdBinCommands
|
|
|
|
open.cpp
|
|
|
|
urlwrapper.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: be bnetapi [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ;
|
2014-07-02 21:24:57 +00:00
|
|
|
|
2012-04-04 20:23:14 +00:00
|
|
|
# commands that need libbe.so and the stub catalog
|
2011-03-26 20:32:58 +00:00
|
|
|
StdBinCommands
|
2012-02-26 16:59:30 +00:00
|
|
|
clockconfig.cpp
|
2011-03-26 20:32:58 +00:00
|
|
|
query.cpp
|
2013-08-01 06:51:16 +00:00
|
|
|
: be localestub : $(haiku-utils_rsrc) ;
|
2011-03-26 20:32:58 +00:00
|
|
|
|
2012-04-04 20:23:14 +00:00
|
|
|
# commands that need libbe.so, libsupc++.so and the stub catalog
|
2010-06-29 10:19:00 +00:00
|
|
|
StdBinCommands
|
|
|
|
dstcheck.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: be [ TargetLibsupc++ ] localestub : $(haiku-utils_rsrc) ;
|
2009-07-07 10:30:09 +00:00
|
|
|
|
2006-08-03 17:53:43 +00:00
|
|
|
# Haiku-specific apps which need libbe.so
|
|
|
|
StdBinCommands
|
2009-04-22 14:45:29 +00:00
|
|
|
isvolume.cpp
|
2006-08-03 17:53:43 +00:00
|
|
|
shutdown.cpp
|
2007-01-14 13:01:21 +00:00
|
|
|
: be : $(haiku-utils_rsrc) ;
|
2006-08-03 17:53:43 +00:00
|
|
|
|
2005-05-03 00:31:52 +00:00
|
|
|
# standard commands that need libbe.so, libstdc++.so
|
|
|
|
StdBinCommands
|
2005-10-29 16:27:43 +00:00
|
|
|
copyattr.cpp
|
2011-12-06 20:49:33 +00:00
|
|
|
setmime.cpp
|
2005-10-29 16:27:43 +00:00
|
|
|
xres.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: be [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ;
|
2002-07-11 22:10:58 +00:00
|
|
|
|
2008-05-04 13:12:31 +00:00
|
|
|
# Haiku-specific apps which need libbe.so, libstdc++.so
|
2006-08-03 17:53:43 +00:00
|
|
|
StdBinCommands
|
|
|
|
mountvolume.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: be [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ;
|
2006-08-03 17:53:43 +00:00
|
|
|
|
2008-05-04 13:12:31 +00:00
|
|
|
# commands that need libstdc++ only
|
|
|
|
StdBinCommands
|
|
|
|
diff_zip.cpp
|
2013-12-16 02:58:43 +00:00
|
|
|
sysinfo.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ;
|
2008-05-04 13:12:31 +00:00
|
|
|
|
2015-06-13 12:02:00 +00:00
|
|
|
# commands that need libstdc++ and lubncurses
|
|
|
|
StdBinCommands
|
|
|
|
top.cpp
|
|
|
|
: [ BuildFeatureAttribute ncurses : library ] [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ;
|
|
|
|
|
|
|
|
|
2009-07-07 10:30:09 +00:00
|
|
|
# standard commands that need libbe.so, libtranslation.so, libsupc++.so
|
2003-11-05 11:03:24 +00:00
|
|
|
StdBinCommands
|
|
|
|
translate.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: be translation [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ;
|
2004-07-02 15:38:46 +00:00
|
|
|
|
2010-05-27 14:48:27 +00:00
|
|
|
# standard commands that need libbe.so, libtranslation.so, libicon.a, libstdc++.so
|
|
|
|
StdBinCommands
|
|
|
|
notify.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: be translation libicon.a [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ;
|
2010-05-27 14:48:27 +00:00
|
|
|
|
2004-07-02 15:38:46 +00:00
|
|
|
# standard commands that need libbe.so, libmedia.so
|
2003-11-05 11:03:24 +00:00
|
|
|
StdBinCommands
|
|
|
|
installsound.cpp
|
2007-01-14 13:01:21 +00:00
|
|
|
: be libmedia.so : $(haiku-utils_rsrc) ;
|
2004-05-29 18:06:04 +00:00
|
|
|
|
2009-07-07 10:30:09 +00:00
|
|
|
# standard commands that need libbe.so, libmedia.so, libsupc++.so
|
|
|
|
StdBinCommands
|
|
|
|
setvolume.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: be libmedia.so [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ;
|
2009-07-07 10:30:09 +00:00
|
|
|
|
2013-11-21 12:07:17 +00:00
|
|
|
# standard commands that need libbe.so, libpackage.so, libsupc++.so
|
|
|
|
StdBinCommands
|
|
|
|
findpaths.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: be package [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ;
|
2013-11-21 12:07:17 +00:00
|
|
|
|
2008-04-07 19:24:16 +00:00
|
|
|
# standard commands that need libbe.so, libdevice.so
|
2007-02-02 06:47:49 +00:00
|
|
|
StdBinCommands
|
2009-07-27 01:32:32 +00:00
|
|
|
setusbconfig.cpp
|
2008-04-07 19:24:16 +00:00
|
|
|
: be libdevice.so : $(haiku-utils_rsrc) ;
|
2007-02-02 06:47:49 +00:00
|
|
|
|
2008-05-28 21:33:22 +00:00
|
|
|
# standard commands that need libbluetooth.so, due the Bluetooth Kit
|
|
|
|
StdBinCommands
|
|
|
|
bt_dev_info.cpp
|
|
|
|
: be libbluetooth.so : $(haiku-utils_rsrc) ;
|
|
|
|
|
|
|
|
StdBinCommands
|
|
|
|
bt_discovery.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: be libbluetooth.so [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ;
|
2008-05-28 21:33:22 +00:00
|
|
|
|
|
|
|
|
2014-07-02 21:24:57 +00:00
|
|
|
# standard commands that need libbe.so, libbnetapi.so, libtracker.so
|
2007-12-08 22:15:12 +00:00
|
|
|
StdBinCommands
|
2010-01-08 23:37:05 +00:00
|
|
|
checkitout.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: be bnetapi tracker [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ;
|
2010-08-03 17:47:26 +00:00
|
|
|
|
2014-12-18 09:06:24 +00:00
|
|
|
#standard commands that need libbe.so, libtracker.so and the catalog stub
|
2010-07-10 13:23:18 +00:00
|
|
|
StdBinCommands
|
|
|
|
filepanel.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: be tracker [ TargetLibsupc++ ] localestub : $(haiku-utils_rsrc) ;
|
2007-12-08 22:15:12 +00:00
|
|
|
|
2013-05-08 02:51:48 +00:00
|
|
|
# mimeset needs libstorage_kit_mime.a
|
|
|
|
StdBinCommands
|
|
|
|
mimeset.cpp
|
2014-07-31 21:38:22 +00:00
|
|
|
: be libstorage_kit_mime.a [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ;
|
2013-05-08 02:51:48 +00:00
|
|
|
|
2010-06-29 16:37:15 +00:00
|
|
|
# Localization of some applications
|
2010-10-03 15:21:59 +00:00
|
|
|
DoCatalogs dstcheck
|
|
|
|
: x-vnd.Haiku-cmd-dstconfig
|
2010-06-29 16:37:15 +00:00
|
|
|
: dstcheck.cpp
|
2010-10-24 02:49:44 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
DoCatalogs filepanel
|
|
|
|
: x-vnd.mmu_man.filepanel
|
|
|
|
: filepanel.cpp
|
2010-06-29 16:37:15 +00:00
|
|
|
;
|
2009-05-28 20:16:35 +00:00
|
|
|
|
2005-10-29 16:27:43 +00:00
|
|
|
SubInclude HAIKU_TOP src bin addattr ;
|
2012-03-26 20:41:58 +00:00
|
|
|
SubInclude HAIKU_TOP src bin bfs_tools ;
|
2015-10-19 18:06:11 +00:00
|
|
|
SubInclude HAIKU_TOP src bin cddb_lookup ;
|
2010-04-15 15:32:00 +00:00
|
|
|
SubInclude HAIKU_TOP src bin consoled ;
|
2005-10-29 16:27:43 +00:00
|
|
|
SubInclude HAIKU_TOP src bin desklink ;
|
2007-08-30 22:02:34 +00:00
|
|
|
SubInclude HAIKU_TOP src bin fwcontrol ;
|
2010-01-26 23:34:23 +00:00
|
|
|
SubInclude HAIKU_TOP src bin hid_decode ;
|
2020-03-28 22:12:33 +00:00
|
|
|
SubInclude HAIKU_TOP src bin i2c ;
|
2005-10-29 16:27:43 +00:00
|
|
|
SubInclude HAIKU_TOP src bin keymap ;
|
2012-02-03 20:11:01 +00:00
|
|
|
SubInclude HAIKU_TOP src bin keystore ;
|
2005-10-29 16:27:43 +00:00
|
|
|
SubInclude HAIKU_TOP src bin listdev ;
|
2016-11-01 10:17:31 +00:00
|
|
|
SubInclude HAIKU_TOP src bin listusb ;
|
2009-05-01 21:56:16 +00:00
|
|
|
SubInclude HAIKU_TOP src bin locale ;
|
2005-10-29 16:27:43 +00:00
|
|
|
SubInclude HAIKU_TOP src bin makebootable ;
|
2012-03-26 20:41:58 +00:00
|
|
|
SubInclude HAIKU_TOP src bin mail_utils ;
|
2017-04-28 00:10:26 +00:00
|
|
|
SubInclude HAIKU_TOP src bin media_client ;
|
2005-10-29 16:27:43 +00:00
|
|
|
SubInclude HAIKU_TOP src bin mkdos ;
|
2008-05-14 15:48:41 +00:00
|
|
|
SubInclude HAIKU_TOP src bin mkfs ;
|
2008-04-19 00:15:59 +00:00
|
|
|
SubInclude HAIKU_TOP src bin multiuser ;
|
2009-11-13 13:45:49 +00:00
|
|
|
SubInclude HAIKU_TOP src bin package ;
|
2011-02-09 19:11:23 +00:00
|
|
|
SubInclude HAIKU_TOP src bin package_repo ;
|
2005-10-29 16:27:43 +00:00
|
|
|
SubInclude HAIKU_TOP src bin pc ;
|
2006-01-11 20:28:18 +00:00
|
|
|
SubInclude HAIKU_TOP src bin pcmcia-cs ;
|
2011-01-21 22:18:58 +00:00
|
|
|
SubInclude HAIKU_TOP src bin pkgman ;
|
2008-06-27 20:44:01 +00:00
|
|
|
SubInclude HAIKU_TOP src bin rc ;
|
2005-10-29 16:27:43 +00:00
|
|
|
SubInclude HAIKU_TOP src bin screen_blanker ;
|
2008-06-28 11:37:06 +00:00
|
|
|
SubInclude HAIKU_TOP src bin screenmode ;
|
2012-01-15 14:51:33 +00:00
|
|
|
SubInclude HAIKU_TOP src bin writembr ;
|
2002-07-11 22:10:58 +00:00
|
|
|
|
2008-09-15 13:45:43 +00:00
|
|
|
# debugging tools
|
|
|
|
SubInclude HAIKU_TOP src bin debug ;
|
|
|
|
|
2002-08-27 07:18:11 +00:00
|
|
|
# Network command line tools
|
2006-08-08 12:33:33 +00:00
|
|
|
SubInclude HAIKU_TOP src bin network ;
|
2002-12-03 19:56:29 +00:00
|
|
|
|
2013-12-14 07:24:30 +00:00
|
|
|
# Other stuff
|
|
|
|
SubInclude HAIKU_TOP src bin filteredquery ;
|