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 usb ; 10UsePrivateSystemHeaders ; 11SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_cache ; 12UseLibraryHeaders ncurses ; 13UseLibraryHeaders termcap ; 14 15local haiku-utils_rsrc = [ FGristFiles haiku-utils.rsrc ] ; 16 17ResComp $(haiku-utils_rsrc) : [ FGristFiles haiku-utils.rdef ] ; 18 19AddResources checkitout : checkitout.rdef ; 20AddResources dstcheck : dstcheck.rdef ; 21AddResources fortune : fortune.rdef ; 22AddResources hey : hey.rdef ; 23AddResources mimeset : mimeset.rdef ; 24AddResources mountvolume : mountvolume.rdef ; 25AddResources notify : notify.rdef ; 26AddResources setmime : setmime.rdef ; 27AddResources urlwrapper : urlwrapper.rdef ; 28 29# standard commands that don't need any additional library 30StdBinCommands 31 badblocks.cpp 32 cal.c 33 chop.c 34 clear.c 35 driveinfo.c 36 error.c 37 fortune.c 38 finddir.c 39 hd.c 40 idestatus.c 41 listarea.c 42 listimage.c 43 listport.c 44 listsem.c 45 logger.cpp 46 lsindex.cpp 47 prio.c 48 ps.c 49 release.c 50 renice.c 51 rescan.c 52 sysinfo.cpp 53 unchop.c 54 uptime.cpp 55 vmstat.cpp 56 : : $(haiku-utils_rsrc) ; 57 58# Commands which don't need another library that depend on 59# Haiku-specific code 60if $(TARGET_PLATFORM) = haiku { 61StdBinCommands 62 boot_process_done.cpp 63 fdinfo.cpp 64 mount.c 65 rmattr.cpp 66 rmindex.cpp 67 safemode.c 68 unmount.c 69 : : $(haiku-utils_rsrc) ; 70} 71 72# standard commands that need libtermcap.a 73StdBinCommands 74 top.c 75 tput.c 76 : libtermcap.a : $(haiku-utils_rsrc) ; 77 78# standard commands that need libbe.so 79StdBinCommands 80 beep.cpp 81 catattr.cpp 82 checkfs.cpp 83 clipboard.cpp 84 clockconfig.cpp 85 df.cpp 86 diskimage.cpp 87 dpms.cpp 88 draggers.cpp 89 ffm.cpp 90 iroster.cpp 91 listattr.cpp 92 listfont.cpp 93 listres.cpp 94 mimeset.cpp 95 mkindex.cpp 96 message.cpp 97 modifiers.cpp 98 open.cpp 99 play.cpp 100 query.cpp 101 quit.cpp 102 roster.cpp 103 setversion.cpp 104 trash.cpp 105 version.cpp 106 waitfor.cpp 107 WindowShade.cpp 108 : be : $(haiku-utils_rsrc) ; 109 110if $(TARGET_PLATFORM) = libbe_test { 111 HaikuInstall install-test-apps : $(HAIKU_APP_TEST_DIR) : setdecor 112 : tests!apps ; 113} 114 115# standard commands that need libbe.so and libsupc++.so 116StdBinCommands 117 alert.cpp 118 eject.cpp 119 hey.cpp 120 reindex.cpp 121 resattr.cpp 122 setdecor.cpp 123 settype.cpp 124 spybmessage.cpp 125 urlwrapper.cpp 126 : be $(TARGET_LIBSUPC++) : $(haiku-utils_rsrc) ; 127 128# commands that need libbe.so and the stub catalog 129StdBinCommands 130 clockconfig.cpp 131 query.cpp 132 : be $(HAIKU_LOCALE_LIBS) : $(haiku-utils_rsrc) ; 133 134# commands that need libbe.so, libsupc++.so and the stub catalog 135StdBinCommands 136 dstcheck.cpp 137 : be $(TARGET_LIBSUPC++) $(HAIKU_LOCALE_LIBS) : $(haiku-utils_rsrc) ; 138 139# Haiku-specific apps which need libbe.so 140if $(TARGET_PLATFORM) = haiku { 141StdBinCommands 142 isvolume.cpp 143 shutdown.cpp 144 : be : $(haiku-utils_rsrc) ; 145} 146 147# standard commands that need libbe.so, libstdc++.so 148StdBinCommands 149 copyattr.cpp 150 setmime.cpp 151 xres.cpp 152 : be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ; 153 154# Haiku-specific apps which need libbe.so, libstdc++.so 155if $(TARGET_PLATFORM) = haiku { 156StdBinCommands 157 mountvolume.cpp 158 : be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ; 159} 160 161# commands that need libstdc++ only 162StdBinCommands 163 diff_zip.cpp 164 : $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ; 165 166# standard commands that need libbe.so, libtranslation.so, libsupc++.so 167StdBinCommands 168 translate.cpp 169 : be translation $(TARGET_LIBSUPC++) : $(haiku-utils_rsrc) ; 170 171# standard commands that need libbe.so, libtranslation.so, libicon.a, libstdc++.so 172StdBinCommands 173 notify.cpp 174 : be translation libicon.a $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ; 175 176# standard commands that need libbe.so, libmedia.so 177StdBinCommands 178 installsound.cpp 179 : be libmedia.so : $(haiku-utils_rsrc) ; 180 181# standard commands that need libbe.so, libmedia.so, libsupc++.so 182StdBinCommands 183 setvolume.cpp 184 : be libmedia.so $(TARGET_LIBSUPC++) : $(haiku-utils_rsrc) ; 185 186# standard commands that need libbe.so, libmail.so 187StdBinCommands 188 mail.cpp 189 : be libmail.so : $(haiku-utils_rsrc) ; 190 191# standard commands that need libbe.so, libdevice.so 192StdBinCommands 193 listusb.cpp 194 setusbconfig.cpp 195 : be libdevice.so : $(haiku-utils_rsrc) ; 196 197ObjectHdrs [ FGristFiles listusb$(SUFOBJ) ] 198 : [ FDirName $(SUBDIR) $(DOTDOT) add-ons kernel bus_managers usb ] 199 [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) apps devices ] ; 200Includes [ FGristFiles listusb.cpp ] : <src!apps!devices>usbhdr.h ; 201 202# standard commands that need libbluetooth.so, due the Bluetooth Kit 203StdBinCommands 204 bt_dev_info.cpp 205 : be libbluetooth.so : $(haiku-utils_rsrc) ; 206 207StdBinCommands 208 bt_discovery.cpp 209 : be libbluetooth.so $(TARGET_LIBSUPC++) : $(haiku-utils_rsrc) ; 210 211 212# standard commands that need libbe.so, libtracker.so 213StdBinCommands 214 checkitout.cpp 215 : be tracker $(TARGET_LIBSUPC++) : $(haiku-utils_rsrc) ; 216 217#standard commands that need libbe.so, libtracker.so and the stub catalog 218StdBinCommands 219 filepanel.cpp 220 : be tracker $(TARGET_LIBSUPC++) $(HAIKU_LOCALE_LIBS) : $(haiku-utils_rsrc) ; 221 222# standard commands that need libncurses.a 223StdBinCommands 224 watch.c 225 : libncurses.a : $(haiku-utils_rsrc) ; 226 227# Localization of some applications 228DoCatalogs dstcheck 229 : x-vnd.Haiku-cmd-dstconfig 230 : dstcheck.cpp 231; 232 233DoCatalogs filepanel 234 : x-vnd.mmu_man.filepanel 235 : filepanel.cpp 236; 237 238SubInclude HAIKU_TOP src bin addattr ; 239SubInclude HAIKU_TOP src bin bash ; 240SubInclude HAIKU_TOP src bin bc ; 241SubInclude HAIKU_TOP src bin bfs_tools ; 242SubInclude HAIKU_TOP src bin compress ; 243SubInclude HAIKU_TOP src bin consoled ; 244SubInclude HAIKU_TOP src bin coreutils ; 245SubInclude HAIKU_TOP src bin desklink ; 246SubInclude HAIKU_TOP src bin diffutils ; 247SubInclude HAIKU_TOP src bin findutils ; 248SubInclude HAIKU_TOP src bin fwcontrol ; 249SubInclude HAIKU_TOP src bin gawk ; 250SubInclude HAIKU_TOP src bin gdb ; 251SubInclude HAIKU_TOP src bin grep ; 252SubInclude HAIKU_TOP src bin hid_decode ; 253SubInclude HAIKU_TOP src bin iasl ; 254SubInclude HAIKU_TOP src bin ideinfo ; 255SubInclude HAIKU_TOP src bin keymap ; 256SubInclude HAIKU_TOP src bin less ; 257SubInclude HAIKU_TOP src bin listdev ; 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 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 patch ; 268SubInclude HAIKU_TOP src bin pc ; 269SubInclude HAIKU_TOP src bin pcmcia-cs ; 270SubInclude HAIKU_TOP src bin pkgman ; 271SubInclude HAIKU_TOP src bin playsound ; 272SubInclude HAIKU_TOP src bin rc ; 273SubInclude HAIKU_TOP src bin rmd160 ; 274SubInclude HAIKU_TOP src bin screen_blanker ; 275SubInclude HAIKU_TOP src bin screenmode ; 276SubInclude HAIKU_TOP src bin sharutils ; 277SubInclude HAIKU_TOP src bin unrar ; 278SubInclude HAIKU_TOP src bin writembr ; 279SubInclude HAIKU_TOP src bin zic ; 280 281# RCS commands 282SubInclude HAIKU_TOP src bin rcs ; 283 284# debugging tools 285SubInclude HAIKU_TOP src bin debug ; 286 287# Network command line tools 288SubInclude HAIKU_TOP src bin network ; 289 290# Compression command line tools 291SubInclude HAIKU_TOP src bin unzip ; 292SubInclude HAIKU_TOP src bin zip ; 293SubInclude HAIKU_TOP src bin gzip ; 294 295