Makefile (7981:4fb228b84c1e) Makefile (7984:0f75de05c240)
1
2all: console
3
4DBMENTRY = fffffc0000010000
5INCLUDES = -I$(PALCODE) -I$(INCLUDEH) -I$(M5)/dev
6
7SOURDIR = ./
8PALCODE = ../palcode
9INCLUDEH = ../h
1
2all: console
3
4DBMENTRY = fffffc0000010000
5INCLUDES = -I$(PALCODE) -I$(INCLUDEH) -I$(M5)/dev
6
7SOURDIR = ./
8PALCODE = ../palcode
9INCLUDEH = ../h
10AS=alpha-elf-as
11CC=alpha-elf-gcc
12CXX=alpha-elf-$(CXX)
10
13
14
11dbmentry.o: dbmentry.s
12 $(AS) $(INCLUDES) -nointrinsics -o $*.o $*.s
13
14console.o: console.c
15 $(CC) -g3 $(INCLUDES) -nointrinsics -o $*.o -c $*.c
16
17printf.o: printf.c
18 $(CC) -g3 $(INCLUDES) -nointrinsics -o $*.o -c $*.c
19
20paljtokern.s.o: paljtokern.s
15dbmentry.o: dbmentry.s
16 $(AS) $(INCLUDES) -nointrinsics -o $*.o $*.s
17
18console.o: console.c
19 $(CC) -g3 $(INCLUDES) -nointrinsics -o $*.o -c $*.c
20
21printf.o: printf.c
22 $(CC) -g3 $(INCLUDES) -nointrinsics -o $*.o -c $*.c
23
24paljtokern.s.o: paljtokern.s
21 g++ -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtokern.s | \
22 gas -m 21164 -o paljtokern.s.o
25 $(CXX) -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtokern.s | \
26 $(AS) -m 21164 -o paljtokern.s.o
23
24paljtoslave.s.o: paljtoslave.s
27
28paljtoslave.s.o: paljtoslave.s
25 g++ -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \
26 gas -m 21164 -o paljtoslave.s.o
29 $(CXX) -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \
30 $(AS) -m 21164 -o paljtoslave.s.o
27
28paljtokern.c: paljtokern.s.o
29 echo 'unsigned int palJToKern[] = {' > paljtokern.c
30 dis paljtokern.s.o | awk '{print "0x"$$2","}' >> paljtokern.c
31 echo "0x0\n};" >> paljtokern.c
32
33paljtoslave.c: paljtoslave.s.o
34 echo "unsigned int palJToSlave[] = {" > paljtoslave.c

--- 18 unchanged lines hidden ---
31
32paljtokern.c: paljtokern.s.o
33 echo 'unsigned int palJToKern[] = {' > paljtokern.c
34 dis paljtokern.s.o | awk '{print "0x"$$2","}' >> paljtokern.c
35 echo "0x0\n};" >> paljtokern.c
36
37paljtoslave.c: paljtoslave.s.o
38 echo "unsigned int palJToSlave[] = {" > paljtoslave.c

--- 18 unchanged lines hidden ---