source: mainline/uspace/Makefile@ a2aa81cb

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since a2aa81cb was 34b172d, checked in by Dominik Taborsky (AT DOT) <brembyseznamcz>, 13 years ago

fix missing backslash in uspace/Makefile after merge

  • Property mode set to 100644
File size: 5.0 KB
RevLine 
[c2ee1c5c]1#
[df4ed85]2# Copyright (c) 2005 Martin Decky
[c2ee1c5c]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
[177e4ea]29-include ../Makefile.common
[9a0367f]30-include ../Makefile.config
[c2ee1c5c]31
[1b1164e8]32## Common binaries
33#
34
[ecfd7e5]35DIRS = \
[b3d513f]36 app/bdsh \
[a54bd98]37 app/bithenge \
[32d3ebf]38 app/blkdump \
[423f64f]39 app/bnchmark \
[7beb220]40 app/devctl \
[b3d513f]41 app/edit \
42 app/getterm \
[34b172d]43 app/hdisk \
[b3d513f]44 app/init \
[b4ec1ea]45 app/inet \
[1e9f8ab]46 app/kill \
[c4faa0c]47 app/killall \
[b3d513f]48 app/klog \
[32d96e1]49 app/loc \
[669f5cae]50 app/logset \
[dccf721]51 app/mkfat \
[e872326]52 app/mkexfat \
[7a46bfe]53 app/mkmfs \
[01a7aa1]54 app/nterm \
[b3d513f]55 app/redir \
[09ababb7]56 app/sbi \
[c0e53ff]57 app/sportdmp \
[3d482e0]58 app/stats \
[336db295]59 app/taskdump \
[b3d513f]60 app/tester \
[6b3e7f7f]61 app/testread \
[2966122]62 app/testwrit \
[b3d513f]63 app/tetris \
64 app/trace \
[5c058d50]65 app/top \
[07b9203e]66 app/usbinfo \
[57c7050]67 app/vuhid \
[a79d88d]68 app/netecho \
69 app/nettest1 \
70 app/nettest2 \
[92e717c]71 app/nettest3 \
[a79d88d]72 app/ping \
[a3eeef45]73 app/sysinfo \
[4880210]74 app/mkbd \
[fd37139d]75 app/date \
[3e67ab1]76 app/websrv \
[6d5e378]77 app/vdemo \
78 app/vlaunch \
79 app/vterm \
[d3a8e47]80 srv/clipboard \
[32d96e1]81 srv/locsrv \
[1f2dd20]82 srv/logger \
[e4c4247]83 srv/devman \
[b3d513f]84 srv/loader \
[69a93df7]85 srv/net/ethip \
[b4ec1ea]86 srv/net/inetsrv \
[606c369]87 srv/net/loopip \
[69a93df7]88 srv/net/tcp \
89 srv/net/udp \
[b3d513f]90 srv/ns \
[a074b4f]91 srv/taskmon \
[b3d513f]92 srv/vfs \
[f8ef660]93 srv/bd/ata_bd \
[9904eb90]94 srv/bd/sata_bd \
[2a18193c]95 srv/bd/file_bd \
[44a53fd]96 srv/bd/gxe_bd \
[e7645de]97 srv/bd/rd \
[975e7e9]98 srv/bd/part/guid_part \
[b3d513f]99 srv/bd/part/mbr_part \
[db9aa04]100 srv/fs/exfat \
[48e3190]101 srv/fs/udf \
[c0cdcaf]102 srv/fs/fat \
[a26895d]103 srv/fs/cdfs \
[d5cdffe]104 srv/fs/tmpfs \
[7a46bfe]105 srv/fs/mfs \
[15f3c3f]106 srv/fs/locfs \
[d3a9ae74]107 srv/fs/ext4fs \
[6d5e378]108 srv/hid/compositor \
[c6f08726]109 srv/hid/console \
[527298a]110 srv/hid/s3c24xx_ts \
[f66ca57f]111 srv/hid/isdv4_tablet \
[5f88293]112 srv/hid/input \
[6d5e378]113 srv/hid/output \
[21a9869]114 srv/hid/remcons \
[a9b5b5f]115 srv/hw/char/s3c24xx_uart \
[5203e256]116 drv/infrastructure/root \
117 drv/infrastructure/rootvirt \
[9904eb90]118 drv/block/ahci \
[4d8e203]119 drv/char/i8042 \
[38994e3]120 drv/char/ps2mouse \
[4d8e203]121 drv/char/xtkbd \
[5203e256]122 drv/test/test1 \
123 drv/test/test2 \
124 drv/test/test3 \
[6d5e378]125 drv/fb/kfb \
[5203e256]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 \
[00d7e1b]135 drv/bus/usb/vhc \
[9916841]136 drv/nic/ne2k \
[f0b74b2]137 drv/nic/e1k \
[a2e4889]138 drv/nic/rtl8139 \
[14f1db0]139
[e76e833f]140ifeq ($(CONFIG_PCC),y)
141DIRS += \
142 app/cc \
143 app/ccom \
144 app/ccom/mkext \
145 app/cpp
146endif
147
[10a530cc]148ifeq ($(CONFIG_BINUTILS),y)
149DIRS += \
150 app/binutils
151endif
152
[3f0ea0e2]153ifeq ($(CONFIG_MSIM),y)
154DIRS += \
155 app/msim
156endif
157
[1b1164e8]158## Platform-specific hardware support
159#
[c2ee1c5c]160
[fcd7053]161ifeq ($(UARCH),amd64)
[acc7ce4]162 DIRS += \
[5203e256]163 drv/infrastructure/rootpc \
164 drv/bus/pci/pciintel \
165 drv/bus/isa \
166 drv/char/ns8250 \
[5ef13847]167 drv/time/cmos-rtc \
[acc7ce4]168 srv/hw/irc/apic \
169 srv/hw/irc/i8259
[5a4c754]170endif
[41f7564]171
[fcd7053]172ifeq ($(UARCH),ia32)
[acc7ce4]173 DIRS += \
[5203e256]174 drv/infrastructure/rootpc \
175 drv/bus/pci/pciintel \
176 drv/bus/isa \
177 drv/char/ns8250 \
[5ef13847]178 drv/time/cmos-rtc \
[acc7ce4]179 srv/hw/irc/apic \
180 srv/hw/irc/i8259
[37458472]181endif
[5a4c754]182
[3a2f8aa]183ifeq ($(UARCH),ppc32)
[73d288c]184 DIRS += \
[5203e256]185 drv/infrastructure/rootmac \
[cb3dbb63]186 drv/bus/pci/pciintel \
[73d288c]187 srv/hw/bus/cuda_adb
[3a2f8aa]188endif
189
[3e5a814]190ifeq ($(UARCH),sparc64)
[42742c5a]191 DIRS += \
[acc7ce4]192 srv/hw/irc/obio
[3e5a814]193endif
194
[1b1164e8]195## System libraries
196#
197
[63f8966]198LIBC = lib/c
[e035612]199LIBS = \
[63f8966]200 lib/fs \
201 lib/block \
[36a75a2]202 lib/clui \
[22cf42d9]203 lib/fmtutil \
[0feaae4]204 lib/scsi \
[e035612]205 lib/softint \
[e5773c6]206 lib/softfloat \
[c47e1a8]207 lib/drv \
[6d5e378]208 lib/graph \
209 lib/gui \
210 lib/softrend \
211 lib/draw \
[3bd76491]212 lib/net \
[00d7e1b]213 lib/nic \
[eb91db7]214 lib/ext4 \
[8d6c1f1]215 lib/usb \
216 lib/usbhost \
217 lib/usbdev \
218 lib/usbhid \
[2af29ed]219 lib/usbvirt \
[681a985]220 lib/bithenge \
[d3a92c87]221 lib/posix \
[34b172d]222 lib/mbr \
[cbd64057]223 lib/gpt
[e035612]224
225LIBC_BUILD = $(addsuffix .build,$(LIBC))
226LIBS_BUILD = $(addsuffix .build,$(LIBS))
[14f1db0]227LIBN_BUILD = $(addsuffix .build,$(LIBN))
228BUILDS := $(addsuffix .build,$(DIRS))
[e035612]229
[14f1db0]230CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
[1b1164e8]231
[14f1db0]232.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
[c2ee1c5c]233
[cc1f8d4]234all: $(BUILDS)
[c2ee1c5c]235
[25b0e6a]236clean: $(CLEANS)
[c2ee1c5c]237
[25b0e6a]238$(CLEANS):
[24d6efc]239 -$(MAKE) -C $(basename $@) clean
[c2ee1c5c]240
[14f1db0]241$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
242 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
243
244$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
[8786aa5]245 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
[e035612]246
247$(LIBS_BUILD): $(LIBC_BUILD)
[8786aa5]248 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
[e035612]249
250$(LIBC_BUILD):
[8786aa5]251 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.