source: mainline/uspace/Makefile@ f3831af

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

Merge Intel High Definition Audio driver.

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