1SubDir HAIKU_TOP src bin ; 2 3HAIKU_MULTIPLE_LOCALIZED_TARGETS on $(SUBDIR) = 1 ; 4 5SetSubDirSupportedPlatformsBeOSCompatible ; 6 7AddSubDirSupportedPlatforms libbe_test ; 8 9UsePrivateHeaders app interface shared storage support tracker usb ; 10UsePrivateSystemHeaders ; 11SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_cache ; 12UseBuildFeatureHeaders ncurses ; 13 14local haiku-utils_rsrc = [ FGristFiles haiku-utils.rsrc ] ; 15 16ResComp $(haiku-utils_rsrc) : [ FGristFiles haiku-utils.rdef ] ; 17 18AddResources checkitout : checkitout.rdef ; 19AddResources dstcheck : dstcheck.rdef ; 20AddResources fortune : fortune.rdef ; 21AddResources hey : hey.rdef ; 22AddResources mimeset : mimeset.rdef ; 23AddResources mountvolume : mountvolume.rdef ; 24AddResources notify : notify.rdef ; 25AddResources setmime : setmime.rdef ; 26AddResources urlwrapper : urlwrapper.rdef ; 27 28# standard commands that don't need any additional library 29StdBinCommands 30 badblocks.cpp 31 chop.c 32 clear.c 33 driveinfo.c 34 error.c 35 fortune.c 36 finddir.c 37 fstrim.cpp 38 get_driver_settings.cpp 39 hd.c 40 listarea.c 41 listimage.c 42 listport.c 43 listsem.c 44 logger.cpp 45 lsindex.cpp 46 prio.c 47 ps.c 48 release.c 49 renice.c 50 rescan.c 51 system_time.cpp 52 unchop.c 53 uptime.cpp 54 vmstat.cpp 55 : : $(haiku-utils_rsrc) ; 56 57# Commands which don't need another library that depend on 58# Haiku-specific code 59StdBinCommands 60 boot_process_done.cpp 61 fdinfo.cpp 62 mount.c 63 rmattr.cpp 64 rmindex.cpp 65 safemode.c 66 unmount.c 67 : : $(haiku-utils_rsrc) ; 68 69# standard commands that need libncurses.a 70Includes [ FGristFiles top.cpp watch.c ] 71 : [ BuildFeatureAttribute ncurses : headers ] ; 72 73StdBinCommands 74 watch.c 75 : [ BuildFeatureAttribute ncurses : library ] : $(haiku-utils_rsrc) ; 76 77# standard commands that need libbe.so 78StdBinCommands 79 autologin.cpp 80 beep.cpp 81 catattr.cpp 82 checkfs.cpp 83 clipboard.cpp 84 df.cpp 85 diskimage.cpp 86 dpms.cpp 87 draggers.cpp 88 ffm.cpp 89 iroster.cpp 90 launch_roster.cpp 91 listattr.cpp 92 listfont.cpp 93 listres.cpp 94 mkindex.cpp 95 message.cpp 96 modifiers.cpp 97 mvattr.cpp 98 play.cpp 99 query.cpp 100 quit.cpp 101 roster.cpp 102 setversion.cpp 103 trash.cpp 104 version.cpp 105 waitfor.cpp 106 WindowShade.cpp 107 : be : $(haiku-utils_rsrc) ; 108 109if $(TARGET_PLATFORM) = libbe_test { 110 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : setdecor 111 : tests!apps ; 112} 113 114# standard commands that need libbe.so and libsupc++.so 115StdBinCommands 116 alert.cpp 117 eject.cpp 118 getarch.cpp 119 hey.cpp 120 reindex.cpp 121 resattr.cpp 122 screeninfo.cpp 123 setarch.cpp 124 setdecor.cpp 125 settype.cpp 126 spybmessage.cpp 127 urlwrapper.cpp 128 : be [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ; 129 130# standard commands that need libbe.so, libsupc++.so, and libshared.a 131StdBinCommands 132 ramdisk.cpp 133 : shared be [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ; 134 135# standard commands that need libbe.so, libbnetapi.so, libsupc++.so 136StdBinCommands 137 open.cpp 138 urlwrapper.cpp 139 : be bnetapi [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ; 140 141# commands that need libbe.so and the stub catalog 142StdBinCommands 143 clockconfig.cpp 144 query.cpp 145 : be localestub : $(haiku-utils_rsrc) ; 146 147# commands that need libbe.so, libsupc++.so and the stub catalog 148StdBinCommands 149 dstcheck.cpp 150 : be [ TargetLibsupc++ ] localestub : $(haiku-utils_rsrc) ; 151 152# Haiku-specific apps which need libbe.so 153StdBinCommands 154 isvolume.cpp 155 shutdown.cpp 156 : be : $(haiku-utils_rsrc) ; 157 158# standard commands that need libbe.so, libstdc++.so 159StdBinCommands 160 copyattr.cpp 161 setmime.cpp 162 xres.cpp 163 : be [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ; 164 165# Haiku-specific apps which need libbe.so, libstdc++.so 166StdBinCommands 167 mountvolume.cpp 168 : be [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ; 169 170# commands that need libstdc++ only 171StdBinCommands 172 diff_zip.cpp 173 sysinfo.cpp 174 : [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ; 175 176# commands that need libstdc++ and lubncurses 177StdBinCommands 178 top.cpp 179 : [ BuildFeatureAttribute ncurses : library ] [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ; 180 181 182# standard commands that need libbe.so, libtranslation.so, libsupc++.so 183StdBinCommands 184 translate.cpp 185 : be translation [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ; 186 187# standard commands that need libbe.so, libtranslation.so, libicon.a, libstdc++.so 188StdBinCommands 189 notify.cpp 190 : be translation libicon.a [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ; 191 192# standard commands that need libbe.so, libmedia.so 193StdBinCommands 194 installsound.cpp 195 : be libmedia.so : $(haiku-utils_rsrc) ; 196 197# standard commands that need libbe.so, libmedia.so, libsupc++.so 198StdBinCommands 199 setvolume.cpp 200 : be libmedia.so [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ; 201 202# standard commands that need libbe.so, libpackage.so, libsupc++.so 203StdBinCommands 204 findpaths.cpp 205 : be package [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ; 206 207# standard commands that need libbe.so, libdevice.so 208StdBinCommands 209 setusbconfig.cpp 210 : be libdevice.so : $(haiku-utils_rsrc) ; 211 212# standard commands that need libbluetooth.so, due the Bluetooth Kit 213StdBinCommands 214 bt_dev_info.cpp 215 : be libbluetooth.so : $(haiku-utils_rsrc) ; 216 217StdBinCommands 218 bt_discovery.cpp 219 : be libbluetooth.so [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ; 220 221 222# standard commands that need libbe.so, libbnetapi.so, libtracker.so 223StdBinCommands 224 checkitout.cpp 225 : be bnetapi tracker [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ; 226 227#standard commands that need libbe.so, libtracker.so and the catalog stub 228StdBinCommands 229 filepanel.cpp 230 : be tracker [ TargetLibsupc++ ] localestub : $(haiku-utils_rsrc) ; 231 232# mimeset needs libstorage_kit_mime.a 233StdBinCommands 234 mimeset.cpp 235 : be libstorage_kit_mime.a [ TargetLibstdc++ ] : $(haiku-utils_rsrc) ; 236 237# Localization of some applications 238DoCatalogs dstcheck 239 : x-vnd.Haiku-cmd-dstconfig 240 : dstcheck.cpp 241; 242 243DoCatalogs filepanel 244 : x-vnd.mmu_man.filepanel 245 : filepanel.cpp 246; 247 248SubInclude HAIKU_TOP src bin addattr ; 249SubInclude HAIKU_TOP src bin bfs_tools ; 250SubInclude HAIKU_TOP src bin cddb_lookup ; 251SubInclude HAIKU_TOP src bin consoled ; 252SubInclude HAIKU_TOP src bin desklink ; 253SubInclude HAIKU_TOP src bin fwcontrol ; 254SubInclude HAIKU_TOP src bin hid_decode ; 255SubInclude HAIKU_TOP src bin keymap ; 256SubInclude HAIKU_TOP src bin keystore ; 257SubInclude HAIKU_TOP src bin listdev ; 258SubInclude HAIKU_TOP src bin listusb ; 259SubInclude HAIKU_TOP src bin locale ; 260SubInclude HAIKU_TOP src bin makebootable ; 261#SubInclude HAIKU_TOP src bin makeudfimage ; 262SubInclude HAIKU_TOP src bin mail_utils ; 263SubInclude HAIKU_TOP src bin media_client ; 264SubInclude HAIKU_TOP src bin mkdos ; 265SubInclude HAIKU_TOP src bin mkfs ; 266SubInclude HAIKU_TOP src bin multiuser ; 267SubInclude HAIKU_TOP src bin package ; 268SubInclude HAIKU_TOP src bin package_repo ; 269SubInclude HAIKU_TOP src bin pc ; 270SubInclude HAIKU_TOP src bin pcmcia-cs ; 271SubInclude HAIKU_TOP src bin pkgman ; 272SubInclude HAIKU_TOP src bin rc ; 273SubInclude HAIKU_TOP src bin screen_blanker ; 274SubInclude HAIKU_TOP src bin screenmode ; 275SubInclude HAIKU_TOP src bin writembr ; 276 277# debugging tools 278SubInclude HAIKU_TOP src bin debug ; 279 280# Network command line tools 281SubInclude HAIKU_TOP src bin network ; 282 283# Other stuff 284SubInclude HAIKU_TOP src bin filteredquery ; 285