Makefile (7997:b91bdbee66c3) Makefile (8003:7408e4b599ae)
1DBMENTRY = fffffc0000010000
2INCLUDES = -I$(PALCODE) -I$(INCLUDEH) -I$(M5)/dev
3
4SOURDIR = ./
5PALCODE = ../palcode
6INCLUDEH = ../h
7
8ARCHNAME=$(shell uname -m)

--- 6 unchanged lines hidden (view full) ---

15LD=alpha-unknown-linux-gnu-ld
16endif
17
18### Make sure that the M5 variable is set ###
19ifndef M5
20$(error The M5 variable must be set)
21endif
22
1DBMENTRY = fffffc0000010000
2INCLUDES = -I$(PALCODE) -I$(INCLUDEH) -I$(M5)/dev
3
4SOURDIR = ./
5PALCODE = ../palcode
6INCLUDEH = ../h
7
8ARCHNAME=$(shell uname -m)

--- 6 unchanged lines hidden (view full) ---

15LD=alpha-unknown-linux-gnu-ld
16endif
17
18### Make sure that the M5 variable is set ###
19ifndef M5
20$(error The M5 variable must be set)
21endif
22
23all: console
23all: console_tl console_ts
24
25dbmentry.o: dbmentry.s
26 g++ -I ../h -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ dbmentry.s | \
27 $(AS) -m 21164 -o dbmentry.s.o
28
24
25dbmentry.o: dbmentry.s
26 g++ -I ../h -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ dbmentry.s | \
27 $(AS) -m 21164 -o dbmentry.s.o
28
29console.o: console.c
30 $(CC) -g3 $(INCLUDES) -D _TIME_T -nostdinc++ -o $*.o -c $*.c
29console_ts.o: console.c
30 $(CC) -g3 $(INCLUDES) -D _TIME_T -D TSUNAMI -nostdinc++ -o console_ts.o -c console.c
31
31
32console_tl.o: console.c
33 $(CC) -g3 $(INCLUDES) -D _TIME_T -D TLASER -nostdinc++ -o console_tl.o -c console.c
34
32printf.o: printf.c
33 $(CC) -g3 $(INCLUDES) -nostdinc++ -o $*.o -c $*.c
34
35paljtokern.s.o: paljtokern.s
36 g++ -I ../h -E -P -nostdinc -nostdinc++ -x c++ paljtokern.s | \
37 $(AS) -m 21164 -o paljtokern.s.o
38
39paljtoslave.s.o: paljtoslave.s
40 g++ -I ../h -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \
41 $(AS) -m 21164 -o paljtoslave.s.o
42
35printf.o: printf.c
36 $(CC) -g3 $(INCLUDES) -nostdinc++ -o $*.o -c $*.c
37
38paljtokern.s.o: paljtokern.s
39 g++ -I ../h -E -P -nostdinc -nostdinc++ -x c++ paljtokern.s | \
40 $(AS) -m 21164 -o paljtokern.s.o
41
42paljtoslave.s.o: paljtoslave.s
43 g++ -I ../h -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \
44 $(AS) -m 21164 -o paljtoslave.s.o
45
43console: console.o dbmentry.o printf.o paljtokern.s.o paljtoslave.s.o
44 $(LD) -o console -N -Ttext $(DBMENTRY) -non_shared \
45 dbmentry.s.o console.o printf.o paljtokern.s.o paljtoslave.s.o -lc
46console_ts: console_ts.o dbmentry.o printf.o paljtokern.s.o paljtoslave.s.o
47 $(LD) -o console_ts -N -Ttext $(DBMENTRY) -non_shared \
48 dbmentry.s.o console_ts.o printf.o paljtokern.s.o paljtoslave.s.o -lc
46
49
50console_tl: console_tl.o dbmentry.o printf.o paljtokern.s.o paljtoslave.s.o
51 $(LD) -o console_tl -N -Ttext $(DBMENTRY) -non_shared \
52 dbmentry.s.o console_tl.o printf.o paljtokern.s.o paljtoslave.s.o -lc
53
47install: console
48 scp console zizzer.eecs.umich.edu:/z/m5/system/testing/binaries/console
49
50clean:
51 rm -f *.o console *.strip paljtokern.c paljtoslave.c
54install: console
55 scp console zizzer.eecs.umich.edu:/z/m5/system/testing/binaries/console
56
57clean:
58 rm -f *.o console *.strip paljtokern.c paljtoslave.c