2012-06-02 16:24:29 +00:00
|
|
|
CONTIKI=../../..
|
|
|
|
|
|
|
|
PROJECT_SOURCEFILES += json-ws.c
|
|
|
|
|
|
|
|
ifdef WITH_COSM
|
|
|
|
CFLAGS += -DWITH_COSM=1
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef WITH_UDP
|
|
|
|
CFLAGS += -DWITH_UDP=1
|
|
|
|
PROJECT_SOURCEFILES += json-ws-udp.c
|
|
|
|
endif
|
|
|
|
|
2017-09-01 14:01:11 +00:00
|
|
|
APPS += httpd-ws
|
|
|
|
MODULES += os/lib/json
|
2012-06-02 16:24:29 +00:00
|
|
|
|
|
|
|
CFLAGS += -DPROJECT_CONF_H=\"project-conf.h\"
|
|
|
|
|
|
|
|
ifeq ($(TARGET),)
|
|
|
|
-include Makefile.target
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(TARGET),)
|
|
|
|
all: websense-$(TARGET)
|
|
|
|
endif
|
|
|
|
|
2014-11-12 09:18:29 +00:00
|
|
|
CONTIKI_WITH_IPV6 = 1
|
2012-06-02 16:24:29 +00:00
|
|
|
include $(CONTIKI)/Makefile.include
|