Changes in uspace/Makefile [75fe97b:01579ad] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r75fe97b r01579ad  
    4444        app/download \
    4545        app/edit \
    46         app/fontviewer \
    4746        app/getterm \
    4847        app/hdisk \
     
    7877        app/nettest2 \
    7978        app/nettest3 \
    80         app/nic \
    8179        app/ping \
    8280        app/sysinfo \
     
    132130        srv/hid/rfb \
    133131        drv/audio/sb16 \
    134         drv/root/root \
    135         drv/root/virt \
     132        drv/infrastructure/root \
     133        drv/infrastructure/rootvirt \
    136134        drv/block/ahci \
    137135        drv/block/ata_bd \
    138136        drv/char/i8042 \
    139         drv/char/pl050 \
    140137        drv/char/ps2mouse \
    141138        drv/char/xtkbd \
     
    156153        drv/nic/ne2k \
    157154        drv/nic/e1k \
    158         drv/nic/rtl8139 \
    159         drv/nic/rtl8169 \
    160         drv/platform/icp
     155        drv/nic/rtl8139
     156
     157ifeq ($(CONFIG_PCC),y)
     158DIRS += \
     159        app/cc \
     160        app/ccom \
     161        app/ccom/mkext \
     162        app/cpp
     163endif
     164
     165ifeq ($(CONFIG_BINUTILS),y)
     166DIRS += \
     167        app/binutils
     168endif
     169
     170ifeq ($(CONFIG_MSIM),y)
     171DIRS += \
     172        app/msim
     173endif
    161174
    162175## Platform-specific hardware support
     
    165178ifeq ($(UARCH), $(filter $(UARCH),amd64 ia32 ia64))
    166179        DIRS += \
    167                 drv/platform/pc \
     180                drv/infrastructure/rootpc \
    168181                drv/bus/pci/pciintel \
    169182                drv/bus/isa \
     
    176189ifeq ($(UARCH), $(filter $(UARCH),mips32 mips32eb))
    177190        DIRS += \
    178                 drv/platform/malta \
     191                drv/infrastructure/rootmalta \
    179192                drv/bus/pci/pciintel \
    180193                drv/bus/isa
     
    183196ifeq ($(UARCH),ppc32)
    184197        DIRS += \
    185                 drv/platform/mac \
     198                drv/infrastructure/rootmac \
    186199                drv/bus/pci/pciintel \
    187200                srv/hw/bus/cuda_adb
     
    195208ifeq ($(UARCH),arm32)
    196209        DIRS += \
    197                 drv/platform/amdm37x \
    198                 drv/fb/amdm37x_dispc \
    199                 srv/hw/irc/icp-ic
     210                drv/infrastructure/rootamdm37x \
     211                drv/fb/amdm37x_dispc
    200212endif
    201213
     
    235247        lib/gpt
    236248
     249ifeq ($(CONFIG_PCUT_TESTS),y)
     250        LIBS += lib/pcut
     251endif
     252
    237253LIBC_BUILD = $(addsuffix .build,$(LIBC))
    238254LIBS_BUILD = $(addsuffix .build,$(LIBS))
    239255LIBN_BUILD = $(addsuffix .build,$(LIBN))
    240256BUILDS := $(addsuffix .build,$(DIRS))
     257BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) lib/c)
    241258
    242259CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
     
    244261.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
    245262
    246 all: $(BUILDS)
     263all: $(BUILDS) $(BUILDS_TESTS)
     264
     265$(BUILDS_TESTS): $(BUILDS)
     266        $(MAKE) -C $(basename $@) all-test PRECHECK=$(PRECHECK)
    247267
    248268clean: $(CLEANS)
Note: See TracChangeset for help on using the changeset viewer.