4 CFLAGS=-I../include -I../include/raw \
5 -I../lwip/src/include -I../lwip/src/include/ipv4 \
6 -nostdlib -nostdinc -fno-builtin -D__RAW__ \
7 -Wall -Werror -std=gnu99 -Wstrict-aliasing=2 \
8 -O1 -fno-merge-constants -fno-strict-aliasing
10 STUBOBJS=entry.o pagingstub-asm.o pagingstub.o
13 ../lwip/src/core/dhcp.o \
14 ../lwip/src/core/dns.o \
15 ../lwip/src/core/init.o \
16 ../lwip/src/core/ipv4/autoip.o \
17 ../lwip/src/core/ipv4/icmp.o \
18 ../lwip/src/core/ipv4/igmp.o \
19 ../lwip/src/core/ipv4/inet.o \
20 ../lwip/src/core/ipv4/inet_chksum.o \
21 ../lwip/src/core/ipv4/ip.o \
22 ../lwip/src/core/ipv4/ip_addr.o \
23 ../lwip/src/core/ipv4/ip_frag.o \
24 ../lwip/src/core/mem.o \
25 ../lwip/src/core/memp.o \
26 ../lwip/src/core/netif.o \
27 ../lwip/src/core/pbuf.o \
28 ../lwip/src/core/raw.o \
29 ../lwip/src/core/stats.o \
30 ../lwip/src/core/sys.o \
31 ../lwip/src/core/tcp.o \
32 ../lwip/src/core/tcp_in.o \
33 ../lwip/src/core/tcp_out.o \
34 ../lwip/src/core/udp.o \
35 ../lwip/src/netif/etharp.o \
36 ../lwip/src/netif/ethernetif.o
39 OBJS = ../ich2/smi.o \
40 ../ich2/smram-ich2.o \
41 ../ich2/ich2-timer.o \
76 aseg.elf: netwatch-large.lds $(STUBOBJS) $(OBJS)
77 $(CROSS)ld -o aseg.elf -T netwatch-large.lds $(STUBOBJS) $(OBJS)
80 rm -f $(OBJS) aseg.elf entry.bin entry.o
84 $(CROSS)objcopy -I binary -B i386 -O elf32-i386 $@.bin $@