source: mainline/uspace/Makefile@ 31ccd42a

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

HDA driver skeleton.

  • Property mode set to 100644
File size: 5.3 KB
Line 
1#
2# Copyright (c) 2005 Martin Decky
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
29-include ../Makefile.common
30-include ../Makefile.config
31
32## Common binaries
33#
34
35DIRS = \
36 app/bdsh \
37 app/bithenge \
38 app/blkdump \
39 app/bnchmark \
40 app/corecfg \
41 app/devctl \
42 app/dnscfg \
43 app/dnsres \
44 app/download \
45 app/edit \
46 app/getterm \
47 app/hdisk \
48 app/init \
49 app/inet \
50 app/kill \
51 app/killall \
52 app/kio \
53 app/loc \
54 app/logset \
55 app/mixerctl \
56 app/mkfat \
57 app/mkexfat \
58 app/mkmfs \
59 app/nterm \
60 app/redir \
61 app/sbi \
62 app/sportdmp \
63 app/stats \
64 app/taskdump \
65 app/tester \
66 app/testread \
67 app/testwrit \
68 app/tetris \
69 app/trace \
70 app/top \
71 app/untar \
72 app/usbinfo \
73 app/vuhid \
74 app/netecho \
75 app/netspeed \
76 app/nettest1 \
77 app/nettest2 \
78 app/nettest3 \
79 app/nic \
80 app/ping \
81 app/sysinfo \
82 app/mkbd \
83 app/date \
84 app/vdemo \
85 app/viewer \
86 app/vlaunch \
87 app/vterm \
88 app/df \
89 app/wavplay \
90 app/websrv \
91 srv/audio/hound \
92 srv/clipboard \
93 srv/locsrv \
94 srv/logger \
95 srv/klog \
96 srv/devman \
97 srv/loader \
98 srv/net/dhcp \
99 srv/net/dnsrsrv \
100 srv/net/ethip \
101 srv/net/inetsrv \
102 srv/net/loopip \
103 srv/net/nconfsrv \
104 srv/net/slip \
105 srv/net/tcp \
106 srv/net/udp \
107 srv/ns \
108 srv/taskmon \
109 srv/vfs \
110 srv/bd/sata_bd \
111 srv/bd/file_bd \
112 srv/bd/rd \
113 srv/bd/part/guid_part \
114 srv/bd/part/mbr_part \
115 srv/fs/exfat \
116 srv/fs/udf \
117 srv/fs/fat \
118 srv/fs/cdfs \
119 srv/fs/tmpfs \
120 srv/fs/mfs \
121 srv/fs/locfs \
122 srv/fs/ext4fs \
123 srv/hid/compositor \
124 srv/hid/console \
125 srv/hid/s3c24xx_ts \
126 srv/hid/isdv4_tablet \
127 srv/hid/input \
128 srv/hid/output \
129 srv/hid/remcons \
130 srv/hw/char/s3c24xx_uart \
131 srv/hid/rfb \
132 drv/audio/hdaudio \
133 drv/audio/sb16 \
134 drv/infrastructure/root \
135 drv/infrastructure/rootvirt \
136 drv/block/ahci \
137 drv/block/ata_bd \
138 drv/char/i8042 \
139 drv/char/ps2mouse \
140 drv/char/xtkbd \
141 drv/test/test1 \
142 drv/test/test2 \
143 drv/test/test3 \
144 drv/fb/kfb \
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 \
154 drv/bus/usb/vhc \
155 drv/nic/ne2k \
156 drv/nic/e1k \
157 drv/nic/rtl8139 \
158 drv/nic/rtl8169
159
160## Platform-specific hardware support
161#
162
163ifeq ($(UARCH), $(filter $(UARCH),amd64 ia32 ia64))
164 DIRS += \
165 drv/infrastructure/rootpc \
166 drv/bus/pci/pciintel \
167 drv/bus/isa \
168 drv/char/ns8250 \
169 drv/time/cmos-rtc \
170 srv/hw/irc/apic \
171 srv/hw/irc/i8259
172endif
173
174ifeq ($(UARCH), $(filter $(UARCH),mips32 mips32eb))
175 DIRS += \
176 drv/infrastructure/rootmalta \
177 drv/bus/pci/pciintel \
178 drv/bus/isa
179endif
180
181ifeq ($(UARCH),ppc32)
182 DIRS += \
183 drv/infrastructure/rootmac \
184 drv/bus/pci/pciintel \
185 srv/hw/bus/cuda_adb
186endif
187
188ifeq ($(UARCH),sparc64)
189 DIRS += \
190 srv/hw/irc/obio
191endif
192
193ifeq ($(UARCH),arm32)
194 DIRS += \
195 drv/infrastructure/rootamdm37x \
196 drv/fb/amdm37x_dispc
197endif
198
199## System libraries
200#
201
202LIBC = lib/c
203LIBS = \
204 lib/fs \
205 lib/block \
206 lib/clui \
207 lib/fmtutil \
208 lib/scsi \
209 lib/softint \
210 lib/softfloat \
211 lib/drv \
212 lib/graph \
213 lib/gui \
214 lib/hound \
215 lib/http \
216 lib/softrend \
217 lib/draw \
218 lib/math \
219 lib/net \
220 lib/nic \
221 lib/ext4 \
222 lib/uri \
223 lib/usb \
224 lib/usbhost \
225 lib/usbdev \
226 lib/usbhid \
227 lib/usbvirt \
228 lib/pcm \
229 lib/bithenge \
230 lib/posix \
231 lib/mbr \
232 lib/gpt
233
234LIBC_BUILD = $(addsuffix .build,$(LIBC))
235LIBS_BUILD = $(addsuffix .build,$(LIBS))
236LIBN_BUILD = $(addsuffix .build,$(LIBN))
237BUILDS := $(addsuffix .build,$(DIRS))
238
239CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
240
241.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
242
243all: $(BUILDS)
244
245clean: $(CLEANS)
246
247$(CLEANS):
248 -$(MAKE) -C $(basename $@) clean
249
250$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
251 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
252
253$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
254 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
255
256$(LIBS_BUILD): $(LIBC_BUILD)
257 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
258
259$(LIBC_BUILD):
260 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.