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 settype.cpp 99 setversion.cpp 100 urlwrapper.cpp 101 version.cpp 102# yes.cpp 103 : be : $(haiku-utils_rsrc) ; 104 105# Haiku-specific apps which need libbe.so 106if $(TARGET_PLATFORM) = haiku { 107StdBinCommands 108 shutdown.cpp 109 : be : $(haiku-utils_rsrc) ; 110} 111 112# standard commands that need libbe.so, libstdc++.so 113StdBinCommands 114 copyattr.cpp 115 xres.cpp 116 : be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ; 117 118# Haiku-specific apps which need libbe., libstdc++.so 119if $(TARGET_PLATFORM) = haiku { 120StdBinCommands 121 mountvolume.cpp 122 : be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ; 123} 124 125# standard commands that need libbe.so, libtranslation.so 126StdBinCommands 127 translate.cpp 128 : be translation : $(haiku-utils_rsrc) ; 129 130# standard commands that need libbe.so, libmedia.so 131StdBinCommands 132 installsound.cpp 133 setvolume.cpp 134 : be libmedia.so : $(haiku-utils_rsrc) ; 135 136# standard commands that need libbe.so, libmail.so 137StdBinCommands 138 mail.cpp 139 : be libmail.so : $(haiku-utils_rsrc) ; 140 141# standard commands that need libbe.so, and the USB Kit 142StdBinCommands 143 usb_dev_info.cpp 144 : be USBKit.a : $(haiku-utils_rsrc) ; 145 146SubInclude HAIKU_TOP src bin addattr ; 147SubInclude HAIKU_TOP src bin bash ; 148SubInclude HAIKU_TOP src bin bc ; 149SubInclude HAIKU_TOP src bin bemail_utils ; 150SubInclude HAIKU_TOP src bin bison ; 151SubInclude HAIKU_TOP src bin chkbfs ; 152SubInclude HAIKU_TOP src bin compress ; 153SubInclude HAIKU_TOP src bin coreutils ; 154SubInclude HAIKU_TOP src bin ctags ; 155SubInclude HAIKU_TOP src bin desklink ; 156SubInclude HAIKU_TOP src bin diffutils ; 157SubInclude HAIKU_TOP src bin findutils ; 158SubInclude HAIKU_TOP src bin flex ; 159SubInclude HAIKU_TOP src bin gawk ; 160SubInclude HAIKU_TOP src bin gdb ; 161SubInclude HAIKU_TOP src bin grep ; 162SubInclude HAIKU_TOP src bin iasl ; 163SubInclude HAIKU_TOP src bin ideinfo ; 164SubInclude HAIKU_TOP src bin keymap ; 165SubInclude HAIKU_TOP src bin less ; 166SubInclude HAIKU_TOP src bin listdev ; 167SubInclude HAIKU_TOP src bin m4 ; 168SubInclude HAIKU_TOP src bin make ; 169SubInclude HAIKU_TOP src bin makebootable ; 170#SubInclude HAIKU_TOP src bin makeudfimage ; 171SubInclude HAIKU_TOP src bin mkdos ; 172SubInclude HAIKU_TOP src bin patch ; 173SubInclude HAIKU_TOP src bin pc ; 174SubInclude HAIKU_TOP src bin pcmcia-cs ; 175SubInclude HAIKU_TOP src bin playsound ; 176SubInclude HAIKU_TOP src bin rmd160 ; 177SubInclude HAIKU_TOP src bin screen_blanker ; 178SubInclude HAIKU_TOP src bin sed ; 179SubInclude HAIKU_TOP src bin sharutils ; 180SubInclude HAIKU_TOP src bin strace ; 181SubInclude HAIKU_TOP src bin unrar ; 182SubInclude HAIKU_TOP src bin vim ; 183SubInclude HAIKU_TOP src bin zic ; 184 185# RCS commands 186SubInclude HAIKU_TOP src bin rcs ; 187 188# Network command line tools 189SubInclude HAIKU_TOP src bin network ; 190 191# Compression command line tools 192SubInclude HAIKU_TOP src bin unzip ; 193SubInclude HAIKU_TOP src bin zip ; 194SubInclude HAIKU_TOP src bin gzip ; 195SubInclude HAIKU_TOP src bin bzip2 ; 196SubInclude HAIKU_TOP src bin tar ; 197