Changeset 12d7710 in mainline for uspace/Makefile


Ignore:
Timestamp:
2010-03-26T22:01:28Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1faa995
Parents:
4204ad9 (diff), eaf22d4 (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

    r4204ad9 r12d7710  
    2727#
    2828
    29 ## Include configuration
    30 #
    31 
    3229-include ../Makefile.common
    3330-include ../Makefile.config
     31
     32## Common binaries
     33#
    3434
    3535DIRS = \
     
    6565        srv/hid/fb \
    6666        srv/hid/kbd \
    67         srv/hw/char/i8042 \
    68         srv/net
     67        srv/hw/char/i8042
     68
     69## Platform-specific hardware support
     70#
    6971
    7072ifneq ($(UARCH),abs32le)
     
    9092endif
    9193
    92 LIBC = lib/libc
     94## Networking
     95#
     96
     97ifeq ($(CONFIG_NETIF_DP8390),y)
     98        DIRS += srv/net/netif/dp8390
     99endif
     100
     101NETWORKING_COMMON = \
     102        srv/net/netif/lo \
     103        srv/net/nil/eth \
     104        srv/net/nil/nildummy \
     105        srv/net/net \
     106        srv/net/net/start \
     107        srv/net/socket \
     108        srv/net/app/echo \
     109        srv/net/app/ping \
     110        srv/net/app/nettest1 \
     111        srv/net/app/nettest2
     112
     113NETWORKING_MODULAR = \
     114        srv/net/il/arp \
     115        srv/net/il/ip \
     116        srv/net/tl/icmp \
     117        srv/net/tl/udp \
     118        srv/net/tl/tcp
     119
     120## System libraries
     121#
     122
     123LIBC = lib/c
    93124LIBS = \
    94         lib/libfs \
    95         lib/libblock \
     125        lib/fs \
     126        lib/block \
    96127        lib/softint \
    97128        lib/softfloat \
    98129
    99130ifeq ($(UARCH),amd64)
    100         LIBS += lib/libpci
     131        LIBS += lib/pci
    101132endif
    102133
    103134ifeq ($(UARCH),ia32)
    104         LIBS += lib/libpci
     135        LIBS += lib/pci
    105136endif
    106137
     
    109140LIBS_BUILD = $(addsuffix .build,$(LIBS))
    110141
    111 BUILDS := $(addsuffix .build,$(DIRS))
    112 CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
     142ifeq ($(CONFIG_NETWORKING),modular)
     143        BUILDS := $(addsuffix .build,$(DIRS)) $(addsuffix .build,$(NETWORKING_COMMON)) $(addsuffix .build,$(NETWORKING_MODULAR))
     144endif
     145
     146ifeq ($(CONFIG_NETWORKING),module)
     147        BUILDS := $(addsuffix .build,$(DIRS)) $(addsuffix .build,$(NETWORKING_COMMON))
     148endif
     149
     150ifeq ($(CONFIG_NETWORKING),none)
     151        BUILDS := $(addsuffix .build,$(DIRS))
     152endif
     153
     154CLEANS := $(addsuffix .clean,$(DIRS)) $(addsuffix .clean,$(NETWORKING_COMMON)) $(addsuffix .clean,$(NETWORKING_MODULAR)) $(addsuffix .clean,$(LIBS)) $(addsuffix .clean,$(LIBC))
    113155
    114156.PHONY: all $(LIBC_BUILD) $(LIBS_BUILD) $(BUILDS) $(CLEANS) clean
Note: See TracChangeset for help on using the changeset viewer.