Changes in uspace/Makefile [63f8966:c7dc8ad] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r63f8966 rc7dc8ad  
    2727#
    2828
    29 -include ../Makefile.common
     29## Include configuration
     30#
     31
    3032-include ../Makefile.config
    3133
    32 ## Common binaries
    33 #
    34 
    3534DIRS = \
    36         app/bdsh \
    37         app/edit \
    38         app/getterm \
    39         app/init \
    40         app/klog \
    41         app/mkfat \
    42         app/redir \
    43         app/taskdump \
    44         app/tester \
    45         app/tetris \
    46         app/trace \
    47         srv/clip \
    48         srv/devmap \
    49         srv/loader \
    50         srv/ns \
    51         srv/taskmon \
    52         srv/vfs \
    5335        srv/bd/ata_bd \
    5436        srv/bd/file_bd \
    5537        srv/bd/gxe_bd \
    5638        srv/bd/rd \
    57         srv/bd/part/guid_part \
    58         srv/bd/part/mbr_part \
     39        srv/ns \
     40        srv/loader \
     41        srv/fb \
     42        srv/kbd \
     43        srv/console \
    5944        srv/fs/fat \
    6045        srv/fs/tmpfs \
    6146        srv/fs/devfs \
    62         srv/hid/adb_mouse \
    63         srv/hid/char_mouse \
    64         srv/hid/fb \
    65         srv/hid/kbd \
    66         srv/hw/char/i8042
    67 
    68 ## Platform-specific hardware support
    69 #
    70 
    71 ifneq ($(UARCH),abs32le)
    72         DIRS += srv/hid/console
    73 endif
     47        srv/vfs \
     48        srv/devmap \
     49        srv/part/mbr_part \
     50        app/edit \
     51        app/tetris \
     52        app/tester \
     53        app/trace \
     54        app/klog \
     55        app/init \
     56        app/getvc \
     57        app/redir \
     58        app/bdsh
    7459
    7560ifeq ($(UARCH),amd64)
    76         DIRS += srv/hw/bus/pci
     61        DIRS += srv/pci
    7762endif
    7863
    7964ifeq ($(UARCH),ia32)
    80         DIRS += srv/hw/bus/pci
    81 endif
    82 
    83 ifeq ($(UARCH),ppc32)
    84         DIRS += srv/hw/bus/cuda_adb
     65        DIRS += srv/pci
    8566endif
    8667
    8768ifeq ($(UARCH),sparc64)
    8869        DIRS += \
    89                 srv/hw/cir/fhc \
    90                 srv/hw/cir/obio
     70                srv/cir/fhc \
     71                srv/cir/obio
    9172endif
    9273
    93 ## Networking
    94 #
    95 
    96 ifeq ($(CONFIG_NETIF_DP8390),y)
    97         DIRS += srv/net/netif/dp8390
    98 endif
    99 
    100 NETWORKING_COMMON = \
    101         srv/net/netif/lo \
    102         srv/net/nil/eth \
    103         srv/net/nil/nildummy \
    104         srv/net/net \
    105         srv/net/net/start \
    106         srv/net/socket \
    107         srv/net/app/echo \
    108         srv/net/app/ping \
    109         srv/net/app/nettest1 \
    110         srv/net/app/nettest2
    111 
    112 NETWORKING_MODULAR = \
    113         srv/net/il/arp \
    114         srv/net/il/ip \
    115         srv/net/tl/icmp \
    116         srv/net/tl/udp \
    117         srv/net/tl/tcp
    118 
    119 ## System libraries
    120 #
    121 
    122 LIBC = lib/c
     74LIBC = lib/libc
    12375LIBS = \
    124         lib/fs \
    125         lib/block \
     76        lib/libfs \
     77        lib/libblock \
    12678        lib/softint \
    127         lib/softfloat \
    128 
    129 ifeq ($(UARCH),amd64)
    130         LIBS += lib/pci
    131 endif
    132 
    133 ifeq ($(UARCH),ia32)
    134         LIBS += lib/pci
    135 endif
    136 
     79        lib/softfloat
    13780
    13881LIBC_BUILD = $(addsuffix .build,$(LIBC))
    13982LIBS_BUILD = $(addsuffix .build,$(LIBS))
    14083
    141 ifeq ($(CONFIG_NETWORKING),modular)
    142         BUILDS := $(addsuffix .build,$(DIRS)) $(addsuffix .build,$(NETWORKING_COMMON)) $(addsuffix .build,$(NETWORKING_MODULAR))
    143 endif
    144 
    145 ifeq ($(CONFIG_NETWORKING),module)
    146         BUILDS := $(addsuffix .build,$(DIRS)) $(addsuffix .build,$(NETWORKING_COMMON))
    147 endif
    148 
    149 ifeq ($(CONFIG_NETWORKING),none)
    150         BUILDS := $(addsuffix .build,$(DIRS))
    151 endif
    152 
    153 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(NETWORKING_COMMON)) $(addsuffix .clean,$(NETWORKING_MODULAR)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
     84BUILDS := $(addsuffix .build,$(DIRS))
     85CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    15486
    15587.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
     
    16395
    16496$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
    165         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     97        $(MAKE) -C $(basename $@) all
    16698
    16799$(LIBS_BUILD): $(LIBC_BUILD)
    168         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     100        $(MAKE) -C $(basename $@) all
    169101
    170102$(LIBC_BUILD):
    171         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     103        $(MAKE) -C $(basename $@) all
Note: See TracChangeset for help on using the changeset viewer.