head     1.20;
access   ;
symbols  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.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.20
log
@Killed filemgr.o and filemgr2.o
Added new filemgr files
@
text
@#
# Copyright 1987 Apple Computer, Inc.
# $Header: makefile,v 1.19 87/11/10 00:32:14 rpd Exp $
#
# $Log:	makefile,v $
# 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 ${INC}/low.h debug.h
UINTER =	/usr/include/sys/uinter.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 zap.o depth.o
		${CC} ${CFLAGS} -o phantom phantom.o zap.o depth.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 depth.o timemgr.o shutup.o scrapmgr.o soundmgr.o \
		fmgr_msd.o fmgr_names.o fmgr_pb.o fmgr_uf.o fmgr_util.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}
depth.o:	depth.c phantom.h ${UINTER}
slot.o:		slot.c ${HDRS} ${UINTER}
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

@


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
@
