Changeset 04803bf in mainline for uspace/Makefile
- Timestamp:
- 2011-03-21T22:00:17Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 143932e
- Parents:
- b50b5af2 (diff), 7308e84 (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
rb50b5af2 r04803bf 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 = \ 35 lib/libc \ 36 lib/libfs \ 37 lib/libblock \ 38 lib/softint \ 39 lib/softfloat \ 40 lib/libtest \ 36 app/bdsh \ 37 app/dload \ 38 app/dltest2 \ 39 app/edit \ 40 app/getterm \ 41 app/init \ 42 app/kill \ 43 app/killall \ 44 app/klog \ 45 app/mkfat \ 46 app/redir \ 47 app/sbi \ 48 app/stats \ 49 app/taskdump \ 50 app/tester \ 51 app/tetris \ 52 app/trace \ 53 app/top \ 54 app/netecho \ 55 app/nettest1 \ 56 app/nettest2 \ 57 app/ping \ 58 app/websrv \ 59 app/sysinfo \ 60 srv/clip \ 61 srv/devmap \ 62 srv/devman \ 63 srv/loader \ 64 srv/ns \ 65 srv/taskmon \ 66 srv/vfs \ 41 67 srv/bd/ata_bd \ 42 68 srv/bd/file_bd \ 43 69 srv/bd/gxe_bd \ 44 70 srv/bd/rd \ 45 srv/ns \ 46 srv/loader \ 47 srv/fb \ 48 srv/kbd \ 49 srv/console \ 71 srv/bd/part/guid_part \ 72 srv/bd/part/mbr_part \ 50 73 srv/fs/fat \ 51 74 srv/fs/tmpfs \ 52 75 srv/fs/devfs \ 53 srv/vfs \ 54 srv/devmap \ 55 app/tetris \ 56 app/tester \ 57 app/dltest2 \ 58 app/dload \ 59 app/trace \ 60 app/klog \ 61 app/init \ 62 app/getvc \ 63 app/bdsh 76 srv/hid/adb_mouse \ 77 srv/hid/char_mouse \ 78 srv/hid/s3c24xx_ts \ 79 srv/hid/fb \ 80 srv/hid/kbd \ 81 srv/hw/char/i8042 \ 82 srv/hw/char/s3c24xx_uart \ 83 srv/hw/netif/ne2000 \ 84 srv/net/netif/lo \ 85 srv/net/il/arp \ 86 srv/net/il/ip \ 87 srv/net/tl/icmp \ 88 srv/net/tl/udp \ 89 srv/net/tl/tcp \ 90 srv/net/net \ 91 drv/root \ 92 drv/rootvirt \ 93 drv/test1 \ 94 drv/test2 95 96 ## Shared C library 97 ifeq ($(CONFIG_BUILD_SHARED_LIBC), y) 98 DIRS += \ 99 lib/c/shared \ 100 app/dltest 101 endif 102 103 ## Networking 104 # 105 106 DIRS += \ 107 srv/net/nil/eth \ 108 srv/net/nil/nildummy 109 110 ## Platform-specific hardware support 111 # 112 113 ifneq ($(UARCH),abs32le) 114 DIRS += srv/hid/console 115 endif 64 116 65 117 ifeq ($(UARCH),amd64) 66 DIRS += srv/pci 118 DIRS += \ 119 drv/rootpc \ 120 drv/pciintel \ 121 drv/isa \ 122 drv/ns8250 \ 123 srv/hw/irc/apic \ 124 srv/hw/irc/i8259 67 125 endif 68 126 69 127 ifeq ($(UARCH),ia32) 70 DIRS += srv/pci 128 DIRS += \ 129 drv/rootpc \ 130 drv/pciintel \ 131 drv/isa \ 132 drv/ns8250 \ 133 srv/hw/irc/apic \ 134 srv/hw/irc/i8259 135 endif 136 137 ifeq ($(UARCH),ppc32) 138 DIRS += srv/hw/bus/cuda_adb 71 139 endif 72 140 73 141 ifeq ($(UARCH),sparc64) 74 142 DIRS += \ 75 srv/ cir/fhc \76 srv/ cir/obio143 srv/hw/irc/fhc \ 144 srv/hw/irc/obio 77 145 endif 78 146 79 ifeq ($(CONFIG_BUILD_SHARED_LIBC), y) 80 DIRS += \ 81 lib/libc/shared \ 82 app/dltest 83 endif 147 ## System libraries 148 # 84 149 150 LIBC = lib/c 151 LIBS = \ 152 lib/fs \ 153 lib/block \ 154 lib/clui \ 155 lib/softint \ 156 lib/softfloat \ 157 lib/libtest \ 158 lib/drv \ 159 lib/packet \ 160 lib/net 85 161 162 LIBC_BUILD = $(addsuffix .build,$(LIBC)) 163 LIBS_BUILD = $(addsuffix .build,$(LIBS)) 164 LIBN_BUILD = $(addsuffix .build,$(LIBN)) 86 165 BUILDS := $(addsuffix .build,$(DIRS)) 87 CLEANS := $(addsuffix .clean,$(DIRS))88 166 89 .PHONY: all $(BUILDS) $(CLEANS) clean kerninc 167 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC)) 90 168 91 all: ../Makefile.config ../config.h ../config.defs $(BUILDS) 169 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean 170 171 all: $(BUILDS) 92 172 93 173 clean: $(CLEANS) … … 96 176 -$(MAKE) -C $(basename $@) clean 97 177 98 $(BUILDS): 99 $(MAKE) -C $(basename $@) all 178 $(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) 179 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK) 180 181 $(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD) 182 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK) 183 184 $(LIBS_BUILD): $(LIBC_BUILD) 185 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK) 186 187 $(LIBC_BUILD): 188 $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
Note:
See TracChangeset
for help on using the changeset viewer.