2014-07-19 18:00:21 +02:00
|
|
|
ifneq (,$(filter nomac,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
2014-07-31 17:53:46 +02:00
|
|
|
ifneq (,$(filter transport_layer,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter socket_base,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter tcp,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter udp,$(USEMODULE)))
|
2014-02-26 23:23:15 +01:00
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
2014-07-18 17:30:26 +02:00
|
|
|
ifneq (,$(filter netapi,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
2014-02-26 23:23:15 +01:00
|
|
|
ifneq (,$(filter net_help,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
2014-09-23 01:30:37 +02:00
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/drivers/cc110x
|
2014-10-26 22:02:18 +01:00
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/drivers/cc110x_legacy_csma
|
2014-10-19 13:47:19 +02:00
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/drivers/cc110x_legacy/include
|
2014-02-26 23:23:15 +01:00
|
|
|
endif
|
|
|
|
ifneq (,$(filter net_if,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
2014-09-05 18:21:58 +02:00
|
|
|
ifneq (,$(filter pktqueue,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
2014-02-26 23:23:15 +01:00
|
|
|
ifneq (,$(filter protocol_multiplex,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter sixlowpan,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter rpl,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/routing/rpl
|
|
|
|
endif
|
2014-11-25 12:02:52 +01:00
|
|
|
ifneq (,$(filter nhdp,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/routing/nhdp
|
|
|
|
endif
|
2014-02-26 23:23:15 +01:00
|
|
|
ifneq (,$(filter ieee802154,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
2014-05-22 23:18:51 +02:00
|
|
|
ifneq (,$(filter l2_ping,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
2014-02-26 23:23:15 +01:00
|
|
|
ifneq (,$(filter ccn_lite,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/ccn_lite
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter ccn_lite_client,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/net/include
|
|
|
|
endif
|
|
|
|
|
2014-05-08 19:06:07 +02:00
|
|
|
ifneq (,$(filter crypto,$(USEMODULE)))
|
2014-02-26 23:23:15 +01:00
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/include/crypto
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq (,$(filter posix,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/posix/include
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter pnet,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/posix/pnet/include
|
|
|
|
endif
|
|
|
|
ifneq (,$(filter pthread,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/posix/pthread/include
|
|
|
|
endif
|
2014-05-15 16:30:47 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter oneway_malloc,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/oneway-malloc/include
|
|
|
|
endif
|
2014-11-27 22:30:14 +01:00
|
|
|
|
2014-11-04 08:47:57 +01:00
|
|
|
ifneq (,$(filter fib,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/include/net
|
|
|
|
endif
|
|
|
|
|
2015-03-03 19:34:12 +01:00
|
|
|
ifneq (,$(filter cpp11-compat,$(USEMODULE)))
|
|
|
|
USEMODULE_INCLUDES += $(RIOTBASE)/sys/cpp11-compat/include
|
|
|
|
endif
|
|
|
|
|
2015-03-22 18:42:34 +01:00
|
|
|
ifneq (,$(filter ng_slip,$(USEMODULE)))
|
|
|
|
FEATURES_REQUIRED += periph_uart
|
|
|
|
endif
|
|
|
|
|
2014-11-27 22:30:14 +01:00
|
|
|
ifneq (,$(filter embunit,$(USEMODULE)))
|
|
|
|
ifeq ($(OUTPUT),XML)
|
|
|
|
CFLAGS += -DOUTPUT=OUTPUT_XML
|
|
|
|
else ifeq ($(OUTPUT),TEXT)
|
|
|
|
CFLAGS += -DOUTPUT=OUTPUT_TEXT
|
|
|
|
else ifeq ($(OUTPUT),COMPILER)
|
|
|
|
CFLAGS += -DOUTPUT=OUTPUT_COMPILER
|
|
|
|
endif
|
|
|
|
endif
|
2015-04-22 11:54:24 +02:00
|
|
|
|
2015-02-25 16:31:03 +01:00
|
|
|
ifneq (,$(filter log_%,$(USEMODULE)))
|
|
|
|
include $(RIOTBASE)/sys/log/Makefile.include
|
|
|
|
endif
|
2015-04-22 11:54:24 +02:00
|
|
|
|
|
|
|
ifneq (,$(filter newlib,$(USEMODULE)))
|
|
|
|
include $(RIOTBASE)/sys/newlib/Makefile.include
|
|
|
|
endif
|