source: mainline/uspace/Makefile@ aa492fe

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since aa492fe was 6d5e378, checked in by Martin Decky <martin@…>, 13 years ago

cherrypick GUI implementation (originally by Petr Koupy), with several major changes

  • for character-oriented devices a new output server and output protocol was created based on the original fb server
  • DDF visualizer drivers are pixel-oriented only
  • console and compositor can coexist in the same build
  • terminal widget is self-sufficient, no strange console nesting is needed
  • Property mode set to 100644
File size: 4.9 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/edit \
41 app/ext2info \
42 app/getterm \
43 app/init \
44 app/inet \
45 app/kill \
46 app/killall \
47 app/klog \
48 app/loc \
49 app/mkfat \
50 app/mkexfat \
51 app/mkmfs \
52 app/nterm \
53 app/redir \
54 app/sbi \
55 app/sportdmp \
56 app/stats \
57 app/taskdump \
58 app/tester \
59 app/testread \
60 app/testwrit \
61 app/tetris \
62 app/trace \
63 app/top \
64 app/usbinfo \
65 app/vuhid \
66 app/netecho \
67 app/nettest1 \
68 app/nettest2 \
69 app/nettest3 \
70 app/ping \
71 app/sysinfo \
72 app/mkbd \
73 app/websrv \
74 app/vdemo \
75 app/vlaunch \
76 app/vterm \
77 srv/clipboard \
78 srv/locsrv \
79 srv/devman \
80 srv/loader \
81 srv/net/ethip \
82 srv/net/inetsrv \
83 srv/net/loopip \
84 srv/net/tcp \
85 srv/net/udp \
86 srv/ns \
87 srv/taskmon \
88 srv/vfs \
89 srv/bd/ata_bd \
90 srv/bd/sata_bd \
91 srv/bd/file_bd \
92 srv/bd/gxe_bd \
93 srv/bd/rd \
94 srv/bd/part/guid_part \
95 srv/bd/part/mbr_part \
96 srv/fs/exfat \
97 srv/fs/fat \
98 srv/fs/cdfs \
99 srv/fs/tmpfs \
100 srv/fs/mfs \
101 srv/fs/locfs \
102 srv/fs/ext2fs \
103 srv/fs/ext4fs \
104 srv/hid/compositor \
105 srv/hid/console \
106 srv/hid/s3c24xx_ts \
107 srv/hid/isdv4_tablet \
108 srv/hid/input \
109 srv/hid/output \
110 srv/hid/remcons \
111 srv/hw/char/s3c24xx_uart \
112 drv/infrastructure/root \
113 drv/infrastructure/rootvirt \
114 drv/block/ahci \
115 drv/char/i8042 \
116 drv/char/ps2mouse \
117 drv/char/xtkbd \
118 drv/test/test1 \
119 drv/test/test2 \
120 drv/test/test3 \
121 drv/fb/kfb \
122 drv/bus/usb/ehci \
123 drv/bus/usb/ohci \
124 drv/bus/usb/uhci \
125 drv/bus/usb/uhcirh \
126 drv/bus/usb/usbflbk \
127 drv/bus/usb/usbhid \
128 drv/bus/usb/usbhub \
129 drv/bus/usb/usbmast \
130 drv/bus/usb/usbmid \
131 drv/bus/usb/vhc \
132 drv/nic/ne2k \
133 drv/nic/e1k \
134 drv/nic/rtl8139
135
136ifeq ($(CONFIG_PCC),y)
137DIRS += \
138 app/cc \
139 app/ccom \
140 app/ccom/mkext \
141 app/cpp
142endif
143
144ifeq ($(CONFIG_BINUTILS),y)
145DIRS += \
146 app/binutils
147endif
148
149ifeq ($(CONFIG_MSIM),y)
150DIRS += \
151 app/msim
152endif
153
154## Platform-specific hardware support
155#
156
157ifeq ($(UARCH),amd64)
158 DIRS += \
159 drv/infrastructure/rootpc \
160 drv/bus/pci/pciintel \
161 drv/bus/isa \
162 drv/char/ns8250 \
163 srv/hw/irc/apic \
164 srv/hw/irc/i8259
165endif
166
167ifeq ($(UARCH),ia32)
168 DIRS += \
169 drv/infrastructure/rootpc \
170 drv/bus/pci/pciintel \
171 drv/bus/isa \
172 drv/char/ns8250 \
173 srv/hw/irc/apic \
174 srv/hw/irc/i8259
175endif
176
177ifeq ($(UARCH),ppc32)
178 DIRS += \
179 drv/infrastructure/rootmac \
180 drv/bus/pci/pciintel \
181 srv/hw/bus/cuda_adb
182endif
183
184ifeq ($(UARCH),sparc64)
185 DIRS += \
186 srv/hw/irc/obio
187endif
188
189## System libraries
190#
191
192LIBC = lib/c
193LIBS = \
194 lib/fs \
195 lib/block \
196 lib/clui \
197 lib/fmtutil \
198 lib/scsi \
199 lib/softint \
200 lib/softfloat \
201 lib/drv \
202 lib/graph \
203 lib/gui \
204 lib/softrend \
205 lib/draw \
206 lib/net \
207 lib/nic \
208 lib/ext2 \
209 lib/ext4 \
210 lib/usb \
211 lib/usbhost \
212 lib/usbdev \
213 lib/usbhid \
214 lib/usbvirt \
215 lib/posix
216
217LIBC_BUILD = $(addsuffix .build,$(LIBC))
218LIBS_BUILD = $(addsuffix .build,$(LIBS))
219LIBN_BUILD = $(addsuffix .build,$(LIBN))
220BUILDS := $(addsuffix .build,$(DIRS))
221
222CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
223
224.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
225
226all: $(BUILDS)
227
228clean: $(CLEANS)
229
230$(CLEANS):
231 -$(MAKE) -C $(basename $@) clean
232
233$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
234 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
235
236$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
237 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
238
239$(LIBS_BUILD): $(LIBC_BUILD)
240 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
241
242$(LIBC_BUILD):
243 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.