source: mainline/uspace/Makefile@ 9260102

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 9260102 was 5012203, checked in by Jakub Jermar <jakub@…>, 9 years ago

IntegratorCP: switch to using the PC/AT (set 2) scancodes

This is consistent with a change introduced in QEMU 2.6.0. It appears
that the previously provided and then removed PL050 scan codes were
actually PC/AT set 2 scancodes.

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