source: mainline/uspace/Makefile@ 5fbc1f9

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 5fbc1f9 was fe656783, checked in by Vojtech Horky <vojtech.horky@…>, 7 years ago

Rename perf to hbench

The main reason for the rename is that perf (and performance measuring
tool description) suggests that perf is a generic tool for measuring
performance of other applications. But it is actually a set of
benchmarks for measuring internal parts of HelenOS (libc, IPC, etc.).

Furthermore, perf is a well-known program in GNU/Linux world with
completely different purpose and there really is no reason why to
confuse the users.

The new name hopefully better suggests that the tool is a set of
benchmarks for HelenOS (hence the name (H)elenOS (bench)marks).

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[c2ee1c5c]1#
[df4ed85]2# Copyright (c) 2005 Martin Decky
[c2ee1c5c]3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions
7# are met:
8#
9# - Redistributions of source code must retain the above copyright
10# notice, this list of conditions and the following disclaimer.
11# - Redistributions in binary form must reproduce the above copyright
12# notice, this list of conditions and the following disclaimer in the
13# documentation and/or other materials provided with the distribution.
14# - The name of the author may not be used to endorse or promote products
15# derived from this software without specific prior written permission.
16#
17# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27#
28
[177e4ea]29-include ../Makefile.common
[9a0367f]30-include ../Makefile.config
[c2ee1c5c]31
[1b1164e8]32## Common binaries
33#
34
[ecfd7e5]35DIRS = \
[a047aaa]36 app/barber \
[b3d513f]37 app/bdsh \
[a54bd98]38 app/bithenge \
[32d3ebf]39 app/blkdump \
[b79903b]40 app/contacts \
[92c1680]41 app/corecfg \
[edbad13a]42 app/cpptest \
[7beb220]43 app/devctl \
[5d1cb8a]44 app/dnscfg \
[31e9fe0]45 app/dnsres \
[d7b7f5e]46 app/download \
[b3d513f]47 app/edit \
[e96047c]48 app/fdisk \
[a9763c6]49 app/fontviewer \
[b3d513f]50 app/getterm \
[b93ea46a]51 app/gunzip \
[fe656783]52 app/hbench \
[b3d513f]53 app/init \
[b4ec1ea]54 app/inet \
[1e9f8ab]55 app/kill \
[c4faa0c]56 app/killall \
[6fa9a99d]57 app/kio \
[32d96e1]58 app/loc \
[669f5cae]59 app/logset \
[10b21a1b]60 app/lprint \
[a6bdccc]61 app/mixerctl \
[dccf721]62 app/mkfat \
[e872326]63 app/mkexfat \
[aab85d90]64 app/mkext4 \
[7a46bfe]65 app/mkmfs \
[7e69e0e]66 app/modplay \
[5147ff1]67 app/netecho \
[01a7aa1]68 app/nterm \
[7acd787]69 app/pci \
[b3d513f]70 app/redir \
[09ababb7]71 app/sbi \
[c0e53ff]72 app/sportdmp \
[3d482e0]73 app/stats \
[336db295]74 app/taskdump \
[b3d513f]75 app/tester \
[6b3e7f7f]76 app/testread \
[209cd41]77 app/testrunner \
[2966122]78 app/testwrit \
[b3d513f]79 app/tetris \
[81ee1009]80 app/tmon \
[b3d513f]81 app/trace \
[5c058d50]82 app/top \
[ff042c0]83 app/untar \
[07b9203e]84 app/usbinfo \
[db9c889]85 app/vol \
[57c7050]86 app/vuhid \
[6bcecc2]87 app/nic \
[a79d88d]88 app/ping \
[9621c7d]89 app/pkg \
[a3eeef45]90 app/sysinfo \
[3a34852]91 app/sysinst \
[4880210]92 app/mkbd \
[fd37139d]93 app/date \
[bdfdc51c]94 app/vcalc \
[6d5e378]95 app/vdemo \
[3e896e1]96 app/viewer \
[6d5e378]97 app/vlaunch \
98 app/vterm \
[66366470]99 app/df \
[a6bdccc]100 app/wavplay \
101 app/websrv \
[864762a]102 app/wifi_supplicant \
[a6bdccc]103 srv/audio/hound \
[d3a8e47]104 srv/clipboard \
[32d96e1]105 srv/locsrv \
[1f2dd20]106 srv/logger \
[0caa075e]107 srv/klog \
[e4c4247]108 srv/devman \
[b3d513f]109 srv/loader \
[695b6ff]110 srv/net/dhcp \
[31e9fe0]111 srv/net/dnsrsrv \
[69a93df7]112 srv/net/ethip \
[b4ec1ea]113 srv/net/inetsrv \
[606c369]114 srv/net/loopip \
[7af0cc5]115 srv/net/nconfsrv \
[2093fbe]116 srv/net/slip \
[69a93df7]117 srv/net/tcp \
118 srv/net/udp \
[b3d513f]119 srv/ns \
[a074b4f]120 srv/taskmon \
[b3d513f]121 srv/vfs \
[9904eb90]122 srv/bd/sata_bd \
[2a18193c]123 srv/bd/file_bd \
[e7645de]124 srv/bd/rd \
[1356f85a]125 srv/bd/vbd \
[db9aa04]126 srv/fs/exfat \
[48e3190]127 srv/fs/udf \
[c0cdcaf]128 srv/fs/fat \
[a26895d]129 srv/fs/cdfs \
[d5cdffe]130 srv/fs/tmpfs \
[7a46bfe]131 srv/fs/mfs \
[15f3c3f]132 srv/fs/locfs \
[d3a9ae74]133 srv/fs/ext4fs \
[bfcde8d]134 srv/volsrv \
[6d5e378]135 srv/hid/compositor \
[c6f08726]136 srv/hid/console \
[527298a]137 srv/hid/s3c24xx_ts \
[f66ca57f]138 srv/hid/isdv4_tablet \
[5f88293]139 srv/hid/input \
[6d5e378]140 srv/hid/output \
[21a9869]141 srv/hid/remcons \
[a9b5b5f]142 srv/hw/char/s3c24xx_uart \
[bd0e6a1]143 srv/hid/rfb \
[57914494]144 srv/test/chardev-test \
[1edd6d0]145 srv/test/ipc-test \
[b229062]146 drv/audio/hdaudio \
[2fc487f]147 drv/audio/sb16 \
[2a37b9f]148 drv/root/root \
149 drv/root/virt \
[9904eb90]150 drv/block/ahci \
[66cb7a2]151 drv/block/ata_bd \
[f2e78b0]152 drv/block/ddisk \
[53b9f2c]153 drv/block/usbmast \
[e27e36e]154 drv/bus/adb/cuda_adb \
[4c363fa2]155 drv/bus/isa \
156 drv/bus/pci/pciintel \
[5203e256]157 drv/bus/usb/ehci \
158 drv/bus/usb/ohci \
159 drv/bus/usb/uhci \
[b7e1458]160 drv/bus/usb/usbdiag \
[5203e256]161 drv/bus/usb/usbflbk \
162 drv/bus/usb/usbhub \
163 drv/bus/usb/usbmid \
[00d7e1b]164 drv/bus/usb/vhc \
[5119d34]165 drv/bus/usb/xhci \
[4c363fa2]166 drv/char/i8042 \
[f3365b6]167 drv/char/msim-con \
[4c363fa2]168 drv/char/ns8250 \
[10b21a1b]169 drv/char/pc-lpt \
[4c363fa2]170 drv/char/pl050 \
[6d15572]171 drv/char/ski-con \
[7aa94304]172 drv/char/sun4v-con \
[4c363fa2]173 drv/fb/amdm37x_dispc \
174 drv/fb/kfb \
[a2afd8f]175 drv/hid/adb-kbd \
176 drv/hid/adb-mouse \
[d420b22]177 drv/hid/atkbd \
178 drv/hid/ps2mouse \
[53b9f2c]179 drv/hid/usbhid \
[d420b22]180 drv/hid/xtkbd \
[b446b02]181 drv/intctl/apic \
182 drv/intctl/i8259 \
[a416d070]183 drv/intctl/icp-ic \
[be1b1e68]184 drv/intctl/obio \
[9916841]185 drv/nic/ne2k \
[f0b74b2]186 drv/nic/e1k \
[fef725d]187 drv/nic/rtl8139 \
[312e5ff]188 drv/nic/rtl8169 \
[864762a]189 drv/nic/ar9271 \
[033ebc25]190 drv/nic/virtio-net \
[4c363fa2]191 drv/platform/amdm37x \
192 drv/platform/icp \
193 drv/platform/mac \
194 drv/platform/malta \
195 drv/platform/msim \
196 drv/platform/pc \
[6d15572]197 drv/platform/ski \
[7aa94304]198 drv/platform/sun4v \
[53b9f2c]199 drv/test/test1 \
200 drv/test/test2 \
201 drv/test/test3 \
[4c363fa2]202 drv/time/cmos-rtc
[3a2f8aa]203
[4c363fa2]204## sun4u driver won't compile on 32-bit targets
[3e5a814]205ifeq ($(UARCH),sparc64)
[42742c5a]206 DIRS += \
[4c363fa2]207 drv/platform/sun4u
[09a0a8f0]208endif
209
[7c4b26c]210## Dynamic linking tests
211#
212ifeq ($(CONFIG_BUILD_SHARED_LIBS),y)
213 DIRS += \
214 app/dltest \
215 app/dltests
216endif
217
[1b1164e8]218## System libraries
219#
220
[4f674d7]221BASE_LIBS = \
222 lib/c \
[a57a79c]223 lib/cpp \
[24fda5e]224 lib/untar
[4f674d7]225
[e035612]226LIBS = \
[63f8966]227 lib/fs \
228 lib/block \
[1dcc0b9]229 lib/crypto \
[36a75a2]230 lib/clui \
[9182e86f]231 lib/dltest \
[e96047c]232 lib/fdisk \
[22cf42d9]233 lib/fmtutil \
[0feaae4]234 lib/scsi \
[b79903b]235 lib/sif \
[a047aaa]236 lib/compress \
[c47e1a8]237 lib/drv \
[6d5e378]238 lib/graph \
239 lib/gui \
[a6bdccc]240 lib/hound \
[d7b7f5e]241 lib/http \
[6d5e378]242 lib/softrend \
243 lib/draw \
[1356f85a]244 lib/label \
[8620b2f]245 lib/math \
[cecba66e]246 lib/minix \
[2989c7e]247 lib/nettl \
[00d7e1b]248 lib/nic \
[eb91db7]249 lib/ext4 \
[7e69e0e]250 lib/trackmod \
[d7b7f5e]251 lib/uri \
[8d6c1f1]252 lib/usb \
253 lib/usbhost \
254 lib/usbdev \
255 lib/usbhid \
[2af29ed]256 lib/usbvirt \
[ea6c838]257 lib/pcm \
[865b981]258 lib/pcut \
[681a985]259 lib/bithenge \
[d3a92c87]260 lib/posix \
[00192cde]261 lib/ieee80211 \
262 lib/virtio
[e035612]263
[4f674d7]264BASE_BUILDS := $(addsuffix .build,$(BASE_LIBS))
265BUILDS := $(addsuffix .build,$(DIRS) $(LIBS))
266BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) $(BASE_LIBS))
267DEPS = $(addsuffix /deps.mk,$(DIRS) $(LIBS))
268CLEANS := $(addsuffix .clean,$(DIRS) $(LIBS) $(BASE_LIBS))
[1b1164e8]269
[2660ee3]270.PHONY: all $(BASE_BUILDS) $(BUILDS) $(BUILDS_TESTS) $(CLEANS) clean export
[c2ee1c5c]271
[01579ad]272all: $(BUILDS) $(BUILDS_TESTS)
273
[4f674d7]274$(BUILDS_TESTS): $(BASE_BUILDS) $(BUILDS)
[e540bc87]275 $(MAKE) -r -C $(basename $@) all-test PRECHECK=$(PRECHECK)
[c2ee1c5c]276
[b501de7]277export: $(BUILDS)
[9c3038d]278 mkdir -p $(EXPORT_DIR)
[2660ee3]279 $(MAKE) -r -C lib/posix export EXPORT_DIR=$(EXPORT_DIR)
280
[25b0e6a]281clean: $(CLEANS)
[68825c3]282 find lib app drv srv -name '*.o' -follow -exec rm \{\} \;
283 find lib app drv srv -name '*.lo' -follow -exec rm \{\} \;
284 find lib app drv srv -name '*.d' -follow -exec rm \{\} \;
[a5c468e]285 rm -fr export
[c2ee1c5c]286
[25b0e6a]287$(CLEANS):
[7654f3e]288 -$(MAKE) -r -C $(basename $@) fasterclean
[c2ee1c5c]289
[4f674d7]290$(BASE_BUILDS) $(BUILDS):
[e540bc87]291 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK)
[14f1db0]292
[4f674d7]293$(DEPS): %/deps.mk: %/Makefile
294 $(MAKE) -r -C $(@D) deps.mk SELF_TARGET="$(@D).build"
[e035612]295
[4f674d7]296$(BUILDS): $(BASE_BUILDS)
297
298-include $(DEPS)
Note: See TracBrowser for help on using the repository browser.