]> Joshua Wise's Git repositories - netwatch.git/blame - netwatch/Makefile
First pass of 410watch UI code.
[netwatch.git] / netwatch / Makefile
CommitLineData
d9b82f8c 1CC=gcc-4.3
9e2a82e4
JP
2CFLAGS=-I../include -I../include/raw \
3 -I../lwip/src/include -I../lwip/src/include/ipv4 \
4 -nostdlib -nostdinc -fno-builtin -D__RAW__ \
d9b82f8c
JP
5 -Wall -Werror -std=gnu99 -Wstrict-aliasing=2 \
6 -O1 -fno-merge-constants -fno-strict-aliasing
9e2a82e4
JP
7
8STUBOBJS=entry.o pagingstub-asm.o pagingstub.o
9
722e5aea
JP
10LWIP_OBJS = \
11 ../lwip/src/core/dhcp.o \
12 ../lwip/src/core/dns.o \
13 ../lwip/src/core/init.o \
14 ../lwip/src/core/ipv4/autoip.o \
15 ../lwip/src/core/ipv4/icmp.o \
16 ../lwip/src/core/ipv4/igmp.o \
17 ../lwip/src/core/ipv4/inet.o \
18 ../lwip/src/core/ipv4/inet_chksum.o \
19 ../lwip/src/core/ipv4/ip.o \
20 ../lwip/src/core/ipv4/ip_addr.o \
21 ../lwip/src/core/ipv4/ip_frag.o \
22 ../lwip/src/core/mem.o \
23 ../lwip/src/core/memp.o \
24 ../lwip/src/core/netif.o \
25 ../lwip/src/core/pbuf.o \
26 ../lwip/src/core/raw.o \
27 ../lwip/src/core/stats.o \
28 ../lwip/src/core/sys.o \
29 ../lwip/src/core/tcp.o \
30 ../lwip/src/core/tcp_in.o \
31 ../lwip/src/core/tcp_out.o \
32 ../lwip/src/core/udp.o \
33 ../lwip/src/netif/etharp.o \
34 ../lwip/src/netif/ethernetif.o
35
36
37OBJS = ../ich2/smi.o \
38 ../ich2/smram-ich2.o \
39 ../ich2/ich2-timer.o \
40 ../pci/pci.o \
41 ../pci/pci-raw.o \
42 ../pci/pci-bother.o \
43 ../net/net.o \
6f9272bd
JW
44 ../net/http/fs.o \
45 ../net/http/httpd.o \
722e5aea 46 ../net/3c90x.o \
7da36fbd 47 ../net/rfb.o \
34a7d0d2
JW
48 ../video/tnt2.o \
49 ../video/fb.o \
66cd7e82 50 ../video/generic.o \
cdde55f5 51 ../video/text.o \
34a7d0d2 52 drivers.o \
722e5aea
JP
53 ../lib/minilib.o \
54 ../lib/doprnt.o \
55 ../lib/sprintf.o \
56 ../lib/console.o \
57 ../lib/serial.o \
74032dae 58 ../lib/crc32.o \
2745bcf9
JW
59 ../lib/demap.o \
60 ../lib/state.o \
61 ../lib/cpuid.o \
6093edb5
JW
62 ../cs410/cs410.o \
63 ../cs410/keyb.o \
64 ../cs410/keyhelp.o \
e7804391 65 keyboard.o \
3116da4b 66 packet.o \
722e5aea
JP
67 $(LWIP_OBJS) \
68 smi.o \
69 vga-overlay.o \
70 main.o \
ed22a699 71 traps.o \
722e5aea
JP
72 firstrun.o
73
9e2a82e4
JP
74
75all: aseg.elf
76
2745bcf9
JW
77aseg.elf: netwatch-large.lds $(STUBOBJS) $(OBJS)
78 ld -o aseg.elf -T netwatch-large.lds $(STUBOBJS) $(OBJS)
9e2a82e4
JP
79
80clean:
81 rm -f $(OBJS) aseg.elf entry.bin entry.o
82
83%.o: %.asm
84 nasm -o $@.bin $<
85 objcopy -I binary -B i386 -O elf32-i386 $@.bin $@
86 rm -f $@.bin
This page took 0.037127 seconds and 4 git commands to generate.