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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    rc7dc8ad r86554e7  
    3333
    3434DIRS = \
     35        lib/libc \
     36        lib/libfs \
     37        lib/libblock \
     38        lib/softint \
     39        lib/softfloat \
    3540        srv/bd/ata_bd \
    3641        srv/bd/file_bd \
     
    4752        srv/vfs \
    4853        srv/devmap \
    49         srv/part/mbr_part \
    50         app/edit \
    5154        app/tetris \
     55        app/shutters \
     56        app/test_serial \
    5257        app/tester \
    5358        app/trace \
     
    5560        app/init \
    5661        app/getvc \
    57         app/redir \
    5862        app/bdsh
    5963
    6064ifeq ($(UARCH),amd64)
    61         DIRS += srv/pci
     65        DIRS += \
     66                srv/pci \
     67                app/lspci
    6268endif
    6369
    6470ifeq ($(UARCH),ia32)
    65         DIRS += srv/pci
     71        DIRS += \
     72                srv/pci \
     73                app/lspci
    6674endif
    6775
    6876ifeq ($(UARCH),sparc64)
    6977        DIRS += \
     78                srv/pci \
     79                app/lspci \
    7080                srv/cir/fhc \
    7181                srv/cir/obio
    7282endif
    7383
    74 LIBC = lib/libc
    75 LIBS = \
    76         lib/libfs \
    77         lib/libblock \
    78         lib/softint \
    79         lib/softfloat
     84BUILDS := $(addsuffix .build,$(DIRS))
     85CLEANS := $(addsuffix .clean,$(DIRS))
    8086
    81 LIBC_BUILD = $(addsuffix .build,$(LIBC))
    82 LIBS_BUILD = $(addsuffix .build,$(LIBS))
     87.PHONY: all $(BUILDS) $(CLEANS) clean
    8388
    84 BUILDS := $(addsuffix .build,$(DIRS))
    85 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    86 
    87 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
    88 
    89 all: $(BUILDS)
     89all: ../Makefile.config ../config.h ../config.defs $(BUILDS)
    9090
    9191clean: $(CLEANS)
     
    9494        -$(MAKE) -C $(basename $@) clean
    9595
    96 $(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
     96$(BUILDS):
    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.