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