source: mainline/uspace/Makefile@ 2df7d824

Last change on this file since 2df7d824 was 0a8f070, checked in by Matthieu Riolo <matthieu.riolo@…>, 6 years ago

Create taskman server (extracts task-related operations from naming service)

  • Exploits initial phones connected to spawn parent instead of NS.
  • session_ns changed to session_primary (setup during taskman-loader handshake).
  • Task creation moved from NS to taskman (no clonable services anymore).
  • Other task-related operations implementation is to come (task_retval is temporarily dummy).
  • Async framework: implicit connections — create fibrils for calls that arrived through initial phone.

Conflicts:

abi/include/abi/ipc/methods.h
boot/Makefile.common
uspace/Makefile
uspace/app/trace/ipcp.c
uspace/lib/c/generic/async.c
uspace/lib/c/generic/libc.c
uspace/lib/c/generic/loader.c
uspace/lib/c/generic/ns.c
uspace/lib/c/generic/private/async.h
uspace/lib/c/generic/private/ns.h
uspace/lib/c/generic/task.c
uspace/lib/c/include/async.h
uspace/lib/c/include/ipc/services.h
uspace/lib/c/include/ipc/taskman.h
uspace/lib/c/include/loader/pcb.h
uspace/lib/c/include/ns.h
uspace/srv/loader/main.c
uspace/srv/ns/clonable.c
uspace/srv/ns/ns.c

  • Property mode set to 100644
File size: 5.9 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 \
[62d3d87]120 srv/taskmon \
[3f7e1f24]121 srv/sysman \
[0a8f070]122 srv/taskman \
[b3d513f]123 srv/vfs \
[9904eb90]124 srv/bd/sata_bd \
[2a18193c]125 srv/bd/file_bd \
[e7645de]126 srv/bd/rd \
[1356f85a]127 srv/bd/vbd \
[db9aa04]128 srv/fs/exfat \
[48e3190]129 srv/fs/udf \
[c0cdcaf]130 srv/fs/fat \
[a26895d]131 srv/fs/cdfs \
[d5cdffe]132 srv/fs/tmpfs \
[7a46bfe]133 srv/fs/mfs \
[15f3c3f]134 srv/fs/locfs \
[d3a9ae74]135 srv/fs/ext4fs \
[bfcde8d]136 srv/volsrv \
[6d5e378]137 srv/hid/compositor \
[c6f08726]138 srv/hid/console \
[527298a]139 srv/hid/s3c24xx_ts \
[f66ca57f]140 srv/hid/isdv4_tablet \
[5f88293]141 srv/hid/input \
[6d5e378]142 srv/hid/output \
[21a9869]143 srv/hid/remcons \
[a9b5b5f]144 srv/hw/char/s3c24xx_uart \
[bd0e6a1]145 srv/hid/rfb \
[57914494]146 srv/test/chardev-test \
[1edd6d0]147 srv/test/ipc-test \
[b229062]148 drv/audio/hdaudio \
[2fc487f]149 drv/audio/sb16 \
[2a37b9f]150 drv/root/root \
151 drv/root/virt \
[9904eb90]152 drv/block/ahci \
[66cb7a2]153 drv/block/ata_bd \
[f2e78b0]154 drv/block/ddisk \
[53b9f2c]155 drv/block/usbmast \
[13eecc4]156 drv/block/virtio-blk \
[e27e36e]157 drv/bus/adb/cuda_adb \
[4c363fa2]158 drv/bus/isa \
159 drv/bus/pci/pciintel \
[5203e256]160 drv/bus/usb/ehci \
161 drv/bus/usb/ohci \
162 drv/bus/usb/uhci \
[b7e1458]163 drv/bus/usb/usbdiag \
[5203e256]164 drv/bus/usb/usbflbk \
165 drv/bus/usb/usbhub \
166 drv/bus/usb/usbmid \
[00d7e1b]167 drv/bus/usb/vhc \
[5119d34]168 drv/bus/usb/xhci \
[4c363fa2]169 drv/char/i8042 \
[f3365b6]170 drv/char/msim-con \
[4c363fa2]171 drv/char/ns8250 \
[10b21a1b]172 drv/char/pc-lpt \
[7348c4b]173 drv/char/pl011 \
[4c363fa2]174 drv/char/pl050 \
[6d15572]175 drv/char/ski-con \
[7aa94304]176 drv/char/sun4v-con \
[4c363fa2]177 drv/fb/amdm37x_dispc \
178 drv/fb/kfb \
[a2afd8f]179 drv/hid/adb-kbd \
180 drv/hid/adb-mouse \
[d420b22]181 drv/hid/atkbd \
182 drv/hid/ps2mouse \
[53b9f2c]183 drv/hid/usbhid \
[d420b22]184 drv/hid/xtkbd \
[b446b02]185 drv/intctl/apic \
[8df0306]186 drv/intctl/gicv2 \
[b446b02]187 drv/intctl/i8259 \
[a416d070]188 drv/intctl/icp-ic \
[be1b1e68]189 drv/intctl/obio \
[9916841]190 drv/nic/ne2k \
[f0b74b2]191 drv/nic/e1k \
[fef725d]192 drv/nic/rtl8139 \
[312e5ff]193 drv/nic/rtl8169 \
[864762a]194 drv/nic/ar9271 \
[033ebc25]195 drv/nic/virtio-net \
[4c363fa2]196 drv/platform/amdm37x \
[69b6dd1f]197 drv/platform/arm64virt \
[4c363fa2]198 drv/platform/icp \
199 drv/platform/mac \
200 drv/platform/malta \
201 drv/platform/msim \
202 drv/platform/pc \
[6d15572]203 drv/platform/ski \
[7aa94304]204 drv/platform/sun4v \
[53b9f2c]205 drv/test/test1 \
206 drv/test/test2 \
207 drv/test/test3 \
[4c363fa2]208 drv/time/cmos-rtc
[3a2f8aa]209
[4c363fa2]210## sun4u driver won't compile on 32-bit targets
[3e5a814]211ifeq ($(UARCH),sparc64)
[42742c5a]212 DIRS += \
[4c363fa2]213 drv/platform/sun4u
[09a0a8f0]214endif
215
[7c4b26c]216## Dynamic linking tests
217#
218ifeq ($(CONFIG_BUILD_SHARED_LIBS),y)
219 DIRS += \
220 app/dltest \
221 app/dltests
222endif
223
[1b1164e8]224## System libraries
225#
226
[83b64a59]227DIRS += \
[63f8966]228 lib/fs \
229 lib/block \
[83b64a59]230 lib/c \
231 lib/cpp \
[1dcc0b9]232 lib/crypto \
[36a75a2]233 lib/clui \
[9182e86f]234 lib/dltest \
[e96047c]235 lib/fdisk \
[22cf42d9]236 lib/fmtutil \
[0feaae4]237 lib/scsi \
[b79903b]238 lib/sif \
[a047aaa]239 lib/compress \
[c47e1a8]240 lib/drv \
[6d5e378]241 lib/graph \
242 lib/gui \
[a6bdccc]243 lib/hound \
[d7b7f5e]244 lib/http \
[6006f35]245 lib/conf \
[6d5e378]246 lib/softrend \
247 lib/draw \
[1356f85a]248 lib/label \
[8620b2f]249 lib/math \
[cecba66e]250 lib/minix \
[2989c7e]251 lib/nettl \
[00d7e1b]252 lib/nic \
[eb91db7]253 lib/ext4 \
[7e69e0e]254 lib/trackmod \
[58168e0]255 lib/untar \
[d7b7f5e]256 lib/uri \
[8d6c1f1]257 lib/usb \
258 lib/usbhost \
259 lib/usbdev \
260 lib/usbhid \
[2af29ed]261 lib/usbvirt \
[ea6c838]262 lib/pcm \
[865b981]263 lib/pcut \
[681a985]264 lib/bithenge \
[d3a92c87]265 lib/posix \
[00192cde]266 lib/ieee80211 \
[d89b259]267 lib/virtio \
268 lib/sysman
[e035612]269
[83b64a59]270BUILDS := $(addsuffix .build,$(DIRS))
271BUILDS_TESTS := $(addsuffix .build-test,$(DIRS))
272DEPS = $(addsuffix /deps.mk,$(DIRS))
273CLEANS := $(addsuffix .clean,$(DIRS))
[1b1164e8]274
[83b64a59]275.PHONY: all $(BUILDS) $(BUILDS_TESTS) $(CLEANS) clean export
[c2ee1c5c]276
[01579ad]277all: $(BUILDS) $(BUILDS_TESTS)
278
[83b64a59]279$(BUILDS_TESTS): $(BUILDS)
[e540bc87]280 $(MAKE) -r -C $(basename $@) all-test PRECHECK=$(PRECHECK)
[c2ee1c5c]281
[b501de7]282export: $(BUILDS)
[9c3038d]283 mkdir -p $(EXPORT_DIR)
[2660ee3]284 $(MAKE) -r -C lib/posix export EXPORT_DIR=$(EXPORT_DIR)
285
[25b0e6a]286clean: $(CLEANS)
[68825c3]287 find lib app drv srv -name '*.o' -follow -exec rm \{\} \;
288 find lib app drv srv -name '*.lo' -follow -exec rm \{\} \;
289 find lib app drv srv -name '*.d' -follow -exec rm \{\} \;
[a5c468e]290 rm -fr export
[c2ee1c5c]291
[25b0e6a]292$(CLEANS):
[7654f3e]293 -$(MAKE) -r -C $(basename $@) fasterclean
[c2ee1c5c]294
[83b64a59]295$(BUILDS):
[e540bc87]296 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK)
[14f1db0]297
[4f674d7]298$(DEPS): %/deps.mk: %/Makefile
299 $(MAKE) -r -C $(@D) deps.mk SELF_TARGET="$(@D).build"
[e035612]300
[4f674d7]301-include $(DEPS)
Note: See TracBrowser for help on using the repository browser.