Changes in uspace/Makefile [ffdd2b9:b73c26d] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    rffdd2b9 rb73c26d  
    2727#
    2828
    29 -include ../Makefile.common
     29## Include configuration
     30#
     31
    3032-include ../Makefile.config
    31 
    32 ## Common binaries
    33 #
    3433
    3534DIRS = \
     
    4140        app/mkfat \
    4241        app/redir \
    43         app/sbi \
    44         app/stats \
    4542        app/taskdump \
    46         app/tasks \
    4743        app/tester \
    4844        app/tetris \
    4945        app/trace \
    50         app/top \
    51         app/netecho \
    52         app/nettest1 \
    53         app/nettest2 \
    54         app/ping \
    5546        srv/clip \
    5647        srv/devmap \
    57         srv/devman \
    5848        srv/loader \
    5949        srv/ns \
     
    7060        srv/fs/devfs \
    7161        srv/hid/adb_mouse \
     62        srv/hid/console \
    7263        srv/hid/char_mouse \
    73         srv/hid/s3c24xx_ts \
    7464        srv/hid/fb \
    7565        srv/hid/kbd \
    76         srv/hw/char/i8042 \
    77         srv/hw/char/s3c24xx_uart \
    78         srv/hw/netif/dp8390 \
    79         srv/net/cfg \
    80         srv/net/netif/lo \
    81         srv/net/il/arp \
    82         srv/net/il/ip \
    83         srv/net/tl/icmp \
    84         srv/net/tl/udp \
    85         srv/net/tl/tcp \
    86         srv/net/net \
    87         drv/root
    88 
    89 ## Networking
    90 #
    91 
    92 ifeq ($(CONFIG_NETIF_NIL_BUNDLE),y)
    93         LIBN = \
    94                 srv/net/nil/eth \
    95                 srv/net/nil/nildummy
    96 else
    97         DIRS += \
    98                 srv/net/nil/eth \
    99                 srv/net/nil/nildummy
    100 endif
    101 
    102 ## Platform-specific hardware support
    103 #
    104 
    105 ifneq ($(UARCH),abs32le)
    106         DIRS += srv/hid/console
    107 endif
     66        srv/hw/char/i8042
    10867
    10968ifeq ($(UARCH),amd64)
     69        DIRS += srv/hw/bus/pci
    11070endif
    11171
    11272ifeq ($(UARCH),ia32)
    113         DIRS += drv/rootia32
    114         DIRS += drv/pciintel
    115         DIRS += drv/isa
    116         DIRS += drv/ns8250
     73        DIRS += srv/hw/bus/pci
    11774endif
    11875
     
    12784endif
    12885
    129 ## System libraries
    130 #
    131 
    132 LIBC = lib/c
     86LIBC = lib/libc
    13387LIBS = \
    134         lib/fs \
    135         lib/block \
    136         lib/clui \
     88        lib/libfs \
     89        lib/libblock \
    13790        lib/softint \
    13891        lib/softfloat \
    139         lib/drv \
    140         lib/packet \
    141         lib/net
     92
     93ifeq ($(UARCH),amd64)
     94        LIBS += lib/libpci
     95endif
     96
     97ifeq ($(UARCH),ia32)
     98        LIBS += lib/libpci
     99endif
     100
    142101
    143102LIBC_BUILD = $(addsuffix .build,$(LIBC))
    144103LIBS_BUILD = $(addsuffix .build,$(LIBS))
    145 LIBN_BUILD = $(addsuffix .build,$(LIBN))
     104
    146105BUILDS := $(addsuffix .build,$(DIRS))
     106CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    147107
    148 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    149 
    150 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
     108.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
    151109
    152110all: $(BUILDS)
     
    157115        -$(MAKE) -C $(basename $@) clean
    158116
    159 $(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
    160         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    161 
    162 $(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
     117$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
    163118        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    164119
Note: See TracChangeset for help on using the changeset viewer.