source: mainline/uspace/Makefile@ fa91c0f

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

Merge mainline changes.

Conflict in uspace/lib/drv/generic/dev_iface.c:

Resolved by using c99 method for array initialization for ahci too.

AHCI drivers
kernel console tab completion

  • Property mode set to 100644
File size: 4.8 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/blkdump \
38 app/bnchmark \
39 app/devctl \
40 app/drec \
41 app/edit \
42 app/ext2info \
43 app/getterm \
44 app/init \
45 app/inet \
46 app/kill \
47 app/killall \
48 app/klog \
49 app/loc \
50 app/lsusb \
51 app/mixerctl \
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/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/websrv \
77 srv/audio/hound \
78 srv/clipboard \
79 srv/locsrv \
80 srv/devman \
81 srv/loader \
82 srv/net/ethip \
83 srv/net/inetsrv \
84 srv/net/loopip \
85 srv/net/tcp \
86 srv/net/udp \
87 srv/ns \
88 srv/taskmon \
89 srv/vfs \
90 srv/bd/ata_bd \
91 srv/bd/sata_bd \
92 srv/bd/file_bd \
93 srv/bd/gxe_bd \
94 srv/bd/rd \
95 srv/bd/part/guid_part \
96 srv/bd/part/mbr_part \
97 srv/fs/exfat \
98 srv/fs/fat \
99 srv/fs/cdfs \
100 srv/fs/tmpfs \
101 srv/fs/mfs \
102 srv/fs/locfs \
103 srv/fs/ext2fs \
104 srv/hid/console \
105 srv/hid/s3c24xx_ts \
106 srv/hid/fb \
107 srv/hid/input \
108 srv/hid/remcons \
109 srv/hw/char/s3c24xx_uart \
110 drv/audio/sb16 \
111 drv/infrastructure/root \
112 drv/infrastructure/rootvirt \
113 drv/block/ahci \
114 drv/char/i8042 \
115 drv/char/ps2mouse \
116 drv/char/xtkbd \
117 drv/test/test1 \
118 drv/test/test2 \
119 drv/test/test3 \
120 drv/bus/usb/ehci \
121 drv/bus/usb/ohci \
122 drv/bus/usb/uhci \
123 drv/bus/usb/uhcirh \
124 drv/bus/usb/usbflbk \
125 drv/bus/usb/usbhid \
126 drv/bus/usb/usbhub \
127 drv/bus/usb/usbmast \
128 drv/bus/usb/usbmid \
129 drv/bus/usb/vhc \
130 drv/nic/ne2k \
131 drv/nic/e1k \
132 drv/nic/rtl8139
133
134ifeq ($(CONFIG_PCC),y)
135DIRS += \
136 app/cc \
137 app/ccom \
138 app/ccom/mkext \
139 app/cpp
140endif
141
142ifeq ($(CONFIG_BINUTILS),y)
143DIRS += \
144 app/binutils
145endif
146
147ifeq ($(CONFIG_MSIM),y)
148DIRS += \
149 app/msim
150endif
151
152## Platform-specific hardware support
153#
154
155ifeq ($(UARCH),amd64)
156 DIRS += \
157 drv/infrastructure/rootpc \
158 drv/bus/pci/pciintel \
159 drv/bus/isa \
160 drv/char/ns8250 \
161 srv/hw/irc/apic \
162 srv/hw/irc/i8259
163endif
164
165ifeq ($(UARCH),ia32)
166 DIRS += \
167 drv/infrastructure/rootpc \
168 drv/bus/pci/pciintel \
169 drv/bus/isa \
170 drv/char/ns8250 \
171 srv/hw/irc/apic \
172 srv/hw/irc/i8259
173endif
174
175ifeq ($(UARCH),ppc32)
176 DIRS += \
177 drv/infrastructure/rootmac \
178 srv/hw/bus/cuda_adb
179endif
180
181ifeq ($(UARCH),sparc64)
182 DIRS += \
183 srv/hw/irc/obio
184endif
185
186## System libraries
187#
188
189LIBC = lib/c
190LIBS = \
191 lib/fs \
192 lib/block \
193 lib/clui \
194 lib/fmtutil \
195 lib/scsi \
196 lib/softint \
197 lib/softfloat \
198 lib/drv \
199 lib/fb \
200 lib/hound \
201 lib/net \
202 lib/nic \
203 lib/ext2 \
204 lib/usb \
205 lib/usbhost \
206 lib/usbdev \
207 lib/usbhid \
208 lib/usbvirt \
209 lib/pcm \
210 lib/posix
211
212LIBC_BUILD = $(addsuffix .build,$(LIBC))
213LIBS_BUILD = $(addsuffix .build,$(LIBS))
214LIBN_BUILD = $(addsuffix .build,$(LIBN))
215BUILDS := $(addsuffix .build,$(DIRS))
216
217CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
218
219.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
220
221all: $(BUILDS)
222
223clean: $(CLEANS)
224
225$(CLEANS):
226 -$(MAKE) -C $(basename $@) clean
227
228$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
229 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
230
231$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
232 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
233
234$(LIBS_BUILD): $(LIBC_BUILD)
235 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
236
237$(LIBC_BUILD):
238 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.