summaryrefslogtreecommitdiff
path: root/apps/netutils/webserver/Makefile
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-04 16:59:24 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-09-04 16:59:24 +0000
commit7592905c78f257058a006691f30227eaf027e5b3 (patch)
treed0e4b868b325893a025878c2b6b10762ca96b60e /apps/netutils/webserver/Makefile
parent81fd1693a08fb50ca1ef42c9569397612d7ff098 (diff)
downloadnuttx-7592905c78f257058a006691f30227eaf027e5b3.tar.gz
nuttx-7592905c78f257058a006691f30227eaf027e5b3.tar.bz2
nuttx-7592905c78f257058a006691f30227eaf027e5b3.zip
Enhancements to the uIP web server from Kate
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5088 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/netutils/webserver/Makefile')
-rw-r--r--apps/netutils/webserver/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/netutils/webserver/Makefile b/apps/netutils/webserver/Makefile
index 174bcd0d7..6d96c8fc5 100644
--- a/apps/netutils/webserver/Makefile
+++ b/apps/netutils/webserver/Makefile
@@ -1,7 +1,7 @@
############################################################################
# apps/netutils/webserver/Makefile
#
-# Copyright (C) 2011 Gregory Nutt. All rights reserved.
+# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
@@ -43,7 +43,12 @@ ASRCS =
CSRCS =
ifeq ($(CONFIG_NET_TCP),y)
-CSRCS = httpd.c httpd_fs.c httpd_cgi.c
+CSRCS = httpd.c httpd_cgi.c
+ifeq ($(CONFIG_NETUTILS_HTTPD_MMAP),y)
+CSRCS += httpd_mmap.c
+else
+CSRCS += httpd_fs.c
+endif
endif
AOBJS = $(ASRCS:.S=$(OBJEXT))