source: mainline/uspace/Makefile@ 716357f

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 716357f was 5d1cb8a, checked in by Jiri Svoboda <jiri@…>, 12 years ago

DNS configuration utility.

  • Property mode set to 100644
File size: 5.1 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/dnscfg \
42 app/dnsres \
43 app/edit \
44 app/getterm \
45 app/init \
46 app/inet \
47 app/kill \
48 app/killall \
49 app/klog \
50 app/loc \
51 app/logset \
52 app/mkfat \
53 app/mkexfat \
54 app/mkmfs \
55 app/nterm \
56 app/redir \
57 app/sbi \
58 app/sportdmp \
59 app/stats \
60 app/taskdump \
61 app/tester \
62 app/testread \
63 app/testwrit \
64 app/tetris \
65 app/trace \
66 app/top \
67 app/usbinfo \
68 app/vuhid \
69 app/netecho \
70 app/nettest1 \
71 app/nettest2 \
72 app/nettest3 \
73 app/ping \
74 app/sysinfo \
75 app/mkbd \
76 app/date \
77 app/websrv \
78 app/vdemo \
79 app/vlaunch \
80 app/vterm \
81 srv/clipboard \
82 srv/locsrv \
83 srv/logger \
84 srv/devman \
85 srv/loader \
86 srv/net/dnsrsrv \
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/infrastructure/root \
118 drv/infrastructure/rootvirt \
119 drv/block/ahci \
120 drv/char/i8042 \
121 drv/char/ps2mouse \
122 drv/char/xtkbd \
123 drv/test/test1 \
124 drv/test/test2 \
125 drv/test/test3 \
126 drv/fb/kfb \
127 drv/bus/usb/ehci \
128 drv/bus/usb/ohci \
129 drv/bus/usb/uhci \
130 drv/bus/usb/uhcirh \
131 drv/bus/usb/usbflbk \
132 drv/bus/usb/usbhid \
133 drv/bus/usb/usbhub \
134 drv/bus/usb/usbmast \
135 drv/bus/usb/usbmid \
136 drv/bus/usb/vhc \
137 drv/nic/ne2k \
138 drv/nic/e1k \
139 drv/nic/rtl8139 \
140
141ifeq ($(CONFIG_PCC),y)
142DIRS += \
143 app/cc \
144 app/ccom \
145 app/ccom/mkext \
146 app/cpp
147endif
148
149ifeq ($(CONFIG_BINUTILS),y)
150DIRS += \
151 app/binutils
152endif
153
154ifeq ($(CONFIG_MSIM),y)
155DIRS += \
156 app/msim
157endif
158
159## Platform-specific hardware support
160#
161
162ifeq ($(UARCH),amd64)
163 DIRS += \
164 drv/infrastructure/rootpc \
165 drv/bus/pci/pciintel \
166 drv/bus/isa \
167 drv/char/ns8250 \
168 drv/time/cmos-rtc \
169 srv/hw/irc/apic \
170 srv/hw/irc/i8259
171endif
172
173ifeq ($(UARCH),ia32)
174 DIRS += \
175 drv/infrastructure/rootpc \
176 drv/bus/pci/pciintel \
177 drv/bus/isa \
178 drv/char/ns8250 \
179 drv/time/cmos-rtc \
180 srv/hw/irc/apic \
181 srv/hw/irc/i8259
182endif
183
184ifeq ($(UARCH),ppc32)
185 DIRS += \
186 drv/infrastructure/rootmac \
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/infrastructure/rootamdm37x \
199 drv/fb/amdm37x_dispc
200endif
201
202## System libraries
203#
204
205LIBC = lib/c
206LIBS = \
207 lib/fs \
208 lib/block \
209 lib/clui \
210 lib/fmtutil \
211 lib/scsi \
212 lib/softint \
213 lib/softfloat \
214 lib/drv \
215 lib/graph \
216 lib/gui \
217 lib/softrend \
218 lib/draw \
219 lib/net \
220 lib/nic \
221 lib/ext4 \
222 lib/usb \
223 lib/usbhost \
224 lib/usbdev \
225 lib/usbhid \
226 lib/usbvirt \
227 lib/bithenge \
228 lib/posix
229
230LIBC_BUILD = $(addsuffix .build,$(LIBC))
231LIBS_BUILD = $(addsuffix .build,$(LIBS))
232LIBN_BUILD = $(addsuffix .build,$(LIBN))
233BUILDS := $(addsuffix .build,$(DIRS))
234
235CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
236
237.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
238
239all: $(BUILDS)
240
241clean: $(CLEANS)
242
243$(CLEANS):
244 -$(MAKE) -C $(basename $@) clean
245
246$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
247 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
248
249$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
250 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
251
252$(LIBS_BUILD): $(LIBC_BUILD)
253 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
254
255$(LIBC_BUILD):
256 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.