From 7592905c78f257058a006691f30227eaf027e5b3 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 4 Sep 2012 16:59:24 +0000 Subject: 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 --- apps/netutils/webserver/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'apps/netutils/webserver/Makefile') 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 # # 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)) -- cgit v1.2.3