nes-proj/apps/shell/Makefile.shell
2017-05-17 13:48:01 +02:00

44 lines
1.0 KiB
Makefile

shell_src = shell.c shell-reboot.c shell-vars.c shell-ps.c \
shell-blink.c shell-text.c shell-time.c \
shell-file.c shell-run.c \
shell-coffee.c \
shell-power.c \
shell-base64.c \
shell-memdebug.c \
shell-crc.c
ifeq ($(CONTIKI_WITH_IPV4),1)
SHELL_WITH_IP = 1
endif
ifeq ($(CONTIKI_WITH_IPV6),1)
SHELL_WITH_IP = 1
endif
ifeq ($(SHELL_WITH_IP),1)
shell_src += shell-wget.c shell-httpd.c shell-irc.c \
shell-tcpsend.c shell-udpsend.c shell-ping.c shell-netstat.c
APPS += webbrowser
include $(CONTIKI)/apps/webbrowser/Makefile.webbrowser
ifndef PLATFORM_BUILD
override webbrowser_src = webclient.c http-strings.c http-user-agent-string.c
endif
APPS += irc
include $(CONTIKI)/apps/irc/Makefile.irc
ifndef PLATFORM_BUILD
override irc_src = ircc.c psock.c ircc-strings.c
endif
APPS += telnet
include $(CONTIKI)/apps/telnet/Makefile.telnet
ifndef PLATFORM_BUILD
override telnet_src = telnet.c
endif
endif
ifeq ($(TARGET),sky)
shell_src += shell-sky.c shell-exec.c
endif