Changes in uspace/Makefile [b446b02:53b9f2c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile
rb446b02 r53b9f2c 135 135 srv/hid/remcons \ 136 136 srv/hw/char/s3c24xx_uart \ 137 srv/hw/irc/obio \138 137 srv/hid/rfb \ 139 138 drv/audio/hdaudio \ … … 144 143 drv/block/ata_bd \ 145 144 drv/block/ddisk \ 145 drv/block/usbmast \ 146 146 drv/bus/adb/cuda_adb \ 147 147 drv/bus/isa \ … … 151 151 drv/bus/usb/uhci \ 152 152 drv/bus/usb/usbflbk \ 153 drv/bus/usb/usbhid \154 153 drv/bus/usb/usbhub \ 155 drv/bus/usb/usbmast \156 154 drv/bus/usb/usbmid \ 157 155 drv/bus/usb/vhc \ 158 156 drv/char/i8042 \ 157 drv/char/msim-con \ 159 158 drv/char/ns8250 \ 160 159 drv/char/pl050 \ 161 drv/char/ps2mouse \ 162 drv/char/atkbd \ 163 drv/char/xtkbd \ 164 drv/test/test1 \ 165 drv/test/test2 \ 166 drv/test/test3 \ 160 drv/char/ski-con \ 161 drv/char/sun4v-con \ 167 162 drv/fb/amdm37x_dispc \ 168 163 drv/fb/kfb \ 164 drv/hid/atkbd \ 165 drv/hid/ps2mouse \ 166 drv/hid/usbhid \ 167 drv/hid/xtkbd \ 169 168 drv/intctl/apic \ 170 169 drv/intctl/i8259 \ 171 170 drv/intctl/icp-ic \ 171 drv/intctl/obio \ 172 172 drv/nic/ne2k \ 173 173 drv/nic/e1k \ … … 181 181 drv/platform/msim \ 182 182 drv/platform/pc \ 183 drv/platform/ski \ 184 drv/platform/sun4v \ 185 drv/test/test1 \ 186 drv/test/test2 \ 187 drv/test/test3 \ 183 188 drv/time/cmos-rtc 184 189 … … 200 205 # 201 206 202 LIBC = lib/c 207 BASE_LIBS = \ 208 lib/c \ 209 lib/softint \ 210 lib/softfloat 211 203 212 LIBS = \ 204 213 lib/fs \ … … 211 220 lib/scsi \ 212 221 lib/compress \ 213 lib/softint \214 lib/softfloat \215 222 lib/drv \ 216 223 lib/graph \ … … 222 229 lib/label \ 223 230 lib/math \ 231 lib/minix \ 224 232 lib/nettl \ 225 233 lib/nic \ … … 238 246 lib/ieee80211 239 247 240 LIBC_BUILD = $(addsuffix .build,$(LIBC)) 241 LIBS_BUILD = $(addsuffix .build,$(LIBS)) 242 LIBN_BUILD = $(addsuffix .build,$(LIBN)) 243 BUILDS := $(addsuffix .build,$(DIRS)) 244 BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) lib/c) 245 246 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC)) 247 248 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean 248 BASE_BUILDS := $(addsuffix .build,$(BASE_LIBS)) 249 BUILDS := $(addsuffix .build,$(DIRS) $(LIBS)) 250 BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) $(BASE_LIBS)) 251 DEPS = $(addsuffix /deps.mk,$(DIRS) $(LIBS)) 252 CLEANS := $(addsuffix .clean,$(DIRS) $(LIBS) $(BASE_LIBS)) 253 254 .PHONY: all $(BASE_BUILDS) $(BUILDS) $(BUILDS_TESTS) $(CLEANS) clean 249 255 250 256 all: $(BUILDS) $(BUILDS_TESTS) 251 257 252 $(BUILDS_TESTS): $( LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)258 $(BUILDS_TESTS): $(BASE_BUILDS) $(BUILDS) 253 259 $(MAKE) -r -C $(basename $@) all-test PRECHECK=$(PRECHECK) 254 260 255 261 clean: $(CLEANS) 262 find lib app drv srv -name '*.o' -follow -exec rm \{\} \; 263 find lib app drv srv -name '*.lo' -follow -exec rm \{\} \; 264 find lib app drv srv -name '*.d' -follow -exec rm \{\} \; 256 265 257 266 $(CLEANS): 258 -$(MAKE) -r -C $(basename $@) clean259 260 $(B UILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)267 -$(MAKE) -r -C $(basename $@) fasterclean 268 269 $(BASE_BUILDS) $(BUILDS): 261 270 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK) 262 271 263 $(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD) 264 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK) 265 266 $(LIBS_BUILD): $(LIBC_BUILD) 267 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK) 268 269 $(LIBC_BUILD): 270 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK) 272 $(DEPS): %/deps.mk: %/Makefile 273 $(MAKE) -r -C $(@D) deps.mk SELF_TARGET="$(@D).build" 274 275 # Special case for base libraries. 276 lib/c.build: lib/softfloat.build lib/softint.build 277 278 $(BUILDS): $(BASE_BUILDS) 279 280 -include $(DEPS) 281
Note:
See TracChangeset
for help on using the changeset viewer.