Changeset 4f674d7 in mainline for uspace/Makefile
- Timestamp:
- 2017-11-08T23:50:54Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 25b853c
- Parents:
- 7b884e55
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/Makefile
r7b884e55 r4f674d7 202 202 # 203 203 204 LIBC = lib/c 204 BASE_LIBS = \ 205 lib/c \ 206 lib/softint \ 207 lib/softfloat 208 205 209 LIBS = \ 206 210 lib/fs \ … … 213 217 lib/scsi \ 214 218 lib/compress \ 215 lib/softint \216 lib/softfloat \217 219 lib/drv \ 218 220 lib/graph \ … … 241 243 lib/ieee80211 242 244 243 LIBC_BUILD = $(addsuffix .build,$(LIBC)) 244 LIBS_BUILD = $(addsuffix .build,$(LIBS)) 245 BUILDS := $(addsuffix .build,$(DIRS)) 246 BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) lib/c) 247 248 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC)) 249 250 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean 245 BASE_BUILDS := $(addsuffix .build,$(BASE_LIBS)) 246 BUILDS := $(addsuffix .build,$(DIRS) $(LIBS)) 247 BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) $(BASE_LIBS)) 248 DEPS = $(addsuffix /deps.mk,$(DIRS) $(LIBS)) 249 CLEANS := $(addsuffix .clean,$(DIRS) $(LIBS) $(BASE_LIBS)) 250 251 .PHONY: all $(BASE_BUILDS) $(BUILDS) $(BUILDS_TESTS) $(CLEANS) clean 251 252 252 253 all: $(BUILDS) $(BUILDS_TESTS) 253 254 254 $(BUILDS_TESTS): $( LIBC_BUILD) $(LIBS_BUILD)255 $(BUILDS_TESTS): $(BASE_BUILDS) $(BUILDS) 255 256 $(MAKE) -r -C $(basename $@) all-test PRECHECK=$(PRECHECK) 256 257 … … 264 265 -$(MAKE) -r -C $(basename $@) clean 265 266 266 $(B UILDS): $(LIBC_BUILD) $(LIBS_BUILD)267 $(BASE_BUILDS) $(BUILDS): 267 268 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK) 268 269 269 $(LIBS_BUILD): $(LIBC_BUILD) 270 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK) 271 272 $(LIBC_BUILD): 273 $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK) 270 $(DEPS): %/deps.mk: %/Makefile 271 $(MAKE) -r -C $(@D) deps.mk SELF_TARGET="$(@D).build" 272 273 # Special case for base libraries. 274 lib/c.build: lib/softfloat.build lib/softint.build 275 276 $(BUILDS): $(BASE_BUILDS) 277 278 -include $(DEPS) 279
Note:
See TracChangeset
for help on using the changeset viewer.