1SubDir HAIKU_TOP src bin ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5UsePrivateHeaders app ; 6UsePrivateHeaders shared ; 7UsePrivateHeaders storage ; 8UseLibraryHeaders usb ; 9UseHeaders $(TARGET_PRIVATE_KERNEL_HEADERS) : true ; 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 diff_zip.cpp 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 isvolume.cpp 36 listarea.c 37 listimage.c 38 listport.c 39 listsem.c 40 logger.cpp 41 lsindex.cpp 42 prio.c 43 ps.c 44 release.c 45 renice.c 46 rescan.c 47 sysinfo.c 48 unchop.c 49 uptime.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 74AddResources mimeset : mimeset.rdef ; 75AddResources urlwrapper : urlwrapper.rdef ; 76 77# standard commands that need libbe.so 78StdBinCommands 79 alert.cpp 80 beep.cpp 81 clipboard.cpp 82 df.cpp 83 dpms.cpp 84 draggers.cpp 85 dstcheck.cpp 86# factor.cpp 87 ffm.cpp 88 hey.cpp 89 iroster.cpp 90 listattr.cpp 91 listfont.cpp 92 listres.cpp 93 mimeset.cpp 94 mkindex.cpp 95 modifiers.cpp 96 open.cpp 97 play.cpp 98 query.cpp 99 quit.cpp 100 roster.cpp 101 setdecor.cpp 102 settype.cpp 103 setversion.cpp 104 urlwrapper.cpp 105 version.cpp 106 WindowShade.cpp 107# yes.cpp 108 : be : $(haiku-utils_rsrc) ; 109 110# Haiku-specific apps which need libbe.so 111if $(TARGET_PLATFORM) = haiku { 112StdBinCommands 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., libstdc++.so 124if $(TARGET_PLATFORM) = haiku { 125StdBinCommands 126 mountvolume.cpp 127 : be $(TARGET_LIBSTDC++) : $(haiku-utils_rsrc) ; 128} 129 130# standard commands that need libbe.so, libtranslation.so 131StdBinCommands 132 translate.cpp 133 : be translation : $(haiku-utils_rsrc) ; 134 135# standard commands that need libbe.so, libmedia.so 136StdBinCommands 137 installsound.cpp 138 setvolume.cpp 139 : be libmedia.so : $(haiku-utils_rsrc) ; 140 141# standard commands that need libbe.so, libmail.so 142StdBinCommands 143 mail.cpp 144 : be libmail.so : $(haiku-utils_rsrc) ; 145 146# standard commands that need libbe.so, libdevice.so 147StdBinCommands 148 usb_dev_info.cpp 149 : be libdevice.so : $(haiku-utils_rsrc) ; 150 151# standard commands that need libbe.so, libtracker.so 152StdBinCommands 153 filepanel.cpp 154 : be tracker : $(haiku-utils_rsrc) ; 155 156# cc and c++ wrapper scripts 157SEARCH on cc c++ = $(SUBDIR) ; 158 159SubInclude HAIKU_TOP src bin addattr ; 160SubInclude HAIKU_TOP src bin bash ; 161SubInclude HAIKU_TOP src bin bc ; 162SubInclude HAIKU_TOP src bin bemail_utils ; 163SubInclude HAIKU_TOP src bin chkbfs ; 164SubInclude HAIKU_TOP src bin compress ; 165SubInclude HAIKU_TOP src bin coreutils ; 166SubInclude HAIKU_TOP src bin ctags ; 167SubInclude HAIKU_TOP src bin desklink ; 168SubInclude HAIKU_TOP src bin diffutils ; 169SubInclude HAIKU_TOP src bin findutils ; 170SubInclude HAIKU_TOP src bin fwcontrol ; 171SubInclude HAIKU_TOP src bin gawk ; 172SubInclude HAIKU_TOP src bin gdb ; 173SubInclude HAIKU_TOP src bin grep ; 174SubInclude HAIKU_TOP src bin iasl ; 175SubInclude HAIKU_TOP src bin ideinfo ; 176SubInclude HAIKU_TOP src bin keymap ; 177SubInclude HAIKU_TOP src bin less ; 178SubInclude HAIKU_TOP src bin listdev ; 179SubInclude HAIKU_TOP src bin m4 ; 180SubInclude HAIKU_TOP src bin make ; 181SubInclude HAIKU_TOP src bin makebootable ; 182#SubInclude HAIKU_TOP src bin makeudfimage ; 183SubInclude HAIKU_TOP src bin mkdos ; 184SubInclude HAIKU_TOP src bin patch ; 185SubInclude HAIKU_TOP src bin pc ; 186SubInclude HAIKU_TOP src bin pcmcia-cs ; 187SubInclude HAIKU_TOP src bin playsound ; 188SubInclude HAIKU_TOP src bin rmd160 ; 189SubInclude HAIKU_TOP src bin screen_blanker ; 190SubInclude HAIKU_TOP src bin sed ; 191SubInclude HAIKU_TOP src bin sharutils ; 192SubInclude HAIKU_TOP src bin strace ; 193SubInclude HAIKU_TOP src bin unrar ; 194SubInclude HAIKU_TOP src bin vim ; 195SubInclude HAIKU_TOP src bin zic ; 196 197# RCS commands 198SubInclude HAIKU_TOP src bin rcs ; 199 200# Network command line tools 201SubInclude HAIKU_TOP src bin network ; 202 203# Compression command line tools 204SubInclude HAIKU_TOP src bin unzip ; 205SubInclude HAIKU_TOP src bin zip ; 206SubInclude HAIKU_TOP src bin gzip ; 207SubInclude HAIKU_TOP src bin bzip2 ; 208SubInclude HAIKU_TOP src bin tar ; 209