source: mainline/uspace/Makefile@ a9abe5fc

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since a9abe5fc was eb660787, checked in by Jakub Jermar <jakub@…>, 14 years ago

Remove unneeded stuff.

  • Property mode set to 100644
File size: 4.4 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 \
[32d3ebf]37 app/blkdump \
[423f64f]38 app/bnchmark \
[7beb220]39 app/devctl \
[b3d513f]40 app/edit \
[d5e2763]41 app/ext2info \
[b3d513f]42 app/getterm \
43 app/init \
[1e9f8ab]44 app/kill \
[c4faa0c]45 app/killall \
[b3d513f]46 app/klog \
[763e0cd]47 app/locinfo \
[8594505]48 app/lsusb \
[dccf721]49 app/mkfat \
[b3d513f]50 app/redir \
[09ababb7]51 app/sbi \
[3d482e0]52 app/stats \
[336db295]53 app/taskdump \
[b3d513f]54 app/tester \
[6b3e7f7f]55 app/testread \
[b3d513f]56 app/tetris \
57 app/trace \
[5c058d50]58 app/top \
[07b9203e]59 app/usbinfo \
[57c7050]60 app/vuhid \
[a79d88d]61 app/netecho \
62 app/nettest1 \
63 app/nettest2 \
64 app/ping \
[f4a2d624]65 app/websrv \
[a3eeef45]66 app/sysinfo \
[4880210]67 app/mkbd \
[b3d513f]68 srv/clip \
[15f3c3f]69 srv/loc \
[e4c4247]70 srv/devman \
[b3d513f]71 srv/loader \
72 srv/ns \
[a074b4f]73 srv/taskmon \
[b3d513f]74 srv/vfs \
[f8ef660]75 srv/bd/ata_bd \
[2a18193c]76 srv/bd/file_bd \
[44a53fd]77 srv/bd/gxe_bd \
[e7645de]78 srv/bd/rd \
[975e7e9]79 srv/bd/part/guid_part \
[b3d513f]80 srv/bd/part/mbr_part \
[db9aa04]81 srv/fs/exfat \
[c0cdcaf]82 srv/fs/fat \
[d5cdffe]83 srv/fs/tmpfs \
[15f3c3f]84 srv/fs/locfs \
[796c276]85 srv/fs/ext2fs \
[c6f08726]86 srv/hid/console \
[527298a]87 srv/hid/s3c24xx_ts \
[b3d513f]88 srv/hid/fb \
[5f88293]89 srv/hid/input \
[849ed54]90 srv/hw/char/i8042 \
[a9b5b5f]91 srv/hw/char/s3c24xx_uart \
[f902d36]92 srv/hw/netif/ne2000 \
[14f1db0]93 srv/net/netif/lo \
94 srv/net/il/arp \
95 srv/net/il/ip \
96 srv/net/tl/icmp \
97 srv/net/tl/udp \
98 srv/net/tl/tcp \
99 srv/net/net \
[5203e256]100 drv/infrastructure/root \
101 drv/infrastructure/rootvirt \
102 drv/test/test1 \
103 drv/test/test2 \
104 drv/test/test3 \
105 drv/bus/usb/ehci \
106 drv/bus/usb/ohci \
107 drv/bus/usb/uhci \
108 drv/bus/usb/uhcirh \
109 drv/bus/usb/usbflbk \
110 drv/bus/usb/usbhid \
111 drv/bus/usb/usbhub \
112 drv/bus/usb/usbmast \
113 drv/bus/usb/usbmid \
114 drv/bus/usb/usbmouse \
115 drv/bus/usb/vhc
[14f1db0]116
117## Networking
118#
119
[59e9398b]120DIRS += \
121 srv/net/nil/eth \
122 srv/net/nil/nildummy
[1b1164e8]123
124## Platform-specific hardware support
125#
[c2ee1c5c]126
[fcd7053]127ifeq ($(UARCH),amd64)
[acc7ce4]128 DIRS += \
[5203e256]129 drv/infrastructure/rootpc \
130 drv/bus/pci/pciintel \
131 drv/bus/isa \
132 drv/char/ns8250 \
[acc7ce4]133 srv/hw/irc/apic \
[75608143]134 srv/hw/irc/i8259
[5a4c754]135endif
[41f7564]136
[fcd7053]137ifeq ($(UARCH),ia32)
[acc7ce4]138 DIRS += \
[5203e256]139 drv/infrastructure/rootpc \
140 drv/bus/pci/pciintel \
141 drv/bus/isa \
142 drv/char/ns8250 \
[acc7ce4]143 srv/hw/irc/apic \
[75608143]144 srv/hw/irc/i8259
[37458472]145endif
[5a4c754]146
[3a2f8aa]147ifeq ($(UARCH),ppc32)
[73d288c]148 DIRS += \
[5203e256]149 drv/infrastructure/rootmac \
[73d288c]150 srv/hw/bus/cuda_adb
[3a2f8aa]151endif
152
[3e5a814]153ifeq ($(UARCH),sparc64)
[42742c5a]154 DIRS += \
[acc7ce4]155 srv/hw/irc/obio
[3e5a814]156endif
157
[1b1164e8]158## System libraries
159#
160
[63f8966]161LIBC = lib/c
[e035612]162LIBS = \
[63f8966]163 lib/fs \
164 lib/block \
[36a75a2]165 lib/clui \
[22cf42d9]166 lib/fmtutil \
[0feaae4]167 lib/scsi \
[e035612]168 lib/softint \
[e5773c6]169 lib/softfloat \
[c47e1a8]170 lib/drv \
[f63a591d]171 lib/packet \
[67b05ff]172 lib/imgmap \
[3bd76491]173 lib/net \
[8d6c1f1]174 lib/ext2 \
175 lib/usb \
176 lib/usbhost \
177 lib/usbdev \
178 lib/usbhid \
179 lib/usbvirt
[e035612]180
181LIBC_BUILD = $(addsuffix .build,$(LIBC))
182LIBS_BUILD = $(addsuffix .build,$(LIBS))
[14f1db0]183LIBN_BUILD = $(addsuffix .build,$(LIBN))
184BUILDS := $(addsuffix .build,$(DIRS))
[e035612]185
[14f1db0]186CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
[1b1164e8]187
[14f1db0]188.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
[c2ee1c5c]189
[cc1f8d4]190all: $(BUILDS)
[c2ee1c5c]191
[25b0e6a]192clean: $(CLEANS)
[c2ee1c5c]193
[25b0e6a]194$(CLEANS):
[24d6efc]195 -$(MAKE) -C $(basename $@) clean
[c2ee1c5c]196
[14f1db0]197$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
198 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
199
200$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
[8786aa5]201 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
[e035612]202
203$(LIBS_BUILD): $(LIBC_BUILD)
[8786aa5]204 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
[e035612]205
206$(LIBC_BUILD):
[8786aa5]207 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.