source: mainline/uspace/Makefile@ 8fdb18e

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

Dnsrsrv server and dnsres 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/dnsres \
42 app/edit \
43 app/getterm \
44 app/init \
45 app/inet \
46 app/kill \
47 app/killall \
48 app/klog \
49 app/loc \
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/date \
76 app/websrv \
77 app/vdemo \
78 app/vlaunch \
79 app/vterm \
80 srv/clipboard \
81 srv/locsrv \
82 srv/logger \
83 srv/devman \
84 srv/loader \
85 srv/net/dnsrsrv \
86 srv/net/ethip \
87 srv/net/inetsrv \
88 srv/net/loopip \
89 srv/net/tcp \
90 srv/net/udp \
91 srv/ns \
92 srv/taskmon \
93 srv/vfs \
94 srv/bd/ata_bd \
95 srv/bd/sata_bd \
96 srv/bd/file_bd \
97 srv/bd/rd \
98 srv/bd/part/guid_part \
99 srv/bd/part/mbr_part \
100 srv/fs/exfat \
101 srv/fs/udf \
102 srv/fs/fat \
103 srv/fs/cdfs \
104 srv/fs/tmpfs \
105 srv/fs/mfs \
106 srv/fs/locfs \
107 srv/fs/ext4fs \
108 srv/hid/compositor \
109 srv/hid/console \
110 srv/hid/s3c24xx_ts \
111 srv/hid/isdv4_tablet \
112 srv/hid/input \
113 srv/hid/output \
114 srv/hid/remcons \
115 srv/hw/char/s3c24xx_uart \
116 drv/infrastructure/root \
117 drv/infrastructure/rootvirt \
118 drv/block/ahci \
119 drv/char/i8042 \
120 drv/char/ps2mouse \
121 drv/char/xtkbd \
122 drv/test/test1 \
123 drv/test/test2 \
124 drv/test/test3 \
125 drv/fb/kfb \
126 drv/bus/usb/ehci \
127 drv/bus/usb/ohci \
128 drv/bus/usb/uhci \
129 drv/bus/usb/uhcirh \
130 drv/bus/usb/usbflbk \
131 drv/bus/usb/usbhid \
132 drv/bus/usb/usbhub \
133 drv/bus/usb/usbmast \
134 drv/bus/usb/usbmid \
135 drv/bus/usb/vhc \
136 drv/nic/ne2k \
137 drv/nic/e1k \
138 drv/nic/rtl8139 \
139
140ifeq ($(CONFIG_PCC),y)
141DIRS += \
142 app/cc \
143 app/ccom \
144 app/ccom/mkext \
145 app/cpp
146endif
147
148ifeq ($(CONFIG_BINUTILS),y)
149DIRS += \
150 app/binutils
151endif
152
153ifeq ($(CONFIG_MSIM),y)
154DIRS += \
155 app/msim
156endif
157
158## Platform-specific hardware support
159#
160
161ifeq ($(UARCH),amd64)
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),ia32)
173 DIRS += \
174 drv/infrastructure/rootpc \
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),ppc32)
184 DIRS += \
185 drv/infrastructure/rootmac \
186 drv/bus/pci/pciintel \
187 srv/hw/bus/cuda_adb
188endif
189
190ifeq ($(UARCH),sparc64)
191 DIRS += \
192 srv/hw/irc/obio
193endif
194
195ifeq ($(UARCH),arm32)
196 DIRS += \
197 drv/infrastructure/rootamdm37x \
198 drv/fb/amdm37x_dispc
199endif
200
201## System libraries
202#
203
204LIBC = lib/c
205LIBS = \
206 lib/fs \
207 lib/block \
208 lib/clui \
209 lib/fmtutil \
210 lib/scsi \
211 lib/softint \
212 lib/softfloat \
213 lib/drv \
214 lib/graph \
215 lib/gui \
216 lib/softrend \
217 lib/draw \
218 lib/net \
219 lib/nic \
220 lib/ext4 \
221 lib/usb \
222 lib/usbhost \
223 lib/usbdev \
224 lib/usbhid \
225 lib/usbvirt \
226 lib/bithenge \
227 lib/posix
228
229LIBC_BUILD = $(addsuffix .build,$(LIBC))
230LIBS_BUILD = $(addsuffix .build,$(LIBS))
231LIBN_BUILD = $(addsuffix .build,$(LIBN))
232BUILDS := $(addsuffix .build,$(DIRS))
233
234CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
235
236.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
237
238all: $(BUILDS)
239
240clean: $(CLEANS)
241
242$(CLEANS):
243 -$(MAKE) -C $(basename $@) clean
244
245$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
246 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
247
248$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
249 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
250
251$(LIBS_BUILD): $(LIBC_BUILD)
252 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
253
254$(LIBC_BUILD):
255 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.