Changes in uspace/Makefile [f09d891:04c7003f] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    rf09d891 r04c7003f  
    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 \
     42        app/shutters \
    4543        app/taskdump \
    46         app/tasks \
    4744        app/tester \
     45        app/test_serial \
    4846        app/tetris \
    4947        app/trace \
    50         app/top \
    5148        srv/clip \
    5249        srv/devmap \
     50        srv/devman \
     51        srv/drivers/root \
    5352        srv/loader \
    5453        srv/ns \
     
    6564        srv/fs/devfs \
    6665        srv/hid/adb_mouse \
     66        srv/hid/console \
    6767        srv/hid/char_mouse \
    6868        srv/hid/fb \
    6969        srv/hid/kbd \
    70         srv/hw/char/i8042 \
    71         srv/hw/netif/dp8390 \
    72         srv/net/cfg \
    73         srv/net/netif/lo \
    74         srv/net/il/arp \
    75         srv/net/il/ip \
    76         srv/net/tl/icmp \
    77         srv/net/tl/udp \
    78         srv/net/tl/tcp \
    79         srv/net/net \
    80         srv/net/netstart \
    81         app/netecho \
    82         app/nettest1 \
    83         app/nettest2 \
    84         app/ping
    85 
    86 ## Networking
    87 #
    88 
    89 ifeq ($(CONFIG_NETIF_NIL_BUNDLE),y)
    90         LIBN = \
    91                 srv/net/nil/eth \
    92                 srv/net/nil/nildummy
    93 else
    94         DIRS += \
    95                 srv/net/nil/eth \
    96                 srv/net/nil/nildummy
    97 endif
    98 
    99 ## Platform-specific hardware support
    100 #
    101 
    102 ifneq ($(UARCH),abs32le)
    103         DIRS += srv/hid/console
    104 endif
     70        srv/hw/char/i8042
    10571
    10672ifeq ($(UARCH),amd64)
    107         DIRS += srv/hw/bus/pci
     73        DIRS += srv/dd
     74#       DIRS += srv/hw/bus/pci
    10875endif
    10976
    11077ifeq ($(UARCH),ia32)
    111         DIRS += srv/hw/bus/pci
     78        DIRS += srv/dd
     79        DIRS += srv/drivers/rootia32
     80        DIRS += srv/drivers/pciintel
     81        DIRS += srv/drivers/isa
     82        DIRS += srv/drivers/ns8250
     83#       DIRS += srv/hw/bus/pci
    11284endif
    11385
     
    11890ifeq ($(UARCH),sparc64)
    11991        DIRS += \
     92                srv/dd \
    12093                srv/hw/cir/fhc \
    12194                srv/hw/cir/obio
    12295endif
    12396
    124 ## System libraries
    125 #
    126 
    127 LIBC = lib/c
     97LIBC = lib/libc
    12898LIBS = \
    129         lib/fs \
    130         lib/block \
    131         lib/clui \
     99        lib/libfs \
     100        lib/libblock \
    132101        lib/softint \
    133102        lib/softfloat \
    134         lib/socket \
    135         lib/net
     103        lib/libdrv
    136104
    137105ifeq ($(UARCH),amd64)
    138         LIBS += lib/pci
     106        LIBS += lib/libpci
    139107endif
    140108
    141109ifeq ($(UARCH),ia32)
    142         LIBS += lib/pci
     110        LIBS += lib/libpci
    143111endif
    144112
     
    146114LIBC_BUILD = $(addsuffix .build,$(LIBC))
    147115LIBS_BUILD = $(addsuffix .build,$(LIBS))
    148 LIBN_BUILD = $(addsuffix .build,$(LIBN))
     116
    149117BUILDS := $(addsuffix .build,$(DIRS))
     118CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    150119
    151 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    152 
    153 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
     120.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
    154121
    155122all: $(BUILDS)
     
    160127        -$(MAKE) -C $(basename $@) clean
    161128
    162 $(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
    163         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    164 
    165 $(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
     129$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
    166130        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    167131
Note: See TracChangeset for help on using the changeset viewer.