head     1.30;
access   ;
symbols  beta_13_0:1.25 beta_12_0:1.20 beta_11_0:1.20 beta_10_0:1.20 beta_9_0:1.18 bate_8_0:1.15 beta_8_0:1.15 beta_7_0:1.15 beta_6_0:1.15 beta_5_0:1.15 beta_4_0:1.15 beta_3_0:1.14 beta_2_0:1.13 beta_1_0:1.13 alpha_5_0:1.9 alpha_4_0:1.7 alpha_3_0:1.7 alpha_2_0:1.4 alpha_1_0:1.1;
locks    ; strict;
comment  @# @;


1.30
date     88.07.22.00.47.42;  author rpd;  state Exp;
branches ;
next     1.29;

1.29
date     88.05.02.16.30.29;  author rpd;  state Exp;
branches ;
next     1.28;

1.28
date     88.04.26.18.04.41;  author rpd;  state Exp;
branches ;
next     1.27;

1.27
date     88.03.28.14.51.51;  author rpd;  state Exp;
branches ;
next     1.26;

1.26
date     88.03.04.13.45.15;  author rpd;  state Exp;
branches ;
next     1.25;

1.25
date     88.01.29.15.25.24;  author rpd;  state Exp;
branches ;
next     1.24;

1.24
date     88.01.20.16.22.17;  author rpd;  state Exp;
branches ;
next     1.23;

1.23
date     88.01.13.17.12.28;  author rpd;  state Exp;
branches ;
next     1.22;

1.22
date     87.12.22.11.20.24;  author rpd;  state Exp;
branches ;
next     1.21;

1.21
date     87.12.19.21.12.41;  author rpd;  state Exp;
branches ;
next     1.20;

1.20
date     87.11.10.02.54.20;  author rpd;  state Exp;
branches ;
next     1.19;

1.19
date     87.11.10.00.32.14;  author rpd;  state Exp;
branches ;
next     1.18;

1.18
date     87.10.16.15.41.49;  author rpd;  state Exp;
branches ;
next     1.17;

1.17
date     87.10.15.22.56.34;  author rpd;  state Exp;
branches ;
next     1.16;

1.16
date     87.10.09.11.46.27;  author rpd;  state Exp;
branches ;
next     1.15;

1.15
date     87.06.07.02.09.26;  author rpd;  state Exp;
branches ;
next     1.14;

1.14
date     87.05.27.01.12.10;  author rpd;  state Exp;
branches ;
next     1.13;

1.13
date     87.04.02.17.50.07;  author rpd;  state Exp;
branches ;
next     1.12;

1.12
date     87.04.01.16.27.31;  author rpd;  state Exp;
branches ;
next     1.11;

1.11
date     87.03.31.22.22.47;  author rpd;  state Exp;
branches ;
next     1.10;

1.10
date     87.03.31.22.00.37;  author rpd;  state Exp;
branches ;
next     1.9;

1.9
date     87.03.13.01.43.34;  author rpd;  state Exp;
branches ;
next     1.8;

1.8
date     87.03.12.17.58.36;  author rpd;  state Exp;
branches ;
next     1.7;

1.7
date     87.02.19.00.48.25;  author rpd;  state Exp;
branches ;
next     1.6;

1.6
date     87.02.19.00.46.21;  author rpd;  state Exp;
branches ;
next     1.5;

1.5
date     87.01.31.16.28.41;  author rpd;  state Exp;
branches ;
next     1.4;

1.4
date     87.01.21.18.03.15;  author rpd;  state Exp;
branches ;
next     1.3;

1.3
date     87.01.21.03.51.49;  author rpd;  state Exp;
branches ;
next     1.2;

1.2
date     87.01.19.21.25.36;  author rpd;  state Exp;
branches ;
next     1.1;

1.1
date     87.01.16.00.06.13;  author rpd;  state Exp;
branches ;
next     ;


desc
@@


1.30
log
@moved low.h from inc to lib
@
text
@#
# Copyright 1987 Apple Computer, Inc.
# $Header: makefile,v 1.29 88/05/02 16:30:29 rpd Exp $
#
# $Log:	makefile,v $
# Revision 1.29  88/05/02  16:30:29  rpd
# Added dependencies on /usr/include/sys/slotmgr.h
# 
# Revision 1.28  88/04/26  18:04:41  rpd
# Removed depth.o and zap.o from phantom.  He uses to use the setDepth
# routine, but this is now part of VIDEO_REFRESH.
# 
# Revision 1.27  88/03/28  14:51:51  rpd
# Added macdrivers.s
# 
# Revision 1.26  88/03/04  13:45:15  rpd
# Added at.c and nbp.c
# 
# Revision 1.25  88/01/29  15:25:24  rpd
# Added deskmgrs.o
# 
# Revision 1.24  88/01/20  16:22:17  rpd
# Added atps.o and atp.o which contain .ATP and .MPP drivers
# 
# Revision 1.23  88/01/13  17:12:28  rpd
# Added devmgrs.o, which has assembler stuff for the device manager
# 
# Revision 1.22  87/12/22  11:20:24  rpd
# Added devmgr.o to shared.a
# 
# Revision 1.21  87/12/19  21:12:41  rpd
# Added aux.o for AUXDispatch trap
# 
# Revision 1.20  87/11/10  02:54:20  rpd
# Killed filemgr.o and filemgr2.o
# Added new filemgr files
# 
# Revision 1.19  87/11/10  00:32:14  rpd
# Added STRIPFLAG to make install
# 
# Revision 1.18  87/10/16  15:41:49  rpd
# Added filemgr2.o
# 
# Revision 1.17  87/10/15  22:56:34  rpd
# slot.o now depends on uinter.h
# 
# Revision 1.16  87/10/09  11:46:27  rpd
# Added soundmgr.o
# Added UINTER definition and made modules depend on it
# 
# Revision 1.15  87/06/07  02:09:26  rpd
# added shutup.o (ShutDown Manager) and scrapmgr.o (Scrap Manager)
# 
# Revision 1.14  87/05/27  01:12:10  rpd
# Removed obsolete debugs.o
# 
# Revision 1.13  87/04/02  17:50:07  rpd
# Phantom's FINAL name is /etc/toolboxdaemon
# 
# Revision 1.12  87/04/01  16:27:31  rpd
# Sigh... Now, tooldemon is called tooldaemon
# 
# Revision 1.11  87/03/31  22:22:47  rpd
# Renamed /etc/toolbox /etc/tooldemon, so there!
# 
# Revision 1.10  87/03/31  22:00:37  rpd
# Changed make install to install phantom as /etc/toolbox.
# Added dependencies for depth.c
# 
# Revision 1.9  87/03/13  01:43:34  rpd
# Fixed permissions on make install
# 
# Revision 1.8  87/03/12  17:58:36  rpd
# Added make install
# 
# Revision 1.7  87/02/19  00:48:25  rpd
# Renamed time.c to timemgr.c
# 
# Revision 1.6  87/02/19  00:46:21  rpd
# Added time.o for Time Manager stuff
# 
# Revision 1.5  87/01/31  16:28:41  rpd
# Killed 'v' option to ar.
# 
# Revision 1.4  87/01/21  18:03:15  rpd
# added maccrt0.o
# 
# Revision 1.3  87/01/21  03:51:49  rpd
# moved include of driver.h from macstuff.h to driver.c and initmac.c
# 
# Revision 1.2  87/01/19  21:25:36  rpd
# added MAIN_DIR
# added depth.c
# 
# Revision 1.1  87/01/16  00:06:13  rpd
# Initial revision
# 

# This is the makefile for the lib directory

MAIN_DIR =	..
include ../make.global

ALL =		maccrt0.o phantom shared.a
CFLAGS =	${GFLAGS}
HDRS =		macstuff.h low.h debug.h
UINTER =	/usr/include/sys/uinter.h
SLOT =		/usr/include/sys/slotmgr.h

all:		${ALL}

clean:
		rm -f ${ALL}
		rm -f *.o *.ws

test:

install:
		${INSTALL} ${STRIPFLAG} -p 0755 phantom ${DESTPATH}/etc
		mv ${DESTPATH}/etc/phantom ${DESTPATH}/etc/toolboxdaemon
		${INSTALL} maccrt0.o ${DESTPATH}/usr/lib

maccrt0.o:	maccrt0.s
		as maccrt0.s
		cp maccrt0.o /usr/lib

phantom:	phantom.o
		${CC} ${CFLAGS} -o phantom phantom.o
phantom.o:	phantom.c phantom.h ${UINTER}

shared.a:	patch.o initmac.o misc.o table.o memmgr.o \
		util.o debug.o driver.o slot.o eventmgr.o \
		zap.o timemgr.o shutup.o scrapmgr.o soundmgr.o \
		fmgr_msd.o fmgr_names.o fmgr_pb.o fmgr_uf.o fmgr_util.o \
		aux.o devmgr.o devmgrs.o atps.o deskmgrs.o \
		atp.o ddp.o nbp.o macdrivers.o launchtrap.o
		ar r $@@ $?
initmac.o:	initmac.c ${HDRS} driver.h
misc.o:		misc.c ${HDRS}
timemgr.o:	timemgr.c ${HDRS}
soundmgr.o:	soundmgr.c ${HDRS}
table.o:	table.c ${HDRS}
memmgr.o:	memmgr.c ${HDRS}
filemgr.o:	filemgr.c ${HDRS}
driver.o:	driver.c driver.h phantom.h ${UINTER}
slot.o:		slot.c ${HDRS} ${UINTER} ${SLOT}
eventmgr.o:	eventmgr.c ${HDRS}
fmgr_msd.o:	fmgr_msd.c fmgr.h ${HDRS}
fmgr_names.o:	fmgr_names.c fmgr.h ${HDRS}
fmgr_pb.o:	fmgr_pb.c fmgr.h ${HDRS}
fmgr_uf.o:	fmgr_uf.c fmgr.h ${HDRS}
fmgr_util.o:	fmgr_util.c fmgr.h ${HDRS}
zap.o:		zap.s
		/lib/cpp < zap.s > zap.i
		as -o zap.o zap.i
		rm -f zap.i
patch.o:	patch.ws
		as patch.ws -o patch.o
patch.ws:	patch.w
		${MKGLUE} < patch.w > patch.ws
aux.o:		aux.c ${INC}/aux.h
devmgr.o:	devmgr.c ${HDRS} ${SLOT}
atp.o:		atp.c ${HDRS} at.h
nbp.o:		nbp.c ${HDRS} at.h
ddp.o:		ddp.c ${HDRS} at.h
launchtrap.o:	launchtrap.c ${HDRS}

@


1.29
log
@Added dependencies on /usr/include/sys/slotmgr.h
@
text
@d3 1
a3 1
# $Header: makefile,v 1.28 88/04/26 18:04:41 rpd Exp $
d6 3
d106 1
a106 1
HDRS =		macstuff.h ${INC}/low.h debug.h
@


1.28
log
@Removed depth.o and zap.o from phantom.  He uses to use the setDepth
routine, but this is now part of VIDEO_REFRESH.
@
text
@d3 1
a3 1
# $Header: makefile,v 1.27 88/03/28 14:51:51 rpd Exp $
d6 4
d105 1
d143 1
a143 1
slot.o:		slot.c ${HDRS} ${UINTER}
d159 1
a159 1
devmgr.o:	devmgr.c ${HDRS}
@


1.27
log
@Added macdrivers.s
@
text
@d3 1
a3 1
# $Header: makefile,v 1.26 88/03/04 13:45:15 rpd Exp $
d6 3
d119 2
a120 2
phantom:	phantom.o zap.o depth.o
		${CC} ${CFLAGS} -o phantom phantom.o zap.o depth.o
d125 1
a125 1
		zap.o depth.o timemgr.o shutup.o scrapmgr.o soundmgr.o \
d128 1
a128 1
		at.o nbp.o macdrivers.o launchtrap.o
a137 1
depth.o:	depth.c phantom.h ${UINTER}
d155 3
a157 2
at.o:		at.c ${HDRS}
nbp.o:		nbp.c ${HDRS}
@


1.26
log
@Added at.c and nbp.c
@
text
@d3 1
a3 1
# $Header: makefile,v 1.25 88/01/29 15:25:24 rpd Exp $
d6 3
d125 1
a125 1
		at.o nbp.o
d155 1
@


1.25
log
@Added deskmgrs.o
@
text
@d3 1
a3 1
# $Header: makefile,v 1.24 88/01/20 16:22:17 rpd Exp $
d6 3
d121 2
a122 1
		aux.o devmgr.o devmgrs.o atps.o atp.o deskmgrs.o
d150 2
@


1.24
log
@Added atps.o and atp.o which contain .ATP and .MPP drivers
@
text
@d3 1
a3 1
# $Header: makefile,v 1.23 88/01/13 17:12:28 rpd Exp $
d6 3
d118 1
a118 1
		aux.o devmgr.o devmgrs.o atps.o atp.o
@


1.23
log
@Added devmgrs.o, which has assembler stuff for the device manager
@
text
@d3 1
a3 1
# $Header: makefile,v 1.22 87/12/22 11:20:24 rpd Exp $
d6 3
d115 1
a115 1
		aux.o devmgr.o devmgrs.o
d142 1
@


1.22
log
@Added devmgr.o to shared.a
@
text
@d3 1
a3 1
# $Header: makefile,v 1.21 87/12/19 21:12:41 rpd Exp $
d6 3
d112 1
a112 1
		aux.o devmgr.o
@


1.21
log
@Added aux.o for AUXDispatch trap
@
text
@d3 1
a3 1
# $Header: makefile,v 1.20 87/11/10 02:54:20 rpd Exp $
d6 3
d109 1
a109 1
		aux.o
@


1.20
log
@Killed filemgr.o and filemgr2.o
Added new filemgr files
@
text
@d3 1
a3 1
# $Header: makefile,v 1.19 87/11/10 00:32:14 rpd Exp $
d6 4
d105 2
a106 1
		fmgr_msd.o fmgr_names.o fmgr_pb.o fmgr_uf.o fmgr_util.o
d132 1
@


1.19
log
@Added STRIPFLAG to make install
@
text
@d3 1
a3 1
# $Header: makefile,v 1.18 87/10/16 15:41:49 rpd Exp $
d6 3
d98 4
a101 3
shared.a:	patch.o initmac.o misc.o table.o memmgr.o filemgr.o \
		filemgr2.o util.o debug.o driver.o slot.o eventmgr.o \
		zap.o depth.o timemgr.o shutup.o scrapmgr.o soundmgr.o
d114 5
@


1.18
log
@Added filemgr2.o
@
text
@d3 1
a3 1
# $Header: makefile,v 1.17 87/10/15 22:56:34 rpd Exp $
d6 3
d83 1
a83 1
		${INSTALL} -p 0755 phantom ${DESTPATH}/etc
@


1.17
log
@slot.o now depends on uinter.h
@
text
@d3 1
a3 1
# $Header: makefile,v 1.16 87/10/09 11:46:27 rpd Exp $
d6 3
d92 3
a94 3
shared.a:	patch.o initmac.o misc.o table.o memmgr.o filemgr.o util.o \
		debug.o driver.o slot.o eventmgr.o zap.o depth.o \
		timemgr.o shutup.o scrapmgr.o soundmgr.o
@


1.16
log
@Added soundmgr.o
Added UINTER definition and made modules depend on it
@
text
@d3 1
a3 1
# $Header: makefile,v 1.15 87/06/07 02:09:26 rpd Exp $
d6 4
d102 1
a102 1
slot.o:		slot.c ${HDRS}
@


1.15
log
@added shutup.o (ShutDown Manager) and scrapmgr.o (Scrap Manager)
@
text
@d3 1
a3 1
# $Header: makefile,v 1.14 87/05/27 01:12:10 rpd Exp $
d6 3
d62 1
d83 1
a83 1
phantom.o:	phantom.c phantom.h
d87 1
a87 1
		timemgr.o shutup.o scrapmgr.o
d92 1
d96 2
a97 2
driver.o:	driver.c driver.h phantom.h
depth.o:	depth.c phantom.h
@


1.14
log
@Removed obsolete debugs.o
@
text
@d3 1
a3 1
# $Header: makefile,v 1.13 87/04/02 17:50:07 rpd Exp $
d6 3
d83 1
a83 1
		timemgr.o
@


1.13
log
@Phantom's FINAL name is /etc/toolboxdaemon
@
text
@d3 1
a3 1
# $Header: makefile,v 1.12 87/04/01 16:27:31 rpd Exp $
d6 3
d79 1
a79 1
		debug.o debugs.o driver.o slot.o eventmgr.o zap.o depth.o \
@


1.12
log
@Sigh... Now, tooldemon is called tooldaemon
@
text
@d3 1
a3 1
# $Header: makefile,v 1.11 87/03/31 22:22:47 rpd Exp $
d6 3
d64 1
a64 1
		mv ${DESTPATH}/etc/phantom ${DESTPATH}/etc/tooldaemon
@


1.11
log
@Renamed /etc/toolbox /etc/tooldemon, so there!
@
text
@d3 1
a3 1
# $Header: makefile,v 1.10 87/03/31 22:00:37 rpd Exp $
d6 3
d61 1
a61 1
		mv ${DESTPATH}/etc/phantom ${DESTPATH}/etc/tooldemon
@


1.10
log
@Changed make install to install phantom as /etc/toolbox.
Added dependencies for depth.c
@
text
@d3 1
a3 1
# $Header: makefile,v 1.9 87/03/13 01:43:34 rpd Exp $
d6 4
d58 1
a58 1
		mv ${DESTPATH}/etc/phantom ${DESTPATH}/etc/toolbox
@


1.9
log
@Fixed permissions on make install
@
text
@d3 1
a3 1
# $Header: makefile,v 1.8 87/03/12 17:58:36 rpd Exp $
d6 3
d53 2
a54 1
		${INSTALL} -p 0755 phantom ${DESTPATH}/usr/lib/mac
d76 1
@


1.8
log
@Added make install
@
text
@d3 1
a3 1
# $Header: makefile,v 1.7 87/02/19 00:48:25 rpd Exp $
d6 3
d50 1
a50 1
		${INSTALL} -p 0555 phantom ${DESTPATH}/usr/lib/mac
@


1.7
log
@Renamed time.c to timemgr.c
@
text
@d3 1
a3 1
# $Header: makefile,v 1.6 87/02/19 00:46:21 rpd Exp $
d6 3
d45 4
@


1.6
log
@Added time.o for Time Manager stuff
@
text
@d3 1
a3 1
# $Header: makefile,v 1.5 87/01/31 16:28:41 rpd Exp $
d6 3
d53 1
a53 1
		time.o
d57 1
a57 1
time.o:		time.c ${HDRS}
@


1.5
log
@Killed 'v' option to ar.
@
text
@d3 1
a3 1
# $Header: makefile,v 1.4 87/01/21 18:03:15 rpd Exp $
d6 3
d49 2
a50 1
		debug.o debugs.o driver.o slot.o eventmgr.o zap.o depth.o
d54 1
@


1.4
log
@added maccrt0.o
@
text
@d3 1
a3 1
# $Header: makefile,v 1.3 87/01/21 03:51:49 rpd Exp $
d6 3
d47 1
a47 1
		ar rv $@@ $?
@


1.3
log
@moved include of driver.h from macstuff.h to driver.c and initmac.c
@
text
@d3 1
a3 1
# $Header: makefile,v 1.2 87/01/19 21:25:36 rpd Exp $
d6 3
d22 1
a22 1
ALL =		phantom shared.a
d33 4
@


1.2
log
@added MAIN_DIR
added depth.c
@
text
@d3 1
a3 1
# $Header: makefile,v 1.1 87/01/16 00:06:13 rpd Exp $
d6 4
d21 1
a21 1
HDRS =		macstuff.h ${INC}/low.h debug.h driver.h
d38 1
a38 1
initmac.o:	initmac.c ${HDRS} rom.h
d43 1
a43 1
driver.o:	driver.c driver.h phantom.h rom.h
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
# $Header: makefile,v 1.1 87/01/15 23:38:34 rpd Exp $
d6 3
d12 1
d27 2
a28 2
phantom:	phantom.o zap.o
		${CC} ${CFLAGS} -o phantom phantom.o zap.o
d32 1
a32 1
		debug.o debugs.o driver.o slot.o eventmgr.o zap.o
@
