Changeset 3aae4e8 in mainline for uspace/srv/hw/netif/dp8390/Makefile


Ignore:
Timestamp:
2010-04-04T22:07:05Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
23de644
Parents:
9f10660f (diff), 73060801 (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 moved

Legend:

Unmodified
Added
Removed
  • uspace/srv/hw/netif/dp8390/Makefile

    r9f10660f r3aae4e8  
    2828#
    2929
    30 NET_BASE = ../..
    3130USPACE_PREFIX = ../../../..
    3231ROOT_PATH = $(USPACE_PREFIX)/..
     32LIBS = $(LIBNET_PREFIX)/libnet.a $(LIBSOCKET_PREFIX)/libsocket.a
     33EXTRA_CFLAGS = -I$(LIBNET_PREFIX)/include -I$(LIBSOCKET_PREFIX)/include
    3334
    3435COMMON_MAKEFILE = $(ROOT_PATH)/Makefile.common
    3536CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
    3637
    37 BINARY = dp8390
    38 
    3938-include $(COMMON_MAKEFILE)
    4039-include $(CONFIG_MAKEFILE)
     40
     41ifeq ($(CONFIG_NETWORKING),modular)
     42        BINARY = dp8390
     43endif
     44
     45ifeq ($(CONFIG_NETWORKING),module)
     46        LIBRARY = libdp8390
     47endif
    4148
    4249SOURCES = \
    4350        dp8390.c \
    4451        dp8390_module.c \
    45         ne2000.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
    53 
    54 ifeq ($(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
    60 endif
    61 
    62 ifeq ($(CONFIG_NETWORKING),modular)
    63         SOURCES += \
    64                 $(NET_BASE)/nil/nil_remote.c \
    65                 $(NET_BASE)/netif/netif_standalone.c
    66 endif
     52        ne2000.c
    6753
    6854include $(USPACE_PREFIX)/Makefile.common
Note: See TracChangeset for help on using the changeset viewer.