Changeset 46c20c8 in mainline for uspace/Makefile


Ignore:
Timestamp:
2010-11-26T20:08:10Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45df59a
Parents:
fb150d78 (diff), ffdd2b9 (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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    rfb150d78 r46c20c8  
    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/taskdump \
     46        app/tasks \
    4347        app/tester \
    4448        app/tetris \
    4549        app/trace \
     50        app/top \
     51        app/netecho \
     52        app/nettest1 \
     53        app/nettest2 \
     54        app/ping \
    4655        srv/clip \
    4756        srv/devmap \
     57        srv/devman \
    4858        srv/loader \
    4959        srv/ns \
     
    6070        srv/fs/devfs \
    6171        srv/hid/adb_mouse \
    62         srv/hid/console \
    6372        srv/hid/char_mouse \
     73        srv/hid/s3c24xx_ts \
    6474        srv/hid/fb \
    6575        srv/hid/kbd \
    66         srv/hw/char/i8042
     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
     92ifeq ($(CONFIG_NETIF_NIL_BUNDLE),y)
     93        LIBN = \
     94                srv/net/nil/eth \
     95                srv/net/nil/nildummy
     96else
     97        DIRS += \
     98                srv/net/nil/eth \
     99                srv/net/nil/nildummy
     100endif
     101
     102## Platform-specific hardware support
     103#
     104
     105ifneq ($(UARCH),abs32le)
     106        DIRS += srv/hid/console
     107endif
    67108
    68109ifeq ($(UARCH),amd64)
    69         DIRS += srv/hw/bus/pci
    70110endif
    71111
    72112ifeq ($(UARCH),ia32)
    73         DIRS += srv/hw/bus/pci
     113        DIRS += drv/rootia32
     114        DIRS += drv/pciintel
     115        DIRS += drv/isa
     116        DIRS += drv/ns8250
    74117endif
    75118
     
    84127endif
    85128
    86 LIBC = lib/libc
     129## System libraries
     130#
     131
     132LIBC = lib/c
    87133LIBS = \
    88         lib/libfs \
    89         lib/libblock \
     134        lib/fs \
     135        lib/block \
     136        lib/clui \
    90137        lib/softint \
    91138        lib/softfloat \
    92 
    93 ifeq ($(UARCH),amd64)
    94         LIBS += lib/libpci
    95 endif
    96 
    97 ifeq ($(UARCH),ia32)
    98         LIBS += lib/libpci
    99 endif
    100 
     139        lib/drv \
     140        lib/packet \
     141        lib/net
    101142
    102143LIBC_BUILD = $(addsuffix .build,$(LIBC))
    103144LIBS_BUILD = $(addsuffix .build,$(LIBS))
     145LIBN_BUILD = $(addsuffix .build,$(LIBN))
     146BUILDS := $(addsuffix .build,$(DIRS))
    104147
    105 BUILDS := $(addsuffix .build,$(DIRS))
    106 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
     148CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    107149
    108 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
     150.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
    109151
    110152all: $(BUILDS)
     
    115157        -$(MAKE) -C $(basename $@) clean
    116158
    117 $(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
     159$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
     160        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     161
     162$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
    118163        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    119164
Note: See TracChangeset for help on using the changeset viewer.