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