Makefile (7984:0f75de05c240) Makefile (7985:3e932649220c)
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)
10CC=gcc
11AS=gas
13
12
14
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
13dbmentry.o: dbmentry.s
14 $(AS) $(INCLUDES) -nointrinsics -o $*.o $*.s
15
16console.o: console.c
17 $(CC) -g3 $(INCLUDES) -nointrinsics -o $*.o -c $*.c
18
19printf.o: printf.c
20 $(CC) -g3 $(INCLUDES) -nointrinsics -o $*.o -c $*.c
21
22paljtokern.s.o: paljtokern.s
25 $(CXX) -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtokern.s | \
26 $(AS) -m 21164 -o paljtokern.s.o
23 g++ -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtokern.s | \
24 gas -m 21164 -o paljtokern.s.o
27
28paljtoslave.s.o: paljtoslave.s
25
26paljtoslave.s.o: paljtoslave.s
29 $(CXX) -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \
30 $(AS) -m 21164 -o paljtoslave.s.o
27 g++ -I ../palcode -E -P -nostdinc -nostdinc++ -x c++ paljtoslave.s | \
28 gas -m 21164 -o paljtoslave.s.o
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 ---
29
30paljtokern.c: paljtokern.s.o
31 echo 'unsigned int palJToKern[] = {' > paljtokern.c
32 dis paljtokern.s.o | awk '{print "0x"$$2","}' >> paljtokern.c
33 echo "0x0\n};" >> paljtokern.c
34
35paljtoslave.c: paljtoslave.s.o
36 echo "unsigned int palJToSlave[] = {" > paljtoslave.c

--- 18 unchanged lines hidden ---