Annotation of OpenXM_contrib/pari/src/kernel/sparcv7/Makefile.SH, Revision 1.1.1.1
1.1 maekawa 1: # Level 0 kernel is "asm extern"
2: # Level 1 kernel is the C generic one
3: level0=$src/kernel/none/asm0.h
4: level1=$src/kernel/none/level1.h
5: kernel1=$src/kernel/$asmarch/level0.S
6: if test "$osname" = "nextstep" -o "$osname" = "linux" -o "$gnuas" = "yes";
7: then
8: cat >> $file << EOT
9: kernel1.s: $kernel1
10: \$(CPP) $KERNELCPPFLAGS $kernel1 > \$@
11: EOT
12: kernel1=kernel1.s
13: fi
14:
15: cat >> $file << EOT
16: pariinl.h: $level0 $level1
17: cat $level0 $level1 > \$@
18: kernel.o: $kernel1
19: \$(AS) \$(ASFLAGS) -o \$@ $kernel1
20: mp.o: .headers $src/kernel/none/mp.c
21: \$(CC) -c \$(CFLAGS) \$(CPPFLAGS) -o \$@ $src/kernel/none/mp.c
22: mpinl.o: .headers $level1
23: \$(CC) -c \$(CFLAGS) \$(CPPFLAGS) -o \$@ $src/kernel/none/level1.c
24:
25: EOT
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>