source: mainline/uspace/Makefile@ 6eeaf1d

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 6eeaf1d was 76e863c, checked in by Jan Vesely <jano.vesely@…>, 12 years ago

remove drec app

  • Property mode set to 100644
File size: 5.2 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/devctl \
41 app/edit \
42 app/getterm \
43 app/init \
44 app/inet \
45 app/kill \
46 app/killall \
47 app/klog \
48 app/loc \
49 app/mixerctl \
50 app/logset \
51 app/mkfat \
52 app/mkexfat \
53 app/mkmfs \
54 app/nterm \
55 app/redir \
56 app/sbi \
57 app/sportdmp \
58 app/stats \
59 app/taskdump \
60 app/tester \
61 app/testread \
62 app/testwrit \
63 app/tetris \
64 app/trace \
65 app/top \
66 app/usbinfo \
67 app/vuhid \
68 app/netecho \
69 app/nettest1 \
70 app/nettest2 \
71 app/nettest3 \
72 app/ping \
73 app/sysinfo \
74 app/mkbd \
75 app/wavplay \
76 app/date \
77 app/websrv \
78 srv/audio/hound \
79 app/vdemo \
80 app/vlaunch \
81 app/vterm \
82 srv/clipboard \
83 srv/locsrv \
84 srv/logger \
85 srv/devman \
86 srv/loader \
87 srv/net/ethip \
88 srv/net/inetsrv \
89 srv/net/loopip \
90 srv/net/tcp \
91 srv/net/udp \
92 srv/ns \
93 srv/taskmon \
94 srv/vfs \
95 srv/bd/ata_bd \
96 srv/bd/sata_bd \
97 srv/bd/file_bd \
98 srv/bd/rd \
99 srv/bd/part/guid_part \
100 srv/bd/part/mbr_part \
101 srv/fs/exfat \
102 srv/fs/udf \
103 srv/fs/fat \
104 srv/fs/cdfs \
105 srv/fs/tmpfs \
106 srv/fs/mfs \
107 srv/fs/locfs \
108 srv/fs/ext4fs \
109 srv/hid/compositor \
110 srv/hid/console \
111 srv/hid/s3c24xx_ts \
112 srv/hid/isdv4_tablet \
113 srv/hid/input \
114 srv/hid/output \
115 srv/hid/remcons \
116 srv/hw/char/s3c24xx_uart \
117 drv/audio/sb16 \
118 drv/infrastructure/root \
119 drv/infrastructure/rootvirt \
120 drv/block/ahci \
121 drv/char/i8042 \
122 drv/char/ps2mouse \
123 drv/char/xtkbd \
124 drv/test/test1 \
125 drv/test/test2 \
126 drv/test/test3 \
127 drv/fb/kfb \
128 drv/bus/usb/ehci \
129 drv/bus/usb/ohci \
130 drv/bus/usb/uhci \
131 drv/bus/usb/uhcirh \
132 drv/bus/usb/usbflbk \
133 drv/bus/usb/usbhid \
134 drv/bus/usb/usbhub \
135 drv/bus/usb/usbmast \
136 drv/bus/usb/usbmid \
137 drv/bus/usb/vhc \
138 drv/nic/ne2k \
139 drv/nic/e1k \
140 drv/nic/rtl8139 \
141
142ifeq ($(CONFIG_PCC),y)
143DIRS += \
144 app/cc \
145 app/ccom \
146 app/ccom/mkext \
147 app/cpp
148endif
149
150ifeq ($(CONFIG_BINUTILS),y)
151DIRS += \
152 app/binutils
153endif
154
155ifeq ($(CONFIG_MSIM),y)
156DIRS += \
157 app/msim
158endif
159
160## Platform-specific hardware support
161#
162
163ifeq ($(UARCH),amd64)
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),ia32)
175 DIRS += \
176 drv/infrastructure/rootpc \
177 drv/bus/pci/pciintel \
178 drv/bus/isa \
179 drv/char/ns8250 \
180 drv/time/cmos-rtc \
181 srv/hw/irc/apic \
182 srv/hw/irc/i8259
183endif
184
185ifeq ($(UARCH),ppc32)
186 DIRS += \
187 drv/infrastructure/rootmac \
188 drv/bus/pci/pciintel \
189 srv/hw/bus/cuda_adb
190endif
191
192ifeq ($(UARCH),sparc64)
193 DIRS += \
194 srv/hw/irc/obio
195endif
196
197ifeq ($(UARCH),arm32)
198 DIRS += \
199 drv/infrastructure/rootamdm37x \
200 drv/fb/amdm37x_dispc
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/hound \
217 lib/graph \
218 lib/gui \
219 lib/softrend \
220 lib/draw \
221 lib/net \
222 lib/nic \
223 lib/ext4 \
224 lib/usb \
225 lib/usbhost \
226 lib/usbdev \
227 lib/usbhid \
228 lib/usbvirt \
229 lib/pcm \
230 lib/bithenge \
231 lib/posix
232
233LIBC_BUILD = $(addsuffix .build,$(LIBC))
234LIBS_BUILD = $(addsuffix .build,$(LIBS))
235LIBN_BUILD = $(addsuffix .build,$(LIBN))
236BUILDS := $(addsuffix .build,$(DIRS))
237
238CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
239
240.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
241
242all: $(BUILDS)
243
244clean: $(CLEANS)
245
246$(CLEANS):
247 -$(MAKE) -C $(basename $@) clean
248
249$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
250 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
251
252$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
253 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
254
255$(LIBS_BUILD): $(LIBC_BUILD)
256 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
257
258$(LIBC_BUILD):
259 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.