2011-12-19 12:50:50 +00:00
|
|
|
CONTIKI_PROJECT=border-router
|
|
|
|
all: $(CONTIKI_PROJECT)
|
|
|
|
APPS = slip-cmd
|
|
|
|
|
|
|
|
CONTIKI=../../..
|
|
|
|
|
|
|
|
#linker optimizations
|
|
|
|
SMALL=1
|
|
|
|
|
|
|
|
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
|
|
PROJECT_SOURCEFILES += border-router-cmds.c tun-bridge.c border-router-rdc.c \
|
|
|
|
slip-config.c slip-dev.c
|
|
|
|
|
|
|
|
WITH_WEBSERVER=1
|
|
|
|
ifeq ($(WITH_WEBSERVER),1)
|
|
|
|
CFLAGS += -DWEBSERVER=1
|
|
|
|
PROJECT_SOURCEFILES += httpd-simple.c
|
|
|
|
else ifneq ($(WITH_WEBSERVER), 0)
|
|
|
|
APPS += $(WITH_WEBSERVER)
|
|
|
|
CFLAGS += -DWEBSERVER=2
|
|
|
|
endif
|
|
|
|
|
2014-11-12 09:18:29 +00:00
|
|
|
CONTIKI_WITH_IPV6 = 1
|
2011-12-19 12:50:50 +00:00
|
|
|
include $(CONTIKI)/Makefile.include
|
|
|
|
|
|
|
|
connect-router: border-router.native
|
2015-09-30 14:06:58 +00:00
|
|
|
sudo ./border-router.native fd00::1/64
|