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 vmstat.cpp 54 : : $(haiku-utils_rsrc) ; 55 56# Commands which don't need another library that depend on 57# Haiku-specific code 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# standard commands that need libncurses.a 69Includes [ FGristFiles top.cpp watch.c ] 70 : [ BuildFeatureAttribute ncurses : headers ] ; 71 72StdBinCommands 73 watch.c 74 : [ BuildFeatureAttribute ncurses : library ] : $(haiku-utils_rsrc) ; 75 76# standard commands that need libbe.so 77StdBinCommands 78 autologin.cpp 79 beep.cpp 80 catattr.cpp 81 checkfs.cpp 82 clipboard.cpp 83 df.cpp 84 diskimage.cpp 85 dpms.cpp 86 draggers.cpp 87 ffm.cpp 88 iroster.cpp 89 launch_roster.cpp 90 listattr.cpp 91 listfont.cpp 92 listres.cpp 93 mkindex.cpp 94 message.cpp 95 modifiers.cpp 96 mvattr.cpp 97 play.cpp 98 query.cpp 99 quit.cpp 100 roster.cpp 101 setversion.cpp 102 trash.cpp 103 version.cpp 104 waitfor.cpp 105 WindowShade.cpp 106 : be : $(haiku-utils_rsrc) ; 107 108if $(TARGET_PLATFORM) = libbe_test { 109 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : setdecor 110 : tests!apps ; 111} 112 113# standard commands that need libbe.so and libsupc++.so 114StdBinCommands 115 alert.cpp 116 eject.cpp 117 getarch.cpp 118 hey.cpp 119 reindex.cpp 120 resattr.cpp 121 screeninfo.cpp 122 setarch.cpp 123 setdecor.cpp 124 settype.cpp 125 spybmessage.cpp 126 urlwrapper.cpp 127 : be [ TargetLibsupc++ ] : $(haiku-utils_rsrc) ; 128 129# standard commands that need libbe.so, libsupc++.so, and libshared.a 130StdBinCommands 131 ramdisk.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 ; 260#SubInclude HAIKU_TOP src bin makeudfimage ; 261SubInclude HAIKU_TOP src bin mail_utils ; 262SubInclude HAIKU_TOP src bin media_client ; 263SubInclude HAIKU_TOP src bin mkdos ; 264SubInclude HAIKU_TOP src bin mkfs ; 265SubInclude HAIKU_TOP src bin multiuser ; 266SubInclude HAIKU_TOP src bin package ; 267SubInclude HAIKU_TOP src bin package_repo ; 268SubInclude HAIKU_TOP src bin pc ; 269SubInclude HAIKU_TOP src bin pcmcia-cs ; 270SubInclude HAIKU_TOP src bin pkgman ; 271SubInclude HAIKU_TOP src bin rc ; 272SubInclude HAIKU_TOP src bin screen_blanker ; 273SubInclude HAIKU_TOP src bin screenmode ; 274SubInclude HAIKU_TOP src bin writembr ; 275 276# debugging tools 277SubInclude HAIKU_TOP src bin debug ; 278 279# Network command line tools 280SubInclude HAIKU_TOP src bin network ; 281 282# Other stuff 283SubInclude HAIKU_TOP src bin filteredquery ; 284