Make lists of source files for each app available individually - i.e. for creation of dynamically loadable modules.
This commit is contained in:
parent
e5d3453a79
commit
661a58cddb
@ -62,6 +62,8 @@ ifdef APPS
|
||||
APPDIRS += $(addprefix $(CONTIKI)/apps/, $(APPS))
|
||||
APPINCLUDES = $(foreach APP, $(APPS), $(CONTIKI)/apps/$(APP)/Makefile.$(APP))
|
||||
-include $(APPINCLUDES)
|
||||
APP_SOURCES = $(foreach APP, $(APPS), $($(APP)_src))
|
||||
DSC_SOURCES = $(foreach APP, $(APPS), $($(APP)_dsc))
|
||||
CONTIKI_SOURCEFILES += $(APP_SOURCES) $(DSC_SOURCES)
|
||||
endif
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += about.c
|
||||
DSC_SOURCES += about-dsc.c
|
||||
about_src = about.c
|
||||
about_dsc = about-dsc.c
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += calc.c
|
||||
DSC_SOURCES += calc-dsc.c
|
||||
calc_src += calc.c
|
||||
calc_dsc += calc-dsc.c
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += cmdd.c
|
||||
DSC_SOURCES +=
|
||||
cmdd_src = cmdd.c
|
||||
cmdd_dsc =
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += dhcp.c dhcpc.c
|
||||
DSC_SOURCES += dhcp-dsc.c
|
||||
dhcp_src = dhcp.c dhcpc.c
|
||||
dhcp_dsc = dhcp-dsc.c
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += directory.c
|
||||
DSC_SOURCES += directory-dsc.c
|
||||
directory_src = directory.c
|
||||
directory_dsc = directory-dsc.c
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += editor.c memb.c ctk-filedialog.c
|
||||
DSC_SOURCES += editor-dsc.c
|
||||
editor_src = editor.c memb.c ctk-filedialog.c
|
||||
editor_dsc = editor-dsc.c
|
||||
|
@ -1,3 +1,3 @@
|
||||
APP_SOURCES += email.c smtp-socket.c smtp-strings.c ctk-textentry-multiline.c \
|
||||
psock.c uipbuf.c memb.c
|
||||
DSC_SOURCES += email-dsc.c
|
||||
email_src = email.c smtp-socket.c smtp-strings.c ctk-textentry-multiline.c \
|
||||
psock.c uipbuf.c memb.c
|
||||
email_dsc = email-dsc.c
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += ftp.c ftpc.c memb.c
|
||||
DSC_SOURCES += ftp-dsc.c
|
||||
tfp_src = ftp.c ftpc.c memb.c
|
||||
ftp_dsc = ftp-dsc.c
|
||||
|
@ -1,3 +1,3 @@
|
||||
APP_SOURCES += irc.c ircc.c psock.c uipbuf.c ircc-strings.c \
|
||||
ctk-textentry-cmdline.c
|
||||
DSC_SOURCES += irc-dsc.c
|
||||
irc_src = irc.c ircc.c psock.c uipbuf.c ircc-strings.c \
|
||||
ctk-textentry-cmdline.c
|
||||
irc_dsc = irc-dsc.c
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += netconf.c
|
||||
DSC_SOURCES += netconf-dsc.c
|
||||
netconf_src = netconf.c
|
||||
netconf_dsc = netconf-dsc.c
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += process-list.c
|
||||
DSC_SOURCES += process-list-dsc.c
|
||||
process-list_src = process-list.c
|
||||
process-list_dsc = process-list-dsc.c
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += program-handler.c
|
||||
DSC_SOURCES +=
|
||||
program-handler_src = program-handler.c
|
||||
program-handler_dsc =
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += shell-gui.c shell.c ctk-textentry-cmdline.c
|
||||
DSC_SOURCES += shell-dsc.c
|
||||
shell_src = shell-gui.c shell.c ctk-textentry-cmdline.c
|
||||
shell_dsc = shell-dsc.c
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += simpletelnet.c telnet.c
|
||||
DSC_SOURCES += telnet-dsc.c
|
||||
telnet_src = simpletelnet.c telnet.c
|
||||
telnet_dsc = telnet-dsc.c
|
||||
|
@ -1,3 +1,3 @@
|
||||
APP_SOURCES += telnetd.c shell.c
|
||||
DSC_SOURCES += telnetd-dsc.c
|
||||
APPDIRS += $(CONTIKI)/apps/shell
|
||||
telnetd_src = telnetd.c shell.c
|
||||
telnetd_dsc = telnetd-dsc.c
|
||||
APPDIRS += $(CONTIKI)/apps/shell
|
||||
|
@ -1,2 +1,2 @@
|
||||
APP_SOURCES += vnc.c vnc-viewer.c vnc-draw.c
|
||||
DSC_SOURCES += vnc-dsc.c
|
||||
vnc_src = vnc.c vnc-viewer.c vnc-draw.c
|
||||
vnc_dsc = vnc-dsc.c
|
||||
|
@ -1,3 +1,3 @@
|
||||
APP_SOURCES += www.c webclient.c http-strings.c http-user-agent-string.c \
|
||||
htmlparser.c html-strings.c arg.c
|
||||
DSC_SOURCES += www-dsc.c
|
||||
webbrowser_src = www.c webclient.c http-strings.c http-user-agent-string.c \
|
||||
htmlparser.c html-strings.c arg.c
|
||||
webbrowser_dsc = www-dsc.c
|
||||
|
@ -1,6 +1,6 @@
|
||||
APP_SOURCES += webserver-nogui.c httpd.c http-strings.c psock.c uipbuf.c \
|
||||
memb.c httpd-fs.c httpd-cgi.c
|
||||
DSC_SOURCES += webserver-dsc.c
|
||||
webserver_src = webserver-nogui.c httpd.c http-strings.c psock.c uipbuf.c \
|
||||
memb.c httpd-fs.c httpd-cgi.c
|
||||
webserver_dsc = webserver-dsc.c
|
||||
|
||||
#$(CONTIKI)/apps/webserver/http-strings.c: $(CONTIKI)/apps/webserver/http-strings
|
||||
# cd $(CONTIKI)/apps/webserver/; $(CONTIKI)/tools/makestrings $<
|
||||
|
Loading…
Reference in New Issue
Block a user