Blame view

RIOT/pkg/emb6/Makefile.include 1.79 KB
fb11e647   vrobic   reseau statique a...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
  PKG_BUILDDIR ?= $(BINDIRBASE)/pkg/$(BOARD)/emb6
  EMB6_DIR := $(PKG_BUILDDIR)
  EMB6_CONTRIB := $(RIOTBASE)/pkg/emb6/contrib
  
  INCLUDES += -I$(PKG_BUILDDIR)/target
  INCLUDES += -I$(RIOTBASE)/pkg/emb6/include
  
  ifeq (,$(filter emb6_router,$(USEMODULE)))
    CFLAGS += -DEMB6_CONF_ROUTER=FALSE
  endif
  
  ifneq (,$(filter emb6_bsp,$(USEMODULE)))
    DIRS += $(EMB6_DIR)/target/bsp
  endif
  
  ifneq (,$(filter emb6_common,$(USEMODULE)))
    DIRS += $(EMB6_DIR)/emb6
    INCLUDES += -I$(EMB6_DIR)/emb6
  endif
  
  ifneq (,$(filter emb6_contrib,$(USEMODULE)))
    DIRS += $(EMB6_CONTRIB)
  endif
  
  ifneq (,$(filter emb6_conn_udp,$(USEMODULE)))
    DIRS += $(EMB6_CONTRIB)/conn/udp
  endif
  
  ifneq (,$(filter emb6_ipv6,$(USEMODULE)))
    DIRS += $(EMB6_DIR)/emb6/src/net/ipv6
    INCLUDES += -I$(EMB6_DIR)/emb6/inc/net/ipv6
  endif
  
  ifneq (,$(filter emb6_ipv6_multicast,$(USEMODULE)))
    DIRS += $(EMB6_DIR)/emb6/src/net/ipv6/multicast
    INCLUDES += -I$(EMB6_DIR)/emb6/inc/net/ipv6/multicast
  endif
  
  ifneq (,$(filter emb6_llsec,$(USEMODULE)))
    DIRS += $(EMB6_DIR)/emb6/src/mac/llsec
    INCLUDES += -I$(EMB6_DIR)/emb6/inc/mac/llsec
  endif
  
  ifneq (,$(filter emb6_mac,$(USEMODULE)))
    DIRS += $(EMB6_DIR)/emb6/src/mac
    INCLUDES += -I$(EMB6_DIR)/emb6/inc/mac
  endif
  
  ifneq (,$(filter emb6_netdev2,$(USEMODULE)))
    DIRS += $(EMB6_CONTRIB)/netdev2
  endif
  
  ifneq (,$(filter emb6_rpl,$(USEMODULE)))
    DIRS += $(EMB6_DIR)/emb6/src/net/rpl
    INCLUDES += -I$(EMB6_DIR)/emb6/inc/net/rpl
  endif
  
  ifneq (,$(filter emb6_sicslowpan,$(USEMODULE)))
    DIRS += $(EMB6_DIR)/emb6/src/net/sicslowpan
    INCLUDES += -I$(EMB6_DIR)/emb6/inc/net/sicslowpan
  endif
  
  ifneq (,$(filter emb6_sock,$(USEMODULE)))
    DIRS += $(EMB6_DIR)/emb6/src/tport
    INCLUDES += -I$(EMB6_DIR)/emb6/inc/tport
  endif
  
  ifneq (,$(filter emb6_utils,$(USEMODULE)))
    DIRS += $(EMB6_DIR)/utils/src
    INCLUDES += -I$(EMB6_DIR)/utils/inc
  endif