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 cal.c 21 catattr.cpp 22 chop.c 23 clear.c 24 clockconfig.c 25# csplit.c 26 driveinfo.c 27# echo.c 28 eject.c 29 error.c 30 fortune.c 31 finddir.c 32 hd.c 33 idestatus.c 34 isvolume.cpp 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 waitfor.c 50# whoami.c 51 : : $(haiku-utils_rsrc) ; 52 53# Commands which don't need another library that depend on 54# Haiku-specific code 55if $(TARGET_PLATFORM) = haiku { 56StdBinCommands 57 boot_process_done.cpp 58 fdinfo.cpp 59 mount.c 60 rmattr.cpp 61 rmindex.cpp 62 safemode.c 63 unmount.c 64 : : $(haiku-utils_rsrc) ; 65} 66 67# standard commands that need libtermcap.a 68StdBinCommands 69 top.c 70 tput.c 71 : libtermcap.a : $(haiku-utils_rsrc) ; 72 73AddResources mimeset : mimeset.rdef ; 74AddResources urlwrapper : urlwrapper.rdef ; 75 76# standard commands that need libbe.so 77StdBinCommands 78 alert.cpp 79 beep.cpp 80 clipboard.cpp 81 df.cpp 82 dpms.cpp 83 draggers.cpp 84 dstcheck.cpp 85# factor.cpp 86 ffm.cpp 87 hey.cpp 88 iroster.cpp 89 listattr.cpp 90 listfont.cpp 91 listres.cpp 92 mimeset.cpp 93 mkindex.cpp 94 modifiers.cpp 95 open.cpp 96 play.cpp 97 query.cpp 98 quit.cpp 99 roster.cpp 100 setdecor.cpp 101 settype.cpp 102 setversion.cpp 103 urlwrapper.cpp 104 version.cpp 105 WindowShade.cpp 106# yes.cpp 107 : be : $(haiku-utils_rsrc) ; 108 109# Haiku-specific apps which need libbe.so 110if $(TARGET_PLATFORM) = haiku { 111StdBinCommands 112 shutdown.cpp 113 : be : $(haiku-utils_rsrc) ; 114} 115 116# standard commands that need libbe.so, libstdc++.so 117StdBinCommands 118 copyattr.cpp 119 xres.cpp 120 : be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ; 121 122# Haiku-specific apps which need libbe., libstdc++.so 123if $(TARGET_PLATFORM) = haiku { 124StdBinCommands 125 mountvolume.cpp 126 : be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ; 127} 128 129# standard commands that need libbe.so, libtranslation.so 130StdBinCommands 131 translate.cpp 132 : be translation : $(haiku-utils_rsrc) ; 133 134# standard commands that need libbe.so, libmedia.so 135StdBinCommands 136 installsound.cpp 137 setvolume.cpp 138 : be libmedia.so : $(haiku-utils_rsrc) ; 139 140# standard commands that need libbe.so, libmail.so 141StdBinCommands 142 mail.cpp 143 : be libmail.so : $(haiku-utils_rsrc) ; 144 145# standard commands that need libbe.so, and the USB Kit 146StdBinCommands 147 usb_dev_info.cpp 148 : be USBKit.a : $(haiku-utils_rsrc) ; 149 150# standard commands that need libbe.so, libtracker.so 151StdBinCommands 152 filepanel.cpp 153 : be tracker : $(haiku-utils_rsrc) ; 154 155SubInclude HAIKU_TOP src bin addattr ; 156SubInclude HAIKU_TOP src bin bash ; 157SubInclude HAIKU_TOP src bin bc ; 158SubInclude HAIKU_TOP src bin bemail_utils ; 159SubInclude HAIKU_TOP src bin bison ; 160SubInclude HAIKU_TOP src bin chkbfs ; 161SubInclude HAIKU_TOP src bin compress ; 162SubInclude HAIKU_TOP src bin coreutils ; 163SubInclude HAIKU_TOP src bin ctags ; 164SubInclude HAIKU_TOP src bin desklink ; 165SubInclude HAIKU_TOP src bin diffutils ; 166SubInclude HAIKU_TOP src bin findutils ; 167SubInclude HAIKU_TOP src bin flex ; 168SubInclude HAIKU_TOP src bin fwcontrol ; 169SubInclude HAIKU_TOP src bin gawk ; 170SubInclude HAIKU_TOP src bin gdb ; 171SubInclude HAIKU_TOP src bin grep ; 172SubInclude HAIKU_TOP src bin iasl ; 173SubInclude HAIKU_TOP src bin ideinfo ; 174SubInclude HAIKU_TOP src bin keymap ; 175SubInclude HAIKU_TOP src bin less ; 176SubInclude HAIKU_TOP src bin listdev ; 177SubInclude HAIKU_TOP src bin m4 ; 178SubInclude HAIKU_TOP src bin make ; 179SubInclude HAIKU_TOP src bin makebootable ; 180#SubInclude HAIKU_TOP src bin makeudfimage ; 181SubInclude HAIKU_TOP src bin mkdos ; 182SubInclude HAIKU_TOP src bin patch ; 183SubInclude HAIKU_TOP src bin pc ; 184SubInclude HAIKU_TOP src bin pcmcia-cs ; 185SubInclude HAIKU_TOP src bin playsound ; 186SubInclude HAIKU_TOP src bin rmd160 ; 187SubInclude HAIKU_TOP src bin screen_blanker ; 188SubInclude HAIKU_TOP src bin sed ; 189SubInclude HAIKU_TOP src bin sharutils ; 190SubInclude HAIKU_TOP src bin strace ; 191SubInclude HAIKU_TOP src bin unrar ; 192SubInclude HAIKU_TOP src bin vim ; 193SubInclude HAIKU_TOP src bin zic ; 194 195# RCS commands 196SubInclude HAIKU_TOP src bin rcs ; 197 198# Network command line tools 199SubInclude HAIKU_TOP src bin network ; 200 201# Compression command line tools 202SubInclude HAIKU_TOP src bin unzip ; 203SubInclude HAIKU_TOP src bin zip ; 204SubInclude HAIKU_TOP src bin gzip ; 205SubInclude HAIKU_TOP src bin bzip2 ; 206SubInclude HAIKU_TOP src bin tar ; 207