]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/uIP_Demo_Rowley_ARM7/uip/Makefile
Add FreeRTOS-Plus directory.
[freertos] / FreeRTOS / Demo / uIP_Demo_Rowley_ARM7 / uip / Makefile
1 # Copyright (c) 2001, Adam Dunkels.\r
2 # All rights reserved. \r
3 #\r
4 # Redistribution and use in source and binary forms, with or without \r
5 # modification, are permitted provided that the following conditions \r
6 # are met: \r
7 # 1. Redistributions of source code must retain the above copyright \r
8 #    notice, this list of conditions and the following disclaimer. \r
9 # 2. Redistributions in binary form must reproduce the above copyright \r
10 #    notice, this list of conditions and the following disclaimer in the \r
11 #    documentation and/or other materials provided with the distribution. \r
12 # 3. All advertising materials mentioning features or use of this software\r
13 #    must display the following acknowledgement:\r
14 #      This product includes software developed by Adam Dunkels.\r
15 # 4. The name of the author may not be used to endorse or promote\r
16 #    products derived from this software without specific prior\r
17 #    written permission.  \r
18 #\r
19 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS\r
20 # OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\r
21 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r
22 # ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY\r
23 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\r
24 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE\r
25 # GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r
26 # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\r
27 # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\r
28 # NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\r
29 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  \r
30 #\r
31 # This file is part of the uIP TCP/IP stack.\r
32 #\r
33 # $Id: Makefile,v 1.8.2.2 2003/10/04 22:54:17 adam Exp $\r
34 #\r
35 \r
36 CC=gcc\r
37 CFLAGS=-Wall -g -I../uip -I. -I../apps/httpd -I../apps/resolv -I../apps/webclient -I../apps/smtp  -I../apps/telnet -fpack-struct\r
38 \r
39 %.o:\r
40         $(CC) $(CFLAGS) -c $(<:.o=.c)\r
41 \r
42 \r
43 uip: uip.o uip_arch.o tapdev.o httpd.o main.o fs.o uip_arp.o cgi.o \r
44 \r
45 tapdev.o: tapdev.c uipopt.h\r
46 main.o: main.c ../uip/uip.h uipopt.h ../apps/httpd/httpd.h \\r
47  tapdev.h\r
48 uip_arch.o: uip_arch.c ../uip/uip_arch.h ../uip/uip.h uipopt.h \\r
49  ../apps/httpd/httpd.h \r
50 uip.o: ../uip/uip.c ../uip/uip.h uipopt.h ../apps/httpd/httpd.h \r
51 \r
52 uip_arp.o: ../uip/uip_arp.c ../uip/uip_arp.h ../uip/uip.h uipopt.h \\r
53  ../apps/httpd/httpd.h\r
54         $(CC) -o uip_arp.o $(CFLAGS) -fpack-struct -c ../uip/uip_arp.c\r
55 \r
56 \r
57 cgi.o: ../apps/httpd/cgi.c ../uip/uip.h uipopt.h ../apps/smtp/smtp.h \\r
58  ../apps/httpd/cgi.h ../apps/httpd/httpd.h ../apps/httpd/fs.h\r
59 fs.o: ../apps/httpd/fs.c ../uip/uip.h uipopt.h ../apps/smtp/smtp.h \\r
60  ../apps/httpd/httpd.h ../apps/httpd/fs.h ../apps/httpd/fsdata.h \\r
61  ../apps/httpd/fsdata.c\r
62 fsdata.o: ../apps/httpd/fsdata.c\r
63 httpd.o: ../apps/httpd/httpd.c ../uip/uip.h uipopt.h \\r
64  ../apps/smtp/smtp.h ../apps/httpd/httpd.h ../apps/httpd/fs.h \\r
65  ../apps/httpd/fsdata.h ../apps/httpd/cgi.h\r
66 \r
67 clean:\r
68         rm -f *.o *~ *core uip\r
69 \r
70 \r
71 \r
72 \r
73 \r
74 \r