Changeset 371bd7d in mainline for uspace/Makefile
- Timestamp:
- 2010-03-27T09:22:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 36a75a2
- Parents:
- cd82bb1 (diff), eaf22d4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile
rcd82bb1 r371bd7d 27 27 # 28 28 29 ## Include configuration 29 -include ../Makefile.common 30 -include ../Makefile.config 31 32 ## Common binaries 30 33 # 31 34 32 -include ../Makefile.config33 34 35 DIRS = \ 36 app/bdsh \ 37 app/edit \ 38 app/getterm \ 39 app/init \ 40 app/klog \ 41 app/mkfat \ 42 app/redir \ 43 app/taskdump \ 44 app/tester \ 45 app/tetris \ 46 app/trace \ 47 srv/clip \ 48 srv/devmap \ 49 srv/loader \ 50 srv/ns \ 51 srv/taskmon \ 52 srv/vfs \ 35 53 srv/bd/ata_bd \ 36 54 srv/bd/file_bd \ 37 55 srv/bd/gxe_bd \ 38 56 srv/bd/rd \ 39 srv/ns \ 40 srv/loader \ 41 srv/fb \ 42 srv/kbd \ 43 srv/console \ 57 srv/bd/part/guid_part \ 58 srv/bd/part/mbr_part \ 44 59 srv/fs/fat \ 45 60 srv/fs/tmpfs \ 46 61 srv/fs/devfs \ 47 srv/ vfs\48 srv/ devmap\49 srv/ part/mbr_part\50 app/edit\51 app/tetris \52 app/tester \ 53 app/trace \ 54 app/klog \ 55 app/init \ 56 app/getvc \ 57 app/redir \58 app/bdsh 62 srv/hid/adb_mouse \ 63 srv/hid/char_mouse \ 64 srv/hid/fb \ 65 srv/hid/kbd \ 66 srv/hw/char/i8042 67 68 ## Platform-specific hardware support 69 # 70 71 ifneq ($(UARCH),abs32le) 72 DIRS += srv/hid/console 73 endif 59 74 60 75 ifeq ($(UARCH),amd64) 61 DIRS += srv/ pci76 DIRS += srv/hw/bus/pci 62 77 endif 63 78 64 79 ifeq ($(UARCH),ia32) 65 DIRS += srv/pci 80 DIRS += srv/hw/bus/pci 81 endif 82 83 ifeq ($(UARCH),ppc32) 84 DIRS += srv/hw/bus/cuda_adb 66 85 endif 67 86 68 87 ifeq ($(UARCH),sparc64) 69 88 DIRS += \ 70 srv/ cir/fhc \71 srv/ cir/obio89 srv/hw/cir/fhc \ 90 srv/hw/cir/obio 72 91 endif 73 92 74 LIBC = lib/libc 93 ## Networking 94 # 95 96 ifeq ($(CONFIG_NETIF_DP8390),y) 97 DIRS += srv/net/netif/dp8390 98 endif 99 100 NETWORKING_COMMON = \ 101 srv/net/netif/lo \ 102 srv/net/nil/eth \ 103 srv/net/nil/nildummy \ 104 srv/net/net \ 105 srv/net/net/start \ 106 srv/net/socket \ 107 srv/net/app/echo \ 108 srv/net/app/ping \ 109 srv/net/app/nettest1 \ 110 srv/net/app/nettest2 111 112 NETWORKING_MODULAR = \ 113 srv/net/il/arp \ 114 srv/net/il/ip \ 115 srv/net/tl/icmp \ 116 srv/net/tl/udp \ 117 srv/net/tl/tcp 118 119 ## System libraries 120 # 121 122 LIBC = lib/c 75 123 LIBS = \ 76 lib/ libfs \77 lib/ libblock \124 lib/fs \ 125 lib/block \ 78 126 lib/softint \ 79 lib/softfloat 127 lib/softfloat \ 128 129 ifeq ($(UARCH),amd64) 130 LIBS += lib/pci 131 endif 132 133 ifeq ($(UARCH),ia32) 134 LIBS += lib/pci 135 endif 136 80 137 81 138 LIBC_BUILD = $(addsuffix .build,$(LIBC)) 82 139 LIBS_BUILD = $(addsuffix .build,$(LIBS)) 83 140 84 BUILDS := $(addsuffix .build,$(DIRS)) 85 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC)) 141 ifeq ($(CONFIG_NETWORKING),modular) 142 BUILDS := $(addsuffix .build,$(DIRS)) $(addsuffix .build,$(NETWORKING_COMMON)) $(addsuffix .build,$(NETWORKING_MODULAR)) 143 endif 144 145 ifeq ($(CONFIG_NETWORKING),module) 146 BUILDS := $(addsuffix .build,$(DIRS)) $(addsuffix .build,$(NETWORKING_COMMON)) 147 endif 148 149 ifeq ($(CONFIG_NETWORKING),none) 150 BUILDS := $(addsuffix .build,$(DIRS)) 151 endif 152 153 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(NETWORKING_COMMON)) $(addsuffix .clean,$(NETWORKING_MODULAR)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC)) 86 154 87 155 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean … … 95 163 96 164 $(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) 97 $(MAKE) -C $(basename $@) all 165 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK) 98 166 99 167 $(LIBS_BUILD): $(LIBC_BUILD) 100 $(MAKE) -C $(basename $@) all 168 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK) 101 169 102 170 $(LIBC_BUILD): 103 $(MAKE) -C $(basename $@) all 171 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note:
See TracChangeset
for help on using the changeset viewer.