2007-04-23 23:22:54 +02:00
|
|
|
webserver_src = webserver-nogui.c httpd.c http-strings.c psock.c memb.c \
|
|
|
|
httpd-fs.c httpd-cgi.c
|
2007-04-05 21:50:43 +02:00
|
|
|
webserver_dsc = webserver-dsc.c
|
2007-03-30 00:21:02 +02:00
|
|
|
|
2011-09-10 19:04:21 +02:00
|
|
|
#Run makefsdata to regenerate httpd-fsdata.c when web content has been edited. This requires PERL.
|
|
|
|
# Note: Deleting files or transferring pages from makefsdata.ignore will not trigger this rule
|
|
|
|
# when there is no change in modification dates.
|
|
|
|
$(CONTIKI)/apps/webserver/httpd-fsdata.c : $(CONTIKI)/apps/webserver/httpd-fs/*.*
|
|
|
|
$(CONTIKI)/tools/makefsdata -d $(CONTIKI)/apps/webserver/httpd-fs -o $(CONTIKI)/apps/webserver/httpd-fsdata.c
|
|
|
|
|
|
|
|
#Rebuild httpd-fs.c when makefsdata has changed httpd-fsdata.c
|
|
|
|
$(CONTIKI)/apps/webserver/httpd-fs.c: $(CONTIKI)/apps/webserver/httpd-fsdata.c
|
|
|
|
touch $(CONTIKI)/apps/webserver/httpd-fs.c
|
|
|
|
|
2007-03-30 00:21:02 +02:00
|
|
|
#$(CONTIKI)/apps/webserver/http-strings.c: $(CONTIKI)/apps/webserver/http-strings
|
|
|
|
# cd $(CONTIKI)/apps/webserver/; $(CONTIKI)/tools/makestrings $<
|