Changes in uspace/Makefile [83b64a59:69b6dd1f] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r83b64a59 r69b6dd1f  
    223223#
    224224
    225 DIRS += \
     225BASE_LIBS = \
     226        lib/c \
     227        lib/cpp \
     228        lib/untar
     229
     230LIBS = \
    226231        lib/fs \
    227232        lib/block \
    228         lib/c \
    229         lib/cpp \
    230233        lib/crypto \
    231234        lib/clui \
     
    250253        lib/ext4 \
    251254        lib/trackmod \
    252         lib/untar \
    253255        lib/uri \
    254256        lib/usb \
     
    264266        lib/virtio
    265267
    266 BUILDS := $(addsuffix .build,$(DIRS))
    267 BUILDS_TESTS := $(addsuffix .build-test,$(DIRS))
    268 DEPS = $(addsuffix /deps.mk,$(DIRS))
    269 CLEANS := $(addsuffix .clean,$(DIRS))
    270 
    271 .PHONY: all $(BUILDS) $(BUILDS_TESTS) $(CLEANS) clean export
     268BASE_BUILDS := $(addsuffix .build,$(BASE_LIBS))
     269BUILDS := $(addsuffix .build,$(DIRS) $(LIBS))
     270BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) $(BASE_LIBS))
     271DEPS = $(addsuffix /deps.mk,$(DIRS) $(LIBS))
     272CLEANS := $(addsuffix .clean,$(DIRS) $(LIBS) $(BASE_LIBS))
     273
     274.PHONY: all $(BASE_BUILDS) $(BUILDS) $(BUILDS_TESTS) $(CLEANS) clean export
    272275
    273276all: $(BUILDS) $(BUILDS_TESTS)
    274277
    275 $(BUILDS_TESTS): $(BUILDS)
     278$(BUILDS_TESTS): $(BASE_BUILDS) $(BUILDS)
    276279        $(MAKE) -r -C $(basename $@) all-test PRECHECK=$(PRECHECK)
    277280
     
    289292        -$(MAKE) -r -C $(basename $@) fasterclean
    290293
    291 $(BUILDS):
     294$(BASE_BUILDS) $(BUILDS):
    292295        $(MAKE) -r -C $(basename $@) all PRECHECK=$(PRECHECK)
    293296
     
    295298        $(MAKE) -r -C $(@D) deps.mk SELF_TARGET="$(@D).build"
    296299
     300$(BUILDS): $(BASE_BUILDS)
     301
    297302-include $(DEPS)
Note: See TracChangeset for help on using the changeset viewer.