source: mainline/uspace/Makefile@ 864762a

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 864762a was 864762a, checked in by Jan Kolarik <kolarik@…>, 11 years ago

Handling incoming packets, started working on client app, built IPC communication skeleton

  • Property mode set to 100644
File size: 5.6 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/dnscfg \
44 app/dnsres \
45 app/download \
46 app/edit \
47 app/fontviewer \
48 app/getterm \
49 app/hdisk \
50 app/init \
51 app/inet \
52 app/kill \
53 app/killall \
54 app/kio \
55 app/loc \
56 app/logset \
57 app/mixerctl \
58 app/mkfat \
59 app/mkexfat \
60 app/mkmfs \
61 app/modplay \
62 app/nterm \
63 app/redir \
64 app/rcutest \
65 app/rcubench \
66 app/sbi \
67 app/sportdmp \
68 app/stats \
69 app/taskdump \
70 app/tester \
71 app/testread \
72 app/testwrit \
73 app/tetris \
74 app/trace \
75 app/top \
76 app/untar \
77 app/usbinfo \
78 app/vuhid \
79 app/netecho \
80 app/netspeed \
81 app/nettest1 \
82 app/nettest2 \
83 app/nettest3 \
84 app/nic \
85 app/ping \
86 app/sysinfo \
87 app/mkbd \
88 app/date \
89 app/vdemo \
90 app/viewer \
91 app/vlaunch \
92 app/vterm \
93 app/df \
94 app/wavplay \
95 app/websrv \
96 app/wifi_supplicant \
97 srv/audio/hound \
98 srv/clipboard \
99 srv/locsrv \
100 srv/logger \
101 srv/klog \
102 srv/devman \
103 srv/loader \
104 srv/net/dhcp \
105 srv/net/dnsrsrv \
106 srv/net/ethip \
107 srv/net/inetsrv \
108 srv/net/loopip \
109 srv/net/nconfsrv \
110 srv/net/slip \
111 srv/net/tcp \
112 srv/net/udp \
113 srv/ns \
114 srv/taskmon \
115 srv/vfs \
116 srv/bd/sata_bd \
117 srv/bd/file_bd \
118 srv/bd/rd \
119 srv/bd/part/guid_part \
120 srv/bd/part/mbr_part \
121 srv/fs/exfat \
122 srv/fs/udf \
123 srv/fs/fat \
124 srv/fs/cdfs \
125 srv/fs/tmpfs \
126 srv/fs/mfs \
127 srv/fs/locfs \
128 srv/fs/ext4fs \
129 srv/hid/compositor \
130 srv/hid/console \
131 srv/hid/s3c24xx_ts \
132 srv/hid/isdv4_tablet \
133 srv/hid/input \
134 srv/hid/output \
135 srv/hid/remcons \
136 srv/hw/char/s3c24xx_uart \
137 srv/hid/rfb \
138 drv/audio/hdaudio \
139 drv/audio/sb16 \
140 drv/root/root \
141 drv/root/virt \
142 drv/block/ahci \
143 drv/block/ata_bd \
144 drv/char/i8042 \
145 drv/char/pl050 \
146 drv/char/ps2mouse \
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))
184 DIRS += \
185 drv/platform/malta \
186 drv/bus/pci/pciintel \
187 drv/bus/isa
188endif
189
190ifeq ($(UARCH),ppc32)
191 DIRS += \
192 drv/platform/mac \
193 drv/bus/pci/pciintel \
194 srv/hw/bus/cuda_adb
195endif
196
197ifeq ($(UARCH),sparc64)
198 DIRS += \
199 srv/hw/irc/obio
200endif
201
202ifeq ($(UARCH),arm32)
203 DIRS += \
204 drv/platform/amdm37x \
205 drv/fb/amdm37x_dispc \
206 srv/hw/irc/icp-ic
207endif
208
209## System libraries
210#
211
212LIBC = lib/c
213LIBS = \
214 lib/fs \
215 lib/block \
216 lib/clui \
217 lib/fmtutil \
218 lib/scsi \
219 lib/compress \
220 lib/softint \
221 lib/softfloat \
222 lib/drv \
223 lib/graph \
224 lib/gui \
225 lib/hound \
226 lib/http \
227 lib/softrend \
228 lib/draw \
229 lib/math \
230 lib/net \
231 lib/nic \
232 lib/ext4 \
233 lib/trackmod \
234 lib/uri \
235 lib/urcu \
236 lib/usb \
237 lib/usbhost \
238 lib/usbdev \
239 lib/usbhid \
240 lib/usbvirt \
241 lib/pcm \
242 lib/pcut \
243 lib/bithenge \
244 lib/posix \
245 lib/mbr \
246 lib/gpt \
247 lib/ieee80211
248
249LIBC_BUILD = $(addsuffix .build,$(LIBC))
250LIBS_BUILD = $(addsuffix .build,$(LIBS))
251LIBN_BUILD = $(addsuffix .build,$(LIBN))
252BUILDS := $(addsuffix .build,$(DIRS))
253BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) lib/c)
254
255CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
256
257.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
258
259all: $(BUILDS) $(BUILDS_TESTS)
260
261$(BUILDS_TESTS): $(BUILDS)
262 $(MAKE) -C $(basename $@) all-test PRECHECK=$(PRECHECK)
263
264clean: $(CLEANS)
265
266$(CLEANS):
267 -$(MAKE) -C $(basename $@) clean
268
269$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
270 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
271
272$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
273 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
274
275$(LIBS_BUILD): $(LIBC_BUILD)
276 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
277
278$(LIBC_BUILD):
279 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.