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