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