source: mainline/uspace/Makefile@ b229062

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since b229062 was b229062, checked in by Jiri Svoboda <jiri@…>, 11 years ago

HDA driver skeleton.

  • Property mode set to 100644
File size: 5.3 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 = \
[b3d513f]36 app/bdsh \
[a54bd98]37 app/bithenge \
[32d3ebf]38 app/blkdump \
[423f64f]39 app/bnchmark \
[92c1680]40 app/corecfg \
[7beb220]41 app/devctl \
[5d1cb8a]42 app/dnscfg \
[31e9fe0]43 app/dnsres \
[d7b7f5e]44 app/download \
[b3d513f]45 app/edit \
46 app/getterm \
[34b172d]47 app/hdisk \
[b3d513f]48 app/init \
[b4ec1ea]49 app/inet \
[1e9f8ab]50 app/kill \
[c4faa0c]51 app/killall \
[6fa9a99d]52 app/kio \
[32d96e1]53 app/loc \
[669f5cae]54 app/logset \
[a6bdccc]55 app/mixerctl \
[dccf721]56 app/mkfat \
[e872326]57 app/mkexfat \
[7a46bfe]58 app/mkmfs \
[01a7aa1]59 app/nterm \
[b3d513f]60 app/redir \
[09ababb7]61 app/sbi \
[c0e53ff]62 app/sportdmp \
[3d482e0]63 app/stats \
[336db295]64 app/taskdump \
[b3d513f]65 app/tester \
[6b3e7f7f]66 app/testread \
[2966122]67 app/testwrit \
[b3d513f]68 app/tetris \
69 app/trace \
[5c058d50]70 app/top \
[ff042c0]71 app/untar \
[07b9203e]72 app/usbinfo \
[57c7050]73 app/vuhid \
[a79d88d]74 app/netecho \
[fada53f]75 app/netspeed \
[a79d88d]76 app/nettest1 \
77 app/nettest2 \
[92e717c]78 app/nettest3 \
[6bcecc2]79 app/nic \
[a79d88d]80 app/ping \
[a3eeef45]81 app/sysinfo \
[4880210]82 app/mkbd \
[fd37139d]83 app/date \
[6d5e378]84 app/vdemo \
[3e896e1]85 app/viewer \
[6d5e378]86 app/vlaunch \
87 app/vterm \
[66366470]88 app/df \
[a6bdccc]89 app/wavplay \
90 app/websrv \
91 srv/audio/hound \
[d3a8e47]92 srv/clipboard \
[32d96e1]93 srv/locsrv \
[1f2dd20]94 srv/logger \
[0caa075e]95 srv/klog \
[e4c4247]96 srv/devman \
[b3d513f]97 srv/loader \
[695b6ff]98 srv/net/dhcp \
[31e9fe0]99 srv/net/dnsrsrv \
[69a93df7]100 srv/net/ethip \
[b4ec1ea]101 srv/net/inetsrv \
[606c369]102 srv/net/loopip \
[7af0cc5]103 srv/net/nconfsrv \
[2093fbe]104 srv/net/slip \
[69a93df7]105 srv/net/tcp \
106 srv/net/udp \
[b3d513f]107 srv/ns \
[a074b4f]108 srv/taskmon \
[b3d513f]109 srv/vfs \
[9904eb90]110 srv/bd/sata_bd \
[2a18193c]111 srv/bd/file_bd \
[e7645de]112 srv/bd/rd \
[975e7e9]113 srv/bd/part/guid_part \
[b3d513f]114 srv/bd/part/mbr_part \
[db9aa04e]115 srv/fs/exfat \
[48e3190]116 srv/fs/udf \
[c0cdcaf]117 srv/fs/fat \
[a26895d]118 srv/fs/cdfs \
[d5cdffe]119 srv/fs/tmpfs \
[7a46bfe]120 srv/fs/mfs \
[15f3c3f]121 srv/fs/locfs \
[d3a9ae74]122 srv/fs/ext4fs \
[6d5e378]123 srv/hid/compositor \
[c6f08726]124 srv/hid/console \
[527298a]125 srv/hid/s3c24xx_ts \
[f66ca57f]126 srv/hid/isdv4_tablet \
[5f88293]127 srv/hid/input \
[6d5e378]128 srv/hid/output \
[21a9869]129 srv/hid/remcons \
[a9b5b5f]130 srv/hw/char/s3c24xx_uart \
[bd0e6a1]131 srv/hid/rfb \
[b229062]132 drv/audio/hdaudio \
[2fc487f]133 drv/audio/sb16 \
[5203e256]134 drv/infrastructure/root \
135 drv/infrastructure/rootvirt \
[9904eb90]136 drv/block/ahci \
[66cb7a2]137 drv/block/ata_bd \
[4d8e203]138 drv/char/i8042 \
[38994e3]139 drv/char/ps2mouse \
[4d8e203]140 drv/char/xtkbd \
[5203e256]141 drv/test/test1 \
142 drv/test/test2 \
143 drv/test/test3 \
[6d5e378]144 drv/fb/kfb \
[5203e256]145 drv/bus/usb/ehci \
146 drv/bus/usb/ohci \
147 drv/bus/usb/uhci \
148 drv/bus/usb/uhcirh \
149 drv/bus/usb/usbflbk \
150 drv/bus/usb/usbhid \
151 drv/bus/usb/usbhub \
152 drv/bus/usb/usbmast \
153 drv/bus/usb/usbmid \
[00d7e1b]154 drv/bus/usb/vhc \
[9916841]155 drv/nic/ne2k \
[f0b74b2]156 drv/nic/e1k \
[fef725d]157 drv/nic/rtl8139 \
158 drv/nic/rtl8169
[14f1db0]159
[1b1164e8]160## Platform-specific hardware support
161#
[c2ee1c5c]162
[2e231aba]163ifeq ($(UARCH), $(filter $(UARCH),amd64 ia32 ia64))
[acc7ce4]164 DIRS += \
[5203e256]165 drv/infrastructure/rootpc \
166 drv/bus/pci/pciintel \
167 drv/bus/isa \
168 drv/char/ns8250 \
[5ef13847]169 drv/time/cmos-rtc \
[acc7ce4]170 srv/hw/irc/apic \
171 srv/hw/irc/i8259
[37458472]172endif
[5a4c754]173
[c501bc4]174ifeq ($(UARCH), $(filter $(UARCH),mips32 mips32eb))
175 DIRS += \
176 drv/infrastructure/rootmalta \
177 drv/bus/pci/pciintel \
178 drv/bus/isa
179endif
180
[3a2f8aa]181ifeq ($(UARCH),ppc32)
[73d288c]182 DIRS += \
[5203e256]183 drv/infrastructure/rootmac \
[cb3dbb63]184 drv/bus/pci/pciintel \
[73d288c]185 srv/hw/bus/cuda_adb
[3a2f8aa]186endif
187
[3e5a814]188ifeq ($(UARCH),sparc64)
[42742c5a]189 DIRS += \
[acc7ce4]190 srv/hw/irc/obio
[3e5a814]191endif
192
[09a0a8f0]193ifeq ($(UARCH),arm32)
194 DIRS += \
[a14f346]195 drv/infrastructure/rootamdm37x \
196 drv/fb/amdm37x_dispc
[09a0a8f0]197endif
198
[1b1164e8]199## System libraries
200#
201
[63f8966]202LIBC = lib/c
[e035612]203LIBS = \
[63f8966]204 lib/fs \
205 lib/block \
[36a75a2]206 lib/clui \
[22cf42d9]207 lib/fmtutil \
[0feaae4]208 lib/scsi \
[e035612]209 lib/softint \
[e5773c6]210 lib/softfloat \
[c47e1a8]211 lib/drv \
[6d5e378]212 lib/graph \
213 lib/gui \
[a6bdccc]214 lib/hound \
[d7b7f5e]215 lib/http \
[6d5e378]216 lib/softrend \
217 lib/draw \
[8620b2f]218 lib/math \
[3bd76491]219 lib/net \
[00d7e1b]220 lib/nic \
[eb91db7]221 lib/ext4 \
[d7b7f5e]222 lib/uri \
[8d6c1f1]223 lib/usb \
224 lib/usbhost \
225 lib/usbdev \
226 lib/usbhid \
[2af29ed]227 lib/usbvirt \
[ea6c838]228 lib/pcm \
[681a985]229 lib/bithenge \
[d3a92c87]230 lib/posix \
[34b172d]231 lib/mbr \
[cbd64057]232 lib/gpt
[e035612]233
234LIBC_BUILD = $(addsuffix .build,$(LIBC))
235LIBS_BUILD = $(addsuffix .build,$(LIBS))
[14f1db0]236LIBN_BUILD = $(addsuffix .build,$(LIBN))
237BUILDS := $(addsuffix .build,$(DIRS))
[e035612]238
[14f1db0]239CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
[1b1164e8]240
[14f1db0]241.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
[c2ee1c5c]242
[cc1f8d4]243all: $(BUILDS)
[c2ee1c5c]244
[25b0e6a]245clean: $(CLEANS)
[c2ee1c5c]246
[25b0e6a]247$(CLEANS):
[24d6efc]248 -$(MAKE) -C $(basename $@) clean
[c2ee1c5c]249
[14f1db0]250$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
251 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
252
253$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
[8786aa5]254 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
[e035612]255
256$(LIBS_BUILD): $(LIBC_BUILD)
[8786aa5]257 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
[e035612]258
259$(LIBC_BUILD):
[8786aa5]260 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.