Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/netif/lo/Makefile

    r1b1164e8 r849ed54  
    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 = lo
    38 
    3938-include $(COMMON_MAKEFILE)
    4039-include $(CONFIG_MAKEFILE)
    4140
    42 SOURCES = \
    43         lo.c \
    44         $(NET_BASE)/module.c \
    45         $(NET_BASE)/modules.c \
    46         $(NET_BASE)/net/net_remote.c \
    47         $(NET_BASE)/netif/netif.c \
    48         $(NET_BASE)/structures/measured_strings.c \
    49         $(NET_BASE)/structures/packet/packet.c \
    50         $(NET_BASE)/structures/packet/packet_client.c \
    51         $(NET_BASE)/structures/packet/packet_remote.c
     41ifeq ($(CONFIG_NETWORKING),modular)
     42        BINARY = lo
     43endif
    5244
    5345ifeq ($(CONFIG_NETWORKING),module)
    54         SOURCES += \
    55                 $(NET_BASE)/nil/nildummy/nildummy.c \
    56                 $(NET_BASE)/netif/netif_nil_bundle.c
     46        LIBRARY = liblo
    5747endif
    5848
    59 ifeq ($(CONFIG_NETWORKING),modular)
    60         SOURCES += \
    61                 $(NET_BASE)/nil/nil_remote.c \
    62                 $(NET_BASE)/netif/netif_standalone.c
    63 endif
     49SOURCES = \
     50        lo.c
    6451
    6552include $(USPACE_PREFIX)/Makefile.common
Note: See TracChangeset for help on using the changeset viewer.