Changes in uspace/Makefile [86554e7:c7dc8ad] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r86554e7 rc7dc8ad  
    3333
    3434DIRS = \
    35         lib/libc \
    36         lib/libfs \
    37         lib/libblock \
    38         lib/softint \
    39         lib/softfloat \
    4035        srv/bd/ata_bd \
    4136        srv/bd/file_bd \
     
    5247        srv/vfs \
    5348        srv/devmap \
     49        srv/part/mbr_part \
     50        app/edit \
    5451        app/tetris \
    55         app/shutters \
    56         app/test_serial \
    5752        app/tester \
    5853        app/trace \
     
    6055        app/init \
    6156        app/getvc \
     57        app/redir \
    6258        app/bdsh
    6359
    6460ifeq ($(UARCH),amd64)
    65         DIRS += \
    66                 srv/pci \
    67                 app/lspci
     61        DIRS += srv/pci
    6862endif
    6963
    7064ifeq ($(UARCH),ia32)
    71         DIRS += \
    72                 srv/pci \
    73                 app/lspci
     65        DIRS += srv/pci
    7466endif
    7567
    7668ifeq ($(UARCH),sparc64)
    7769        DIRS += \
    78                 srv/pci \
    79                 app/lspci \
    8070                srv/cir/fhc \
    8171                srv/cir/obio
    8272endif
    8373
     74LIBC = lib/libc
     75LIBS = \
     76        lib/libfs \
     77        lib/libblock \
     78        lib/softint \
     79        lib/softfloat
     80
     81LIBC_BUILD = $(addsuffix .build,$(LIBC))
     82LIBS_BUILD = $(addsuffix .build,$(LIBS))
     83
    8484BUILDS := $(addsuffix .build,$(DIRS))
    85 CLEANS := $(addsuffix .clean,$(DIRS))
     85CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    8686
    87 .PHONY: all $(BUILDS) $(CLEANS) clean
     87.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
    8888
    89 all: ../Makefile.config ../config.h ../config.defs $(BUILDS)
     89all: $(BUILDS)
    9090
    9191clean: $(CLEANS)
     
    9494        -$(MAKE) -C $(basename $@) clean
    9595
    96 $(BUILDS):
     96$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
    9797        $(MAKE) -C $(basename $@) all
     98
     99$(LIBS_BUILD): $(LIBC_BUILD)
     100        $(MAKE) -C $(basename $@) all
     101
     102$(LIBC_BUILD):
     103        $(MAKE) -C $(basename $@) all
Note: See TracChangeset for help on using the changeset viewer.