Changes in uspace/Makefile [1d24ad3:405b67c] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r1d24ad3 r405b67c  
    3434
    3535DIRS = \
     36        app/barber \
    3637        app/bdsh \
    3738        app/bithenge \
    3839        app/blkdump \
    3940        app/bnchmark \
     41        app/corecfg \
    4042        app/devctl \
    4143        app/dnscfg \
    4244        app/dnsres \
     45        app/download \
    4346        app/edit \
     47        app/fdisk \
     48        app/fontviewer \
    4449        app/getterm \
    4550        app/init \
     
    4752        app/kill \
    4853        app/killall \
    49         app/klog \
     54        app/kio \
    5055        app/loc \
    5156        app/logset \
     57        app/mixerctl \
    5258        app/mkfat \
    5359        app/mkexfat \
    5460        app/mkmfs \
     61        app/modplay \
     62        app/netecho \
    5563        app/nterm \
    5664        app/redir \
     65        app/rcutest \
     66        app/rcubench \
    5767        app/sbi \
    5868        app/sportdmp \
     
    6575        app/trace \
    6676        app/top \
     77        app/untar \
    6778        app/usbinfo \
    6879        app/vuhid \
    69         app/netecho \
    70         app/nettest1 \
    71         app/nettest2 \
    72         app/nettest3 \
     80        app/nic \
    7381        app/ping \
    74         app/ping6 \
    7582        app/sysinfo \
     83        app/sysinst \
    7684        app/mkbd \
    7785        app/date \
    78         app/websrv \
     86        app/vcalc \
    7987        app/vdemo \
     88        app/viewer \
    8089        app/vlaunch \
    8190        app/vterm \
     91        app/df \
     92        app/wavplay \
     93        app/websrv \
     94        app/wifi_supplicant \
     95        srv/audio/hound \
    8296        srv/clipboard \
    8397        srv/locsrv \
    8498        srv/logger \
     99        srv/klog \
    85100        srv/devman \
    86101        srv/loader \
     102        srv/net/dhcp \
    87103        srv/net/dnsrsrv \
    88104        srv/net/ethip \
    89105        srv/net/inetsrv \
    90106        srv/net/loopip \
     107        srv/net/nconfsrv \
    91108        srv/net/slip \
    92109        srv/net/tcp \
     
    98115        srv/bd/file_bd \
    99116        srv/bd/rd \
    100         srv/bd/part/guid_part \
    101         srv/bd/part/mbr_part \
     117        srv/bd/vbd \
    102118        srv/fs/exfat \
    103119        srv/fs/udf \
     
    108124        srv/fs/locfs \
    109125        srv/fs/ext4fs \
     126        srv/volsrv \
    110127        srv/hid/compositor \
    111128        srv/hid/console \
     
    116133        srv/hid/remcons \
    117134        srv/hw/char/s3c24xx_uart \
    118         drv/infrastructure/root \
    119         drv/infrastructure/rootvirt \
     135        srv/hid/rfb \
     136        drv/audio/hdaudio \
     137        drv/audio/sb16 \
     138        drv/root/root \
     139        drv/root/virt \
    120140        drv/block/ahci \
    121141        drv/block/ata_bd \
     142        drv/block/ddisk \
    122143        drv/char/i8042 \
     144        drv/char/pl050 \
    123145        drv/char/ps2mouse \
     146        drv/char/atkbd \
    124147        drv/char/xtkbd \
    125148        drv/test/test1 \
     
    130153        drv/bus/usb/ohci \
    131154        drv/bus/usb/uhci \
    132         drv/bus/usb/uhcirh \
    133155        drv/bus/usb/usbflbk \
    134156        drv/bus/usb/usbhid \
     
    139161        drv/nic/ne2k \
    140162        drv/nic/e1k \
    141         drv/nic/rtl8139
    142 
    143 ifeq ($(CONFIG_PCC),y)
    144 DIRS += \
    145         app/cc \
    146         app/ccom \
    147         app/ccom/mkext \
    148         app/cpp
    149 endif
    150 
    151 ifeq ($(CONFIG_BINUTILS),y)
    152 DIRS += \
    153         app/binutils
    154 endif
    155 
    156 ifeq ($(CONFIG_MSIM),y)
    157 DIRS += \
    158         app/msim
    159 endif
     163        drv/nic/rtl8139 \
     164        drv/nic/rtl8169 \
     165        drv/nic/ar9271 \
     166        drv/platform/icp
    160167
    161168## Platform-specific hardware support
    162169#
    163170
    164 ifeq ($(UARCH),amd64)
    165         DIRS += \
    166                 drv/infrastructure/rootpc \
     171ifeq ($(UARCH), $(filter $(UARCH),amd64 ia32 ia64))
     172        DIRS += \
     173                drv/platform/pc \
    167174                drv/bus/pci/pciintel \
    168175                drv/bus/isa \
     
    173180endif
    174181
    175 ifeq ($(UARCH),ia32)
    176         DIRS += \
    177                 drv/infrastructure/rootpc \
     182ifeq ($(UARCH), $(filter $(UARCH),mips32 mips32eb))
     183ifeq ($(MACHINE),msim)
     184        DIRS += \
     185                drv/platform/msim
     186else
     187        DIRS += \
     188                drv/platform/malta \
     189                drv/bus/pci/pciintel \
     190                drv/bus/isa
     191endif
     192endif
     193
     194ifeq ($(UARCH),ppc32)
     195        DIRS += \
     196                drv/platform/mac \
     197                drv/bus/pci/pciintel \
     198                srv/hw/bus/cuda_adb
     199endif
     200
     201ifeq ($(UARCH),sparc64)
     202        DIRS += \
     203                srv/hw/irc/obio
     204ifeq ($(MACHINE),generic)
     205        DIRS += \
     206                drv/platform/sun4u \
    178207                drv/bus/pci/pciintel \
    179208                drv/bus/isa \
    180                 drv/char/ns8250 \
    181                 drv/time/cmos-rtc \
    182                 srv/hw/irc/apic \
    183                 srv/hw/irc/i8259
    184 endif
    185 
    186 ifeq ($(UARCH),ppc32)
    187         DIRS += \
    188                 drv/infrastructure/rootmac \
    189                 drv/bus/pci/pciintel \
    190                 srv/hw/bus/cuda_adb
    191 endif
    192 
    193 ifeq ($(UARCH),sparc64)
    194         DIRS += \
    195                 srv/hw/irc/obio
     209                drv/char/ns8250
     210endif
    196211endif
    197212
    198213ifeq ($(UARCH),arm32)
    199214        DIRS += \
    200                 drv/infrastructure/rootamdm37x \
    201                 drv/fb/amdm37x_dispc
     215                drv/platform/amdm37x \
     216                drv/fb/amdm37x_dispc \
     217                srv/hw/irc/icp-ic
     218endif
     219
     220## Dynamic linking tests
     221#
     222ifeq ($(CONFIG_BUILD_SHARED_LIBS),y)
     223        DIRS += \
     224                app/dltest \
     225                app/dltests
    202226endif
    203227
     
    209233        lib/fs \
    210234        lib/block \
     235        lib/crypto \
    211236        lib/clui \
     237        lib/dltest \
     238        lib/fdisk \
    212239        lib/fmtutil \
    213240        lib/scsi \
     241        lib/compress \
    214242        lib/softint \
    215243        lib/softfloat \
     
    217245        lib/graph \
    218246        lib/gui \
     247        lib/hound \
     248        lib/http \
    219249        lib/softrend \
    220250        lib/draw \
    221         lib/net \
     251        lib/label \
     252        lib/math \
     253        lib/nettl \
    222254        lib/nic \
    223255        lib/ext4 \
     256        lib/trackmod \
     257        lib/uri \
    224258        lib/usb \
    225259        lib/usbhost \
     
    227261        lib/usbhid \
    228262        lib/usbvirt \
     263        lib/pcm \
     264        lib/pcut \
    229265        lib/bithenge \
    230         lib/posix
     266        lib/posix \
     267        lib/ieee80211
    231268
    232269LIBC_BUILD = $(addsuffix .build,$(LIBC))
     
    234271LIBN_BUILD = $(addsuffix .build,$(LIBN))
    235272BUILDS := $(addsuffix .build,$(DIRS))
     273BUILDS_TESTS := $(addsuffix .build-test,$(DIRS) $(LIBS) lib/c)
    236274
    237275CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
     
    239277.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
    240278
    241 all: $(BUILDS)
     279all: $(BUILDS) $(BUILDS_TESTS)
     280
     281$(BUILDS_TESTS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
     282        $(MAKE) -C $(basename $@) all-test PRECHECK=$(PRECHECK)
    242283
    243284clean: $(CLEANS)
Note: See TracChangeset for help on using the changeset viewer.