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


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    rf63a591d 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 \
    68         srv/hid/s3c24xx_ts \
    6968        srv/hid/fb \
    7069        srv/hid/kbd \
    71         srv/hw/char/i8042 \
    72         srv/hw/char/s3c24xx_uart \
    73         srv/hw/netif/dp8390 \
    74         srv/net/cfg \
    75         srv/net/netif/lo \
    76         srv/net/il/arp \
    77         srv/net/il/ip \
    78         srv/net/tl/icmp \
    79         srv/net/tl/udp \
    80         srv/net/tl/tcp \
    81         srv/net/net \
    82         srv/net/netstart \
    83         app/netecho \
    84         app/nettest1 \
    85         app/nettest2 \
    86         app/ping
    87 
    88 ## Networking
    89 #
    90 
    91 ifeq ($(CONFIG_NETIF_NIL_BUNDLE),y)
    92         LIBN = \
    93                 srv/net/nil/eth \
    94                 srv/net/nil/nildummy
    95 else
    96         DIRS += \
    97                 srv/net/nil/eth \
    98                 srv/net/nil/nildummy
    99 endif
    100 
    101 ## Platform-specific hardware support
    102 #
    103 
    104 ifneq ($(UARCH),abs32le)
    105         DIRS += srv/hid/console
    106 endif
     70        srv/hw/char/i8042
    10771
    10872ifeq ($(UARCH),amd64)
    109         DIRS += srv/hw/bus/pci
     73        DIRS += srv/dd
     74#       DIRS += srv/hw/bus/pci
    11075endif
    11176
    11277ifeq ($(UARCH),ia32)
    113         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
    11484endif
    11585
     
    12090ifeq ($(UARCH),sparc64)
    12191        DIRS += \
     92                srv/dd \
    12293                srv/hw/cir/fhc \
    12394                srv/hw/cir/obio
    12495endif
    12596
    126 ## System libraries
    127 #
    128 
    129 LIBC = lib/c
     97LIBC = lib/libc
    13098LIBS = \
    131         lib/fs \
    132         lib/block \
    133         lib/clui \
     99        lib/libfs \
     100        lib/libblock \
    134101        lib/softint \
    135102        lib/softfloat \
    136         lib/packet \
    137         lib/net
     103        lib/libdrv
    138104
    139105ifeq ($(UARCH),amd64)
    140         LIBS += lib/pci
     106        LIBS += lib/libpci
    141107endif
    142108
    143109ifeq ($(UARCH),ia32)
    144         LIBS += lib/pci
     110        LIBS += lib/libpci
    145111endif
    146112
     
    148114LIBC_BUILD = $(addsuffix .build,$(LIBC))
    149115LIBS_BUILD = $(addsuffix .build,$(LIBS))
    150 LIBN_BUILD = $(addsuffix .build,$(LIBN))
     116
    151117BUILDS := $(addsuffix .build,$(DIRS))
     118CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    152119
    153 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    154 
    155 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
     120.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
    156121
    157122all: $(BUILDS)
     
    162127        -$(MAKE) -C $(basename $@) clean
    163128
    164 $(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
    165         $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    166 
    167 $(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
     129$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
    168130        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    169131
Note: See TracChangeset for help on using the changeset viewer.