OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [freertos-6.1.1/] [Demo/] [uIP_Demo_IAR_ARM7/] [uip/] [Makefile] - Blame information for rev 794

Go to most recent revision | Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.