Changeset 76ca3f7 in mainline for uspace/Makefile


Ignore:
Timestamp:
2010-03-23T20:49:54Z (15 years ago)
Author:
Lukas Mejdrech <lukasmejdrech@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e417b96
Parents:
b48ebd19 (diff), 63f8966 (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 mailnline changes, revision 329

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    rb48ebd19 r76ca3f7  
    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 = \
     
    6364        srv/hid/fb \
    6465        srv/hid/kbd \
    65         srv/hw/char/i8042 \
    66         srv/net
     66        srv/hw/char/i8042
     67
     68## Platform-specific hardware support
     69#
    6770
    6871ifneq ($(UARCH),abs32le)
     
    8891endif
    8992
    90 LIBC = lib/libc
     93## Networking
     94#
     95
     96ifeq ($(CONFIG_NETIF_DP8390),y)
     97        DIRS += srv/net/netif/dp8390
     98endif
     99
     100NETWORKING_COMMON = \
     101        srv/net/netif/lo \
     102        srv/net/nil/eth \
     103        srv/net/nil/nildummy \
     104        srv/net/net \
     105        srv/net/net/start \
     106        srv/net/socket \
     107        srv/net/app/echo \
     108        srv/net/app/ping \
     109        srv/net/app/nettest1 \
     110        srv/net/app/nettest2
     111
     112NETWORKING_MODULAR = \
     113        srv/net/il/arp \
     114        srv/net/il/ip \
     115        srv/net/tl/icmp \
     116        srv/net/tl/udp \
     117        srv/net/tl/tcp
     118
     119## System libraries
     120#
     121
     122LIBC = lib/c
    91123LIBS = \
    92         lib/libfs \
    93         lib/libblock \
     124        lib/fs \
     125        lib/block \
    94126        lib/softint \
    95127        lib/softfloat \
    96128
    97129ifeq ($(UARCH),amd64)
    98         LIBS += lib/libpci
     130        LIBS += lib/pci
    99131endif
    100132
    101133ifeq ($(UARCH),ia32)
    102         LIBS += lib/libpci
     134        LIBS += lib/pci
    103135endif
    104136
     
    107139LIBS_BUILD = $(addsuffix .build,$(LIBS))
    108140
    109 BUILDS := $(addsuffix .build,$(DIRS))
    110 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
     141ifeq ($(CONFIG_NETWORKING),modular)
     142        BUILDS := $(addsuffix .build,$(DIRS)) $(addsuffix .build,$(NETWORKING_COMMON)) $(addsuffix .build,$(NETWORKING_MODULAR))
     143endif
     144
     145ifeq ($(CONFIG_NETWORKING),module)
     146        BUILDS := $(addsuffix .build,$(DIRS)) $(addsuffix .build,$(NETWORKING_COMMON))
     147endif
     148
     149ifeq ($(CONFIG_NETWORKING),none)
     150        BUILDS := $(addsuffix .build,$(DIRS))
     151endif
     152
     153CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(NETWORKING_COMMON)) $(addsuffix .clean,$(NETWORKING_MODULAR)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    111154
    112155.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
Note: See TracChangeset for help on using the changeset viewer.