head     1.4;
branch   ;
access   ;
symbols  ;
locks    piggy:1.4; strict;
comment  @# @;


1.4
date     91.10.21.16.32.02;  author piggy;  state Exp;
branches ;
next     1.3;

1.3
date     91.10.03.15.05.40;  author piggy;  state Exp;
branches ;
next     1.2;

1.2
date     91.10.03.15.00.09;  author piggy;  state Exp;
branches ;
next     1.1;

1.1
date     91.09.30.14.44.46;  author piggy;  state Exp;
branches ;
next     ;


desc
@Makefile for Tertiary boot.
@


1.4
log
@Added fifo object to link.
@
text
@# Makefile for Tertiary boot code for COHERENT
# Targets are stand-alone bootable programs.
#
# La Monte H. Yarroll <piggy@@mwc.com>, September 1991

DESTDIR=/

OBJECTS=Startup.o bootlib.o cbootlib.o diskio.o indirect.o intcall.o monitor.o \
	l.out.o coff.o fifo.o
SOURCES=Startup.s bootlib.s cbootlib.c diskio.c indirect.c intcall.m monitor.c \
	l.out.c coff.c fifo.c
LIBS=-lc
LD=ld
INCLUDE=-I/usr/include/coff
CFLAGS=$(INCLUDE)

# NB: OBJECTS must come first in the link line, so the entry
# point in Startup lines up correctly.
tboot: tboot.o builtin.o $(OBJECTS)
	$(LD) -o tboot $(OBJECTS) tboot.o builtin.o $(LIBS)

hello: hello.o $(OBJECTS) 
	$(LD) -o hello $(OBJECTS) hello.o $(LIBS)

dir: dir.o $(OBJECTS) 
	$(LD) -o dir $(OBJECTS) dir.o $(LIBS)

clean:
	rm -f l.out *.o

install:
	cp tboot $(DESTDIR)
	chown root $(DESTDIR)/tboot
	chgrp daemon $(DESTDIR)/tboot
	chmod ugo=r $(DESTDIR)/tboot
@


1.3
log
@Added install target.
@
text
@d9 1
a9 1
	l.out.o coff.o
d11 1
a11 1
	l.out.c coff.c
@


1.2
log
@Support for l.out moved to seperate file.
@
text
@d6 2
d30 6
@


1.1
log
@Initial revision
@
text
@d6 4
a9 2
OBJECTS=Startup.o bootlib.o cbootlib.o diskio.o indirect.o intcall.o monitor.o
SOURCES=Startup.s bootlib.s cbootlib.c diskio.c indirect.c intcall.m monitor.c
d12 2
a14 1

@
