Changeset c621f4aa in mainline for uspace/Makefile


Ignore:
Timestamp:
2010-07-25T10:11:13Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
377cce8
Parents:
24a2517 (diff), a2da43c (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 with mainline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r24a2517 rc621f4aa  
    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 \
    4651        srv/clip \
    4752        srv/devmap \
     
    6065        srv/fs/devfs \
    6166        srv/hid/adb_mouse \
    62         srv/hid/console \
    6367        srv/hid/char_mouse \
    6468        srv/hid/fb \
    6569        srv/hid/kbd \
    66         srv/hw/char/i8042
     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
     89ifeq ($(CONFIG_NETIF_NIL_BUNDLE),y)
     90        LIBN = \
     91                srv/net/nil/eth \
     92                srv/net/nil/nildummy
     93else
     94        DIRS += \
     95                srv/net/nil/eth \
     96                srv/net/nil/nildummy
     97endif
     98
     99## Platform-specific hardware support
     100#
     101
     102ifneq ($(UARCH),abs32le)
     103        DIRS += srv/hid/console
     104endif
    67105
    68106ifeq ($(UARCH),amd64)
     
    84122endif
    85123
    86 LIBC = lib/libc
     124## System libraries
     125#
     126
     127LIBC = lib/c
    87128LIBS = \
    88         lib/libfs \
    89         lib/libblock \
     129        lib/fs \
     130        lib/block \
     131        lib/clui \
    90132        lib/softint \
    91133        lib/softfloat \
     134        lib/socket \
     135        lib/net
    92136
    93137ifeq ($(UARCH),amd64)
    94         LIBS += lib/libpci
     138        LIBS += lib/pci
    95139endif
    96140
    97141ifeq ($(UARCH),ia32)
    98         LIBS += lib/libpci
     142        LIBS += lib/pci
    99143endif
    100144
     
    102146LIBC_BUILD = $(addsuffix .build,$(LIBC))
    103147LIBS_BUILD = $(addsuffix .build,$(LIBS))
     148LIBN_BUILD = $(addsuffix .build,$(LIBN))
     149BUILDS := $(addsuffix .build,$(DIRS))
    104150
    105 BUILDS := $(addsuffix .build,$(DIRS))
    106 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
     151CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    107152
    108 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
     153.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
    109154
    110155all: $(BUILDS)
     
    115160        -$(MAKE) -C $(basename $@) clean
    116161
    117 $(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD)
     162$(BUILDS): $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD)
     163        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
     164
     165$(LIBN_BUILD): $(LIBC_BUILD) $(LIBS_BUILD)
    118166        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    119167
Note: See TracChangeset for help on using the changeset viewer.