Changes in uspace/Makefile [849ed54:14f1db0] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/Makefile

    r849ed54 r14f1db0  
    6666        srv/hid/kbd \
    6767        srv/hw/char/i8042 \
    68         srv/hw/netif/dp8390
     68        srv/hw/netif/dp8390 \
     69        srv/net/cfg \
     70        srv/net/netif/lo \
     71        srv/net/il/arp \
     72        srv/net/il/ip \
     73        srv/net/tl/icmp \
     74        srv/net/tl/udp \
     75        srv/net/tl/tcp \
     76        srv/net/net \
     77        srv/net/netstart \
     78        app/netecho \
     79        app/nettest1 \
     80        app/nettest2 \
     81        app/ping
     82
     83## Networking
     84#
     85
     86ifeq ($(CONFIG_NETIF_NIL_BUNDLE),y)
     87        LIBN = \
     88                srv/net/nil/eth \
     89                srv/net/nil/nildummy
     90else
     91        DIRS += \
     92                srv/net/nil/eth \
     93                srv/net/nil/nildummy
     94endif
    6995
    7096## Platform-specific hardware support
     
    93119endif
    94120
    95 ## Networking
    96 #
    97 
    98 NETWORKING_COMMON = \
    99         srv/net/netif/lo \
    100         srv/net/nil/eth \
    101         srv/net/nil/nildummy \
    102         srv/net/net \
    103         srv/net/netstart \
    104         app/netecho \
    105         app/nettest1 \
    106         app/nettest2 \
    107         app/ping
    108 
    109 NETWORKING_MODULAR = \
    110         srv/net/il/arp \
    111         srv/net/il/ip \
    112         srv/net/tl/icmp \
    113         srv/net/tl/udp \
    114         srv/net/tl/tcp
    115 
    116121## System libraries
    117122#
     
    125130        lib/softfloat \
    126131        lib/socket \
    127         lib/net \
    128         lib/netif
     132        lib/net
    129133
    130134ifeq ($(UARCH),amd64)
     
    139143LIBC_BUILD = $(addsuffix .build,$(LIBC))
    140144LIBS_BUILD = $(addsuffix .build,$(LIBS))
     145LIBN_BUILD = $(addsuffix .build,$(LIBN))
     146BUILDS := $(addsuffix .build,$(DIRS))
    141147
    142 ifeq ($(CONFIG_NETWORKING),modular)
    143         BUILDS := $(addsuffix .build,$(DIRS)) $(addsuffix .build,$(NETWORKING_COMMON)) $(addsuffix .build,$(NETWORKING_MODULAR))
    144 endif
     148CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBN)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    145149
    146 ifeq ($(CONFIG_NETWORKING),module)
    147         BUILDS := $(addsuffix .build,$(DIRS)) $(addsuffix .build,$(NETWORKING_COMMON))
    148 endif
    149 
    150 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(NETWORKING_COMMON)) $(addsuffix .clean,$(NETWORKING_MODULAR)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    151 
    152 .PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
     150.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(LIBN_BUILD) $(BUILDS) $(CLEANS) clean
    153151
    154152all: $(BUILDS)
     
    159157        -$(MAKE) -C $(basename $@) clean
    160158
    161 $(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)
    162163        $(MAKE) -C $(basename $@) all PRECHECK=$(PRECHECK)
    163164
Note: See TracChangeset for help on using the changeset viewer.