Changeset 12d7710 in mainline for uspace/srv/net/netif/dp8390/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/srv/net/netif/dp8390/Makefile

    r4204ad9 r12d7710  
    11#
    2 # Copyright (c) 2009 Lukas Mejdrech
     2# Copyright (c) 2005 Martin Decky
     3# Copyright (c) 2007 Jakub Jermar
    34# All rights reserved.
    45#
     
    2728#
    2829
    29 NAME = dp8390
     30NET_BASE = ../..
     31USPACE_PREFIX = ../../../..
     32ROOT_PATH = $(USPACE_PREFIX)/..
    3033
    31 NET_BASE = ../../
    32 STRUCTURES = $(NET_BASE)structures/
     34COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common
     35CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
    3336
    34 include $(NET_BASE)../../../Makefile.common
    35 include $(NET_BASE)../../../Makefile.config
     37BINARY = dp8390
    3638
    37 ## Sources
    38 #
     39-include $(COMMON_MAKEFILE)
     40-include $(CONFIG_MAKEFILE)
    3941
    40 OUTPUT = $(NAME)
    4142SOURCES = \
    42         $(NAME).c \
    43         $(NAME)_module.c \
     43        dp8390.c \
     44        dp8390_module.c \
    4445        ne2000.c \
    45         $(NET_BASE)module.c \
    46         $(NET_BASE)modules.c \
    47         $(NET_BASE)netif/netif.c \
    48         $(STRUCTURES)measured_strings.c \
    49         $(STRUCTURES)packet/packet.c \
    50         $(STRUCTURES)packet/packet_client.c \
    51         $(STRUCTURES)packet/packet_remote.c
     46        $(NET_BASE)/module.c \
     47        $(NET_BASE)/modules.c \
     48        $(NET_BASE)/netif/netif.c \
     49        $(NET_BASE)/structures/measured_strings.c \
     50        $(NET_BASE)/structures/packet/packet.c \
     51        $(NET_BASE)/structures/packet/packet_client.c \
     52        $(NET_BASE)/structures/packet/packet_remote.c
    5253
    53 ifeq ($(NETWORKING), module)
    54 
    55         SOURCES +=      $(NET_BASE)checksum.c \
    56                                 $(NET_BASE)nil/eth/eth.c \
    57                                 $(NET_BASE)net/net_remote.c \
    58                                 $(NET_BASE)netif/netif_nil_bundle.c
    59 
    60 else
    61 
    62         SOURCES +=      $(NET_BASE)nil/nil_remote.c \
    63                                 $(NET_BASE)netif/netif_standalone.c
    64 
     54ifeq ($(CONFIG_NETWORKING),module)
     55        SOURCES += \
     56                $(NET_BASE)/checksum.c \
     57                $(NET_BASE)/nil/eth/eth.c \
     58                $(NET_BASE)/net/net_remote.c \
     59                $(NET_BASE)/netif/netif_nil_bundle.c
    6560endif
    6661
    67 include $(NET_BASE)Makefile.module
     62ifeq ($(CONFIG_NETWORKING),modular)
     63        SOURCES += \
     64                $(NET_BASE)/nil/nil_remote.c \
     65                $(NET_BASE)/netif/netif_standalone.c
     66endif
     67
     68include $(USPACE_PREFIX)/Makefile.common
Note: See TracChangeset for help on using the changeset viewer.