source: mainline/uspace/Makefile@ 892e4e1

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 892e4e1 was 892e4e1, checked in by Lenka Trochtova <trochtova.lenka@…>, 16 years ago

ISA bus driver skeleton (just a set of empty files)

  • Property mode set to 100644
File size: 3.2 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 configuration
30#
31
32-include ../Makefile.config
33
34DIRS = \
35 app/bdsh \
36 app/edit \
37 app/getterm \
38 app/init \
39 app/klog \
40 app/mkfat \
41 app/redir \
42 app/shutters \
43 app/taskdump \
44 app/tester \
45 app/test_serial \
46 app/tetris \
47 app/trace \
48 srv/clip \
49 srv/devmap \
50 srv/devman \
51 srv/drivers/root \
52 srv/loader \
53 srv/ns \
54 srv/taskmon \
55 srv/vfs \
56 srv/bd/ata_bd \
57 srv/bd/file_bd \
58 srv/bd/gxe_bd \
59 srv/bd/rd \
60 srv/bd/part/guid_part \
61 srv/bd/part/mbr_part \
62 srv/fs/fat \
63 srv/fs/tmpfs \
64 srv/fs/devfs \
65 srv/hid/adb_mouse \
66 srv/hid/console \
67 srv/hid/char_mouse \
68 srv/hid/fb \
69 srv/hid/kbd \
70 srv/hw/char/i8042
71
72ifeq ($(UARCH),amd64)
73 DIRS += srv/dd
74# DIRS += srv/hw/bus/pci
75endif
76
77ifeq ($(UARCH),ia32)
78 DIRS += srv/dd
79 DIRS += srv/drivers/rootia32
80 DIRS += srv/drivers/pciintel
81 DIRS += srv/drivers/isa
82# DIRS += srv/hw/bus/pci
83endif
84
85ifeq ($(UARCH),ppc32)
86 DIRS += srv/hw/bus/cuda_adb
87endif
88
89ifeq ($(UARCH),sparc64)
90 DIRS += \
91 srv/dd \
92 srv/hw/cir/fhc \
93 srv/hw/cir/obio
94endif
95
96LIBC = lib/libc
97LIBS = \
98 lib/libfs \
99 lib/libblock \
100 lib/softint \
101 lib/softfloat \
102 lib/libdrv
103
104ifeq ($(UARCH),amd64)
105 LIBS += lib/libpci
106endif
107
108ifeq ($(UARCH),ia32)
109 LIBS += lib/libpci
110endif
111
112
113LIBC_BUILD = $(addsuffix .build,$(LIBC))
114LIBS_BUILD = $(addsuffix .build,$(LIBS))
115
116BUILDS := $(addsuffix .build,$(DIRS))
117CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
118
119.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
120
121all: $(BUILDS)
122
123clean: $(CLEANS)
124
125$(CLEANS):
126 -$(MAKE) -C $(basename $@) clean
127
128$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
129 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
130
131$(LIBS_BUILD): $(LIBC_BUILD)
132 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
133
134$(LIBC_BUILD):
135 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note: See TracBrowser for help on using the repository browser.