Browse Source

add Makefiles to sys/net

dev/timer
Benjamin Valentin 10 years ago
parent
commit
4d73d17662
  1. 2
      drivers/cc110x/Makefile
  2. 16
      sys/Makefile
  3. 4
      sys/net/destiny/Makefile
  4. 4
      sys/net/net_help/Makefile
  5. 4
      sys/net/protocol-multiplex/Makefile
  6. 0
      sys/net/protocol-multiplex/protocol-multiplex.c
  7. 0
      sys/net/protocol-multiplex/protocol-multiplex.h
  8. 4
      sys/net/sixlowpan/Makefile
  9. 4
      sys/net/sixlowpan/rpl/Makefile

2
drivers/cc110x/Makefile

@ -1,4 +1,4 @@
INCLUDES = -I$(RIOTBASE)/sys/include -I../../net -I../include -I../../lib -I../../../.. -I../../../cpu/ -I../../../core/include -I../../
INCLUDES = -I$(RIOTBASE)/sys/include -I../../net -I../../net/protocol-multiplex -I../include -I../../lib -I../../../.. -I../../../cpu/ -I../../../core/include -I../../
MODULE =cc110x_ng

16
sys/Makefile

@ -68,6 +68,22 @@ endif
ifneq (,$(findstring vtimer,$(USEMODULE)))
DIRS += vtimer
endif
ifneq (,$(findstring destiny,$(USEMODULE)))
DIRS += net/destiny
endif
ifneq (,$(findstring net_mm,$(USEMODULE)))
DIRS += net/mm
endif
ifneq (,$(findstring net_help,$(USEMODULE)))
DIRS += net/net_help
endif
ifneq (,$(findstring protocol-multiplex,$(USEMODULE)))
DIRS += net/protocol-multiplex
endif
ifneq (,$(findstring sixlowpan,$(USEMODULE)))
DIRS += net/sixlowpan
DIRS += net/sixlowpan/rpl
endif
all: $(BINDIR)$(MODULE).a
@for i in $(DIRS) ; do $(MAKE) -C $$i ; done ;

4
sys/net/destiny/Makefile

@ -0,0 +1,4 @@
MODULE:=$(shell basename $(CURDIR))
INCLUDES = -I$(RIOTBASE) -I$(RIOTBASE)/sys/include -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/net
include $(RIOTBASE)/Makefile.base

4
sys/net/net_help/Makefile

@ -0,0 +1,4 @@
MODULE:=$(shell basename $(CURDIR))
INCLUDES = -I$(RIOTBASE) -I$(RIOTBASE)/sys/include -I$(RIOTBASE)/core/include
include $(RIOTBASE)/Makefile.base

4
sys/net/protocol-multiplex/Makefile

@ -0,0 +1,4 @@
MODULE:=$(shell basename $(CURDIR))
INCLUDES = -I$(RIOTBASE) -I$(RIOTBASE)/sys/include -I$(RIOTBASE)/core/include
include $(RIOTBASE)/Makefile.base

0
sys/net/protocol-multiplex.c → sys/net/protocol-multiplex/protocol-multiplex.c

0
sys/net/protocol-multiplex.h → sys/net/protocol-multiplex/protocol-multiplex.h

4
sys/net/sixlowpan/Makefile

@ -0,0 +1,4 @@
MODULE:=$(shell basename $(CURDIR))
INCLUDES = -I$(RIOTBASE) -I$(RIOTBASE)/sys/include -I$(RIOTBASE)/core/include -I$(RIOTBASE)/drivers/include -I$(RIOTBASE)/sys/net
include $(RIOTBASE)/Makefile.base

4
sys/net/sixlowpan/rpl/Makefile

@ -0,0 +1,4 @@
MODULE:=$(shell basename $(CURDIR))
INCLUDES = -I$(RIOTBASE) -I$(RIOTBASE)/sys/include -I$(RIOTBASE)/core/include
include $(RIOTBASE)/Makefile.base
Loading…
Cancel
Save