head     1.7;
branch   ;
access   ;
symbols  ;
locks    bin:1.7; strict;
comment  @# @;


1.7
date     93.06.14.13.39.01;  author bin;  state Exp;
branches ;
next     1.6;

1.6
date     93.04.09.08.49.06;  author bin;  state Exp;
branches ;
next     1.5;

1.5
date     93.03.02.08.40.33;  author bin;  state Exp;
branches ;
next     1.4;

1.4
date     93.01.18.16.17.06;  author bin;  state Exp;
branches ;
next     1.3;

1.3
date     92.11.13.11.16.06;  author bin;  state Exp;
branches ;
next     1.2;

1.2
date     92.08.28.09.01.58;  author bin;  state Exp;
branches ;
next     1.1;

1.1
date     92.07.17.15.26.01;  author bin;  state Exp;
branches ;
next     ;


desc
@@


1.7
log
@hal: kernel 78 update
@
text
@#
# Makefile for ibm specific coherent sources and coherent images.
#

USRINC=/usr/include
SYSINC=$(USRINC)/sys
AS=exec /bin/as
CC=exec /bin/cc
ASFLAGS=-g

IOOBJ = \
	$(K386OBJ)/aha.o \
	$(K386OBJ)/aha_dsl.o \
	$(K386OBJ)/albaud.o \
	$(K386OBJ)/alx.o \
	$(K386OBJ)/asy.o \
	$(K386OBJ)/at.o \
	$(K386OBJ)/bufq.o \
	$(K386OBJ)/com1.o \
	$(K386OBJ)/com2.o \
	$(K386OBJ)/ct.o \
	$(K386OBJ)/dmareq.o \
	$(K386OBJ)/fdisk.o \
	$(K386OBJ)/fdc.o \
	$(K386OBJ)/fl386.o \
	$(K386OBJ)/hs.o \
	$(K386OBJ)/ipc.o \
	$(K386OBJ)/kb.o \
	$(K386OBJ)/kb_d.o \
	$(K386OBJ)/kb_f.o \
	$(K386OBJ)/lp.o \
	$(K386OBJ)/mm.o \
	$(K386OBJ)/mmas.o \
	$(K386OBJ)/msg.o \
	$(K386OBJ)/nkb.o \
	$(K386OBJ)/pty.o \
	$(K386OBJ)/putchar.o \
	$(K386OBJ)/rm.o \
	$(K386OBJ)/scsi.o \
	$(K386OBJ)/sem386.o \
	$(K386OBJ)/shm1.o \
	$(K386OBJ)/ss.o \
	$(K386OBJ)/tty.o \
	$(K386OBJ)/vtmm.o \
	$(K386OBJ)/vtmmas.o \
	$(K386OBJ)/vtnkb.o \
	$(K386OBJ)/vtkb.o \
	$(K386OBJ)/vtkb_d.o \
	$(K386OBJ)/vtkb_f.o \
	$(K386OBJ)/xlft.o \
	$(K386OBJ)/xla.o \
	$(K386OBJ)/xl_dec.o

all: $(IOOBJ)
	@@echo "io objects up to date"

$(K386OBJ)/aha.o: aha.c $(SYSINC)/aha154x.h
	$(CC) $(CFLAGS) -c -o $@@ aha.c

$(K386OBJ)/aha_dsl.o: aha_dsl.c $(SYSINC)/aha154x.h
	$(CC) $(CFLAGS) -c -o $@@ aha_dsl.c

$(K386OBJ)/albaud.o: albaud.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/alx.o:  alx.c \
	$(SYSINC)/clist.h $(SYSINC)/coherent.h \
	$(SYSINC)/types.h $(SYSINC)/timeout.h \
	$(SYSINC)/reg.h $(SYSINC)/param.h $(SYSINC)/fun.h $(SYSINC)/con.h
	$(CC) $(CFLAGS) -c -o $@@ alx.c

$(K386OBJ)/asy.o: asy.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/at.o:	at.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/bufq.o: bufq.c $(SYSINC)/buf.h $(SYSINC)/coherent.h
	$(CC) $(CFLAGS) -DALCOM1=1 -c -o $@@ bufq.c

$(K386OBJ)/com1.o: al.c \
		$(SYSINC)/clist.h	$(SYSINC)/coherent.h $(SYSINC)/types.h \
		$(SYSINC)/timeout.h $(SYSINC)/reg.h $(SYSINC)/param.h \
		$(SYSINC)/fun.h $(SYSINC)/con.h $(USRINC)/errno.h $(SYSINC)/reg.h \
		$(SYSINC)/ins8250.h $(SYSINC)/sched.h $(SYSINC)/stat.h \
		$(SYSINC)/timeout.h $(SYSINC)/tty.h $(SYSINC)/ktty.h $(SYSINC)/uproc.h
	$(CC) $(CFLAGS) -DALCOM1=1 -c -o $@@ al.c

$(K386OBJ)/com2.o: al.c	\
		$(SYSINC)/clist.h	$(SYSINC)/coherent.h $(SYSINC)/types.h \
		$(SYSINC)/timeout.h $(SYSINC)/reg.h $(SYSINC)/param.h \
		$(SYSINC)/fun.h $(SYSINC)/con.h $(USRINC)/errno.h $(SYSINC)/reg.h \
		$(SYSINC)/ins8250.h $(SYSINC)/sched.h $(SYSINC)/stat.h \
		$(SYSINC)/timeout.h $(SYSINC)/tty.h $(SYSINC)/ktty.h $(SYSINC)/uproc.h
	$(CC) $(CFLAGS) -DALCOM2=1 -c -o $@@ al.c

$(K386OBJ)/ct.o: ct.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/dmareq.o:			\
		$(SYSINC)/buf.h		\
		$(SYSINC)/coherent.h	$(SYSINC)/types.h $(SYSINC)/timeout.h \
					$(SYSINC)/reg.h $(SYSINC)/param.h \
					$(SYSINC)/fun.h \
		$(SYSINC)/con.h		\
		$(SYSINC)/dmac.h	\
		$(USRINC)/errno.h	\
		$(SYSINC)/io.h		\
		$(SYSINC)/proc.h	$(SYSINC)/types.h $(USRINC)/poll.h \
		$(SYSINC)/sched.h	\
		$(SYSINC)/seg.h		\
		$(SYSINC)/stat.h	\
		$(SYSINC)/uproc.h	\
		dmareq.c
	$(CC) $(CFLAGS) -c -o $@@ dmareq.c

$(K386OBJ)/fdisk.o:			\
		$(SYSINC)/buf.h		\
		$(SYSINC)/coherent.h	$(SYSINC)/types.h $(SYSINC)/timeout.h \
					$(SYSINC)/reg.h $(SYSINC)/param.h \
					$(SYSINC)/fun.h \
		$(SYSINC)/con.h		\
		$(USRINC)/errno.h	\
		$(SYSINC)/fdisk.h	\
		$(SYSINC)/inode.h	\
		$(SYSINC)/uproc.h	\
		fdisk.c
	$(CC) $(CFLAGS) -c -o $@@ fdisk.c

$(K386OBJ)/fdc.o:				\
		$(SYSINC)/buf.h		\
		$(SYSINC)/coherent.h	$(SYSINC)/types.h $(SYSINC)/timeout.h \
					$(SYSINC)/reg.h $(SYSINC)/param.h \
					$(SYSINC)/fun.h \
		$(SYSINC)/con.h		\
		$(USRINC)/errno.h	\
		$(SYSINC)/fdc765.h		\
		$(SYSINC)/uproc.h	\
		fdc.c
	$(CC) $(CFLAGS) -c -o $@@ fdc.c

$(K386OBJ)/fl386.o:				\
		$(SYSINC)/buf.h		\
		$(SYSINC)/coherent.h	$(SYSINC)/types.h $(SYSINC)/timeout.h \
					$(SYSINC)/reg.h $(SYSINC)/param.h \
					$(SYSINC)/fun.h \
		$(SYSINC)/con.h		\
		$(USRINC)/errno.h	\
		$(SYSINC)/fdioctl.h	\
		$(SYSINC)/sched.h	\
		$(SYSINC)/fdc765.h		\
		$(SYSINC)/uproc.h	\
		fl386.c
	$(CC) $(CFLAGS) -c -o $@@ fl386.c

$(K386OBJ)/fontw.o: fontgen.c
	$(CC) -i fontgen.c -o fontgen
	: ./fontgen > $*.s
	rm fontgen
	: $(AS) -gxo $@@ $*.s

$(K386OBJ)/hs.o: hs.c
	$(CC) $(CFLAGS) -c -o $@@ hs.c

$(K386OBJ)/ipc.o: ipc.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/kb.o:				\
		$(SYSINC)/coherent.h	$(SYSINC)/types.h $(SYSINC)/timeout.h \
					$(SYSINC)/reg.h $(SYSINC)/param.h \
					$(SYSINC)/fun.h \
		$(SYSINC)/con.h		\
		$(USRINC)/errno.h	\
		$(SYSINC)/reg.h	\
		$(SYSINC)/sched.h	\
		$(USRINC)/signal.h	\
		$(SYSINC)/stat.h	\
		$(SYSINC)/timeout.h	\
		$(SYSINC)/tty.h		$(SYSINC)/ktty.h \
		$(SYSINC)/uproc.h	\
		kb.c
	$(CC) $(CFLAGS) -c -o $@@ kb.c

$(K386OBJ)/vtkb.o:				\
		$(SYSINC)/coherent.h	$(SYSINC)/types.h $(SYSINC)/timeout.h \
					$(SYSINC)/reg.h $(SYSINC)/param.h \
					$(SYSINC)/fun.h \
		$(SYSINC)/con.h		\
		$(USRINC)/errno.h	\
		$(SYSINC)/reg.h	\
		$(SYSINC)/sched.h	\
		$(USRINC)/signal.h	\
		$(SYSINC)/stat.h	\
		$(SYSINC)/timeout.h	\
		$(SYSINC)/tty.h		$(SYSINC)/ktty.h \
		$(SYSINC)/uproc.h	\
		$(SYSINC)/kb.h		\
		$(SYSINC)/vt.h		\
		vtkb.c
	$(CC) $(CFLAGS) -c -o $@@ vtkb.c

$(K386OBJ)/vtkb_d.o:				\
		$(SYSINC)/coherent.h	$(SYSINC)/types.h $(SYSINC)/timeout.h \
					$(SYSINC)/reg.h $(SYSINC)/param.h \
					$(SYSINC)/fun.h \
		$(SYSINC)/con.h		\
		$(USRINC)/errno.h	\
		$(SYSINC)/reg.h	\
		$(SYSINC)/sched.h	\
		$(USRINC)/signal.h	\
		$(SYSINC)/stat.h	\
		$(SYSINC)/timeout.h	\
		$(SYSINC)/tty.h		$(SYSINC)/ktty.h \
		$(SYSINC)/uproc.h	\
		$(SYSINC)/kb.h		\
		$(SYSINC)/vt.h		\
		vtkb_d.c
	$(CC) $(CFLAGS) -c -o $@@ vtkb_d.c

$(K386OBJ)/vtkb_f.o:				\
		$(SYSINC)/coherent.h	$(SYSINC)/types.h $(SYSINC)/timeout.h \
					$(SYSINC)/reg.h $(SYSINC)/param.h \
					$(SYSINC)/fun.h \
		$(SYSINC)/con.h		\
		$(USRINC)/errno.h	\
		$(SYSINC)/reg.h	\
		$(SYSINC)/sched.h	\
		$(USRINC)/signal.h	\
		$(SYSINC)/stat.h	\
		$(SYSINC)/timeout.h	\
		$(SYSINC)/tty.h		$(SYSINC)/ktty.h \
		$(SYSINC)/uproc.h	\
		$(SYSINC)/kb.h		\
		$(SYSINC)/vt.h		\
		vtkb_f.c
	$(CC) $(CFLAGS) -c -o $@@ vtkb_f.c

$(K386OBJ)/kb_d.o: kb_d.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/kb_f.o: kb_f.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/lp.o:				\
		$(SYSINC)/coherent.h	$(SYSINC)/types.h $(SYSINC)/timeout.h \
					$(SYSINC)/reg.h $(SYSINC)/param.h \
					$(SYSINC)/fun.h \
		$(SYSINC)/con.h		\
		$(USRINC)/errno.h	\
		$(SYSINC)/reg.h	\
		$(SYSINC)/io.h		\
		$(SYSINC)/proc.h	$(SYSINC)/types.h $(USRINC)/poll.h \
		$(SYSINC)/stat.h	\
		$(SYSINC)/timeout.h	\
		$(SYSINC)/uproc.h	\
		lp386.c
	$(CC) $(CFLAGS) -c -o $@@ lp386.c

$(K386OBJ)/mm.o:				\
		$(SYSINC)/coherent.h	$(SYSINC)/types.h $(SYSINC)/timeout.h \
					$(SYSINC)/reg.h $(SYSINC)/param.h \
					$(SYSINC)/fun.h \
		$(SYSINC)/sched.h	\
		$(USRINC)/errno.h	\
		$(SYSINC)/stat.h	\
		$(SYSINC)/io.h		\
		$(SYSINC)/tty.h		$(SYSINC)/ktty.h \
		$(SYSINC)/uproc.h	\
		$(SYSINC)/timeout.h	\
		mm.c
	$(CC) $(CFLAGS) -c -o $@@ mm.c

$(K386OBJ)/mmas.o:	mmas.s
	$(AS) -g -o $@@ $<

$(K386OBJ)/msg.o: msg386.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/nkb.o:				\
		$(SYSINC)/coherent.h	$(SYSINC)/types.h $(SYSINC)/timeout.h \
					$(SYSINC)/param.h \
					$(SYSINC)/fun.h \
		$(SYSINC)/con.h		\
		$(SYSINC)/devices.h	\
		$(USRINC)/errno.h	\
		$(SYSINC)/kb.h	\
		$(SYSINC)/reg.h	\
		$(SYSINC)/seg.h	\
		$(SYSINC)/sched.h	\
		$(USRINC)/signal.h	\
		$(SYSINC)/stat.h	\
		$(SYSINC)/timeout.h	\
		$(SYSINC)/tty.h		$(SYSINC)/ktty.h \
		$(SYSINC)/uproc.h	\
		nkb.c
	$(CC) $(CFLAGS) -c -o $@@ nkb.c

$(K386OBJ)/pty.o:  pty.c \
	$(SYSINC)/stat.h $(SYSINC)/uproc.h \
	$(SYSINC)/tty.h $(SYSINC)/con.h \
	$(SYSINC)/devices.h $(USRINC)/errno.h
	$(CC) $(CFLAGS) -c -o $@@ pty.c

$(K386OBJ)/putchar.o:			\
		$(SYSINC)/coherent.h	$(SYSINC)/types.h $(SYSINC)/timeout.h \
					$(SYSINC)/reg.h $(SYSINC)/param.h \
					$(SYSINC)/fun.h \
		$(SYSINC)/asy.h		\
		$(SYSINC)/con.h		\
		$(SYSINC)/devices.h		\
		$(SYSINC)/inode.h	\
		$(SYSINC)/io.h		\
		$(SYSINC)/stat.h	\
		putchar.c
	$(CC) $(CFLAGS) -c -o $@@ putchar.c

$(K386OBJ)/rm.o: rm.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/scsi.o: scsi.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/sem386.o: sem386.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/shm1.o: shm1.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/ss.o: ss.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/tty.o: tty.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/vtmm.o: vtmm.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/vtmmas.o:	vtmmas.s
	$(AS) -g -o $@@ $<

$(K386OBJ)/vtnkb.o: vtnkb.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/xlft.o: xlft.c
	$(CC) $(CFLAGS) -VSUVAR -c -o $@@ $<

$(K386OBJ)/xl_dec.o: xl_dec.c
	$(CC) $(CFLAGS) -c -o $@@ $<

$(K386OBJ)/xla.o:	xla.s
	$(AS) -g -o $@@ $<
@


1.6
log
@kernel 75
@
text
@d24 2
a25 1
	$(K386OBJ)/fl.o \
d49 4
a52 1
	$(K386OBJ)/vtkb_f.o
d130 1
a130 1
$(K386OBJ)/fl.o:				\
a135 1
		$(SYSINC)/dmac.h	\
d137 12
a149 1
		$(SYSINC)/reg.h	\
d151 1
a151 2
		$(SYSINC)/stat.h	\
		$(SYSINC)/timeout.h	\
d153 2
a154 2
		fl.c
	$(CC) $(CFLAGS) -c -o $@@ fl.c
d256 2
a257 2
		lp.c
	$(CC) $(CFLAGS) -c -o $@@ lp.c
d343 9
@


1.5
log
@kernel 73 update
@
text
@d39 1
a39 2
	$(K386OBJ)/sem.o \
	$(K386OBJ)/semcon.o \
d310 1
a310 1
$(K386OBJ)/sem.o: sem.c
d313 1
a313 1
$(K386OBJ)/semcon.o: semcon.c
a315 3
$(K386OBJ)/shm1.o: shm1.c
	$(CC) $(CFLAGS) -c -o $@@ $<

@


1.4
log
@hal: kernel 72 update
@
text
@a8 1
CFLAGS=
@


1.3
log
@hal: kernel 68 update
@
text
@d42 1
a42 2
	$(K386OBJ)/shm.o \
	$(K386OBJ)/shmcon.o \
d318 1
a318 1
$(K386OBJ)/shm.o: shm.c
d321 1
a321 1
$(K386OBJ)/shmcon.o: shmcon.c
a323 3
$(K386OBJ)/ss.o: ss.c
	$(CC) $(CFLAGS) -c -o $@@ $<

@


1.2
log
@update by hal for kernel 61
@
text
@a34 1
	$(K386OBJ)/msgcon.o \
d108 1
a108 1
		$(SYSINC)/proc.h	$(SYSINC)/types.h $(SYSINC)/poll.h \
d242 1
a242 1
		$(SYSINC)/proc.h	$(SYSINC)/types.h $(SYSINC)/poll.h \
d266 1
a266 1
$(K386OBJ)/msg.o: msg.c
a268 3
$(K386OBJ)/msgcon.o: msgcon.c
	$(CC) $(CFLAGS) -c -o $@@ $<

@


1.1
log
@Initial revision
@
text
@d49 4
a52 1
	$(K386OBJ)/vtnkb.o
d175 54
@
