From b52151e032025f97e42ddc0147c9e49fb958a948 Mon Sep 17 00:00:00 2001 From: kaashoek Date: Mon, 28 Aug 2006 18:31:33 +0000 Subject: some text in readme generate postscript printout --- Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 4a890a9..7586c19 100644 --- a/Makefile +++ b/Makefile @@ -54,6 +54,24 @@ kernel : $(OBJS) bootother.S init $(LD) -Ttext 0x100000 -e main0 -o kernel $(OBJS) -b binary bootother init $(OBJDUMP) -S kernel > kernel.asm +tags: $(OBJS) bootother.S init + etags *.S *.c + +PRINT = README\ + types.h param.h defs.h x86.h asm.h elf.h mmu.h spinlock.h\ + bootasm.S bootother.S main.c init.c spinlock.c\ + proc.h proc.c setjmp.S kalloc.c\ + syscall.h trapasm.S traps.h trap.c vectors.pl syscall.c\ + buf.h dev.h fcntl.h stat.h fd.h fs.h fsvar.h fd.c fs.c bio.c ide.c\ + pipe.c\ + mp.h ioapic.h mp.c lapic.c ioapic.c picirq.c\ + console.c\ + string.c\ + +print: $(PRINT) + a2ps --line-numbers=1 -M Letter $(PRINT) -o xv6.ps + a2ps --line-numbers=1 -M Letter $(PRINT) --toc -atoc -o xv6toc.ps + vectors.S : vectors.pl perl vectors.pl > vectors.S -- cgit v1.2.3