Changeset c47e1a8 in mainline for uspace/Makefile


Ignore:
Timestamp:
2010-05-21T07:50:04Z (15 years ago)
Author:
Lenka Trochtova <trochtova.lenka@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d51ee2b
Parents:
cf8cc36 (diff), 15b592b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

merge mainline changes (rev. 451)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    rcf8cc36 rc47e1a8  
    2727#
    2828
    29 ## Include configuration
     29-include ../Makefile.common
     30-include ../Makefile.config
     31
     32## Common binaries
    3033#
    31 
    32 -include ../Makefile.config
    3334
    3435DIRS = \
     
    4041        app/mkfat \
    4142        app/redir \
     43        app/sbi \
     44        app/stats \
    4245        app/shutters \
    4346        app/taskdump \
     47        app/tasks \
    4448        app/tester \
    4549        app/test_serial \
    4650        app/tetris \
    4751        app/trace \
     52        app/top \
    4853        srv/clip \
    4954        srv/devmap \
     
    6469        srv/fs/devfs \
    6570        srv/hid/adb_mouse \
    66         srv/hid/console \
    6771        srv/hid/char_mouse \
    6872        srv/hid/fb \
    6973        srv/hid/kbd \
    70         srv/hw/char/i8042
     74        srv/hw/char/i8042 \
     75        srv/hw/netif/dp8390 \
     76        srv/net/cfg \
     77        srv/net/netif/lo \
     78        srv/net/il/arp \
     79        srv/net/il/ip \
     80        srv/net/tl/icmp \
     81        srv/net/tl/udp \
     82        srv/net/tl/tcp \
     83        srv/net/net \
     84        srv/net/netstart \
     85        app/netecho \
     86        app/nettest1 \
     87        app/nettest2 \
     88        app/ping
     89
     90## Networking
     91#
     92
     93ifeq ($(CONFIG_NETIF_NIL_BUNDLE),y)
     94        LIBN = \
     95                srv/net/nil/eth \
     96                srv/net/nil/nildummy
     97else
     98        DIRS += \
     99                srv/net/nil/eth \
     100                srv/net/nil/nildummy
     101endif
     102
     103## Platform-specific hardware support
     104#
     105
     106ifneq ($(UARCH),abs32le)
     107        DIRS += srv/hid/console
     108endif
    71109
    72110ifeq ($(UARCH),amd64)
    73         DIRS += srv/dd
    74 #       DIRS += srv/hw/bus/pci
     111        DIRS += srv/hw/bus/pci
    75112endif
    76113
    77114ifeq ($(UARCH),ia32)
    78         DIRS += srv/dd
    79115        DIRS += srv/drivers/rootia32
    80116        DIRS += srv/drivers/pciintel
     
    90126ifeq ($(UARCH),sparc64)
    91127        DIRS += \
    92                 srv/dd \
    93128                srv/hw/cir/fhc \
    94129                srv/hw/cir/obio
    95130endif
    96131
    97 LIBC = lib/libc
     132## System libraries
     133#
     134
     135LIBC = lib/c
    98136LIBS = \
    99         lib/libfs \
    100         lib/libblock \
     137        lib/fs \
     138        lib/block \
     139        lib/clui \
    101140        lib/softint \
    102141        lib/softfloat \
    103         lib/libdrv
     142        lib/drv \
     143        lib/socket \
     144        lib/net
    104145
    105146ifeq ($(UARCH),amd64)
    106         LIBS += lib/libpci
     147        LIBS += lib/pci
    107148endif
    108149
    109150ifeq ($(UARCH),ia32)
    110         LIBS += lib/libpci
     151        LIBS += lib/pci
    111152endif
    112153
     
    114155LIBC_BUILD = $(addsuffix .build,$(LIBC))
    115156LIBS_BUILD = $(addsuffix .build,$(LIBS))
     157LIBN_BUILD = $(addsuffix .build,$(LIBN))
     158BUILDS := $(addsuffix .build,$(DIRS))
    116159
    117 BUILDS := $(addsuffix .build,$(DIRS))
    118 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
     160CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    119161
    120 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
     162.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
    121163
    122164all: $(BUILDS)
     
    127169        -$(MAKE) -C $(basename $@) clean
    128170
    129 $(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
     171$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
     172        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     173
     174$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
    130175        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    131176
Note: See TracChangeset for help on using the changeset viewer.