--- /dev/null
+# Copyright (c) 2001, Adam Dunkels.\r
+# All rights reserved. \r
+#\r
+# Redistribution and use in source and binary forms, with or without \r
+# modification, are permitted provided that the following conditions \r
+# are met: \r
+# 1. Redistributions of source code must retain the above copyright \r
+# notice, this list of conditions and the following disclaimer. \r
+# 2. Redistributions in binary form must reproduce the above copyright \r
+# notice, this list of conditions and the following disclaimer in the \r
+# documentation and/or other materials provided with the distribution. \r
+# 3. All advertising materials mentioning features or use of this software\r
+# must display the following acknowledgement:\r
+# This product includes software developed by Adam Dunkels.\r
+# 4. The name of the author may not be used to endorse or promote\r
+# products derived from this software without specific prior\r
+# written permission. \r
+#\r
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\r
+# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\r
+# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
+# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\r
+# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
+# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\r
+# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\r
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\r
+# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\r
+# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. \r
+#\r
+# This file is part of the uIP TCP/IP stack.\r
+#\r
+# $Id: Makefile,v 1.8.2.2 2003/10/04 22:54:17 adam Exp $\r
+#\r
+\r
+CC=gcc\r
+CFLAGS=-Wall -g -I../uip -I. -I../apps/httpd -I../apps/resolv -I../apps/webclient -I../apps/smtp -I../apps/telnet -fpack-struct\r
+\r
+%.o:\r
+ $(CC) $(CFLAGS) -c $(<:.o=.c)\r
+\r
+\r
+uip: uip.o uip_arch.o tapdev.o httpd.o main.o fs.o uip_arp.o cgi.o \r
+\r
+tapdev.o: tapdev.c uipopt.h\r
+main.o: main.c ../uip/uip.h uipopt.h ../apps/httpd/httpd.h \\r
+ tapdev.h\r
+uip_arch.o: uip_arch.c ../uip/uip_arch.h ../uip/uip.h uipopt.h \\r
+ ../apps/httpd/httpd.h \r
+uip.o: ../uip/uip.c ../uip/uip.h uipopt.h ../apps/httpd/httpd.h \r
+\r
+uip_arp.o: ../uip/uip_arp.c ../uip/uip_arp.h ../uip/uip.h uipopt.h \\r
+ ../apps/httpd/httpd.h\r
+ $(CC) -o uip_arp.o $(CFLAGS) -fpack-struct -c ../uip/uip_arp.c\r
+\r
+\r
+cgi.o: ../apps/httpd/cgi.c ../uip/uip.h uipopt.h ../apps/smtp/smtp.h \\r
+ ../apps/httpd/cgi.h ../apps/httpd/httpd.h ../apps/httpd/fs.h\r
+fs.o: ../apps/httpd/fs.c ../uip/uip.h uipopt.h ../apps/smtp/smtp.h \\r
+ ../apps/httpd/httpd.h ../apps/httpd/fs.h ../apps/httpd/fsdata.h \\r
+ ../apps/httpd/fsdata.c\r
+fsdata.o: ../apps/httpd/fsdata.c\r
+httpd.o: ../apps/httpd/httpd.c ../uip/uip.h uipopt.h \\r
+ ../apps/smtp/smtp.h ../apps/httpd/httpd.h ../apps/httpd/fs.h \\r
+ ../apps/httpd/fsdata.h ../apps/httpd/cgi.h\r
+\r
+clean:\r
+ rm -f *.o *~ *core uip\r
+\r
+\r
+\r
+\r
+\r
+\r