source: mainline/uspace/Makefile@ 54a1ca7

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

Add simple NIC administration utility.

  • 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/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/sb16 \
133 drv/infrastructure/root \
134 drv/infrastructure/rootvirt \
135 drv/block/ahci \
136 drv/block/ata_bd \
137 drv/char/i8042 \
138 drv/char/ps2mouse \
139 drv/char/xtkbd \
140 drv/test/test1 \
141 drv/test/test2 \
142 drv/test/test3 \
143 drv/fb/kfb \
144 drv/bus/usb/ehci \
145 drv/bus/usb/ohci \
146 drv/bus/usb/uhci \
147 drv/bus/usb/uhcirh \
148 drv/bus/usb/usbflbk \
149 drv/bus/usb/usbhid \
150 drv/bus/usb/usbhub \
151 drv/bus/usb/usbmast \
152 drv/bus/usb/usbmid \
153 drv/bus/usb/vhc \
154 drv/nic/ne2k \
155 drv/nic/e1k \
156 drv/nic/rtl8139
157
158## Platform-specific hardware support
159#
160
161ifeq ($(UARCH), $(filter $(UARCH),amd64 ia32 ia64))
162 DIRS += \
163 drv/infrastructure/rootpc \
164 drv/bus/pci/pciintel \
165 drv/bus/isa \
166 drv/char/ns8250 \
167 drv/time/cmos-rtc \
168 srv/hw/irc/apic \
169 srv/hw/irc/i8259
170endif
171
172ifeq ($(UARCH), $(filter $(UARCH),mips32 mips32eb))
173 DIRS += \
174 drv/infrastructure/rootmalta \
175 drv/bus/pci/pciintel \
176 drv/bus/isa
177endif
178
179ifeq ($(UARCH),ppc32)
180 DIRS += \
181 drv/infrastructure/rootmac \
182 drv/bus/pci/pciintel \
183 srv/hw/bus/cuda_adb
184endif
185
186ifeq ($(UARCH),sparc64)
187 DIRS += \
188 srv/hw/irc/obio
189endif
190
191ifeq ($(UARCH),arm32)
192 DIRS += \
193 drv/infrastructure/rootamdm37x \
194 drv/fb/amdm37x_dispc
195endif
196
197## System libraries
198#
199
200LIBC = lib/c
201LIBS = \
202 lib/fs \
203 lib/block \
204 lib/clui \
205 lib/fmtutil \
206 lib/scsi \
207 lib/softint \
208 lib/softfloat \
209 lib/drv \
210 lib/graph \
211 lib/gui \
212 lib/hound \
213 lib/http \
214 lib/softrend \
215 lib/draw \
216 lib/math \
217 lib/net \
218 lib/nic \
219 lib/ext4 \
220 lib/uri \
221 lib/usb \
222 lib/usbhost \
223 lib/usbdev \
224 lib/usbhid \
225 lib/usbvirt \
226 lib/pcm \
227 lib/bithenge \
228 lib/posix \
229 lib/mbr \
230 lib/gpt
231
232LIBC_BUILD = $(addsuffix .build,$(LIBC))
233LIBS_BUILD = $(addsuffix .build,$(LIBS))
234LIBN_BUILD = $(addsuffix .build,$(LIBN))
235BUILDS := $(addsuffix .build,$(DIRS))
236
237CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
238
239.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
240
241all: $(BUILDS)
242
243clean: $(CLEANS)
244
245$(CLEANS):
246 -$(MAKE) -C $(basename $@) clean
247
248$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
249 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
250
251$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
252 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
253
254$(LIBS_BUILD): $(LIBC_BUILD)
255 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
256
257$(LIBC_BUILD):
258 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.