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