#
# Copyright 1987 Apple Computer, Inc.
# $Header: makefile,v 1.29 88/09/16 16:14:07 rpd Exp $
#
# $Log:	makefile,v $
# Revision 1.29  88/09/16  16:14:07  rpd
# Now, only store one copy of System in data directory.  At install
# time, we install it twice: once as System and once as System.back.
# 
# Revision 1.28  88/07/22  11:45:14  rpd
# Made the print drivers read-write so we can Choose printers
# 
# Revision 1.27  88/07/21  23:44:10  rpd
# Killed underscore characters in AppleTalk printer driver names
# 
# Revision 1.26  88/06/16  12:36:26  rpd
# Added System.back and Scrapbook File.  Moved the ln commands for
# tl to the launch directory's makefile.
# 
# Revision 1.25  88/05/24  13:20:06  rpd
# Now, cdev's etc. get installed in the system folder
# 
# Revision 1.24  88/04/17  14:33:04  rpd
# Added SYSFOLDER variable
# 
# Revision 1.23  88/03/18  14:13:09  rpd
# Added AppleTalk_Imag and LQ_AppleTalk_I
# 
# Revision 1.22  88/03/04  21:54:07  rpd
# Changed Laser Prep to Laser_Prep until installation
# 
# Revision 1.21  88/03/04  18:07:58  rpd
# Added General, LaserWriter, and Laser Prep
# 
# Revision 1.20  87/11/18  18:29:17  rpd
# Added "make read" to read floppy with mpw stuff
# 
# Revision 1.19  87/10/16  15:44:01  rpd
# Changed *.res to %*
# 
# Revision 1.18  87/10/15  22:57:20  rpd
# Killed slot.res as it is no longer used
# 
# Revision 1.17  87/07/19  19:40:47  rpd
# Removed installation of /dev/uinter0.  This is now done by autoconfig
# 
# Revision 1.16  87/06/18  17:11:15  rpd
# Added "System" to the list of installed files.  This is the data fork of the
# standard system file.  It contains little useful data, but has some copyrights.
# 
# Revision 1.15  87/06/17  23:10:40  rpd
# Moved text files into their own directory named "text".
# Now, the only file in this directory under RCS is the makefile.
# 
# Revision 1.14  87/06/13  14:47:16  rpd
# Changed Types.r to types.r
# 
# Revision 1.13  87/06/13  01:09:42  rpd
# Added SysErrs.Err, which is needed for mpw tools
# Fixed installation of term/makefile
# Added installation of rez/derez complete with links to tl
# Added installation of files in /usr/lib/mac/rincludes -- used by rez
# 
# Revision 1.12  87/06/11  01:52:08  rpd
# Removed "System" from make install -- new file manager won't need it
# Added makefile for /usr/lib/mac/examples/term to make install
# 
# Revision 1.11  87/06/07  02:15:43  rpd
# removed installation of empty.res.  Now that settc will create resource
# forks, it is unnecessary.
# 
# Revision 1.10  87/06/07  02:14:15  rpd
# removed redundant installation of make.sample (oops)
# 
# Revision 1.9  87/06/04  22:30:58  rpd
# Killed screenrestore
# 
# Revision 1.8  87/05/25  19:01:32  rpd
# Added System (temporary)
# Changed to b3.0
# 
# Revision 1.7  87/05/22  14:08:33  rpd
# Moved example stuff into /usr/lib/mac/examples
# 
# Revision 1.6  87/04/30  09:48:56  rpd
# Changed README to b2.0
# 
# Revision 1.5  87/04/02  17:51:38  rpd
# Added screenrestore to make install
# 
# Revision 1.4  87/04/02  13:42:25  rpd
# added empty.res to /usr/lib/mac in make install
# 
# Revision 1.3  87/04/01  15:03:55  rpd
# changed README to b1.0
# 
# Revision 1.2  87/03/31  22:11:24  rpd
# Changed to README.a6.0
# 
# Revision 1.1  87/03/13  01:49:08  rpd
# Initial revision
# 

# This is makefile for the data directory

MAIN_DIR =	..
include ../make.global

all:

clean:

test:

install:
	${INSTALL} -p 0444 System ${DESTPATH}/${SYSFOLDER}
	mv ${DESTPATH}/${SYSFOLDER}/System ${DESTPATH}/${SYSFOLDER}/System.back
	${INSTALL} -p 0666 System Scrapbook_File LaserWriter AppleTalk_Imag \
		LQ_AppleTalk_I ${DESTPATH}/${SYSFOLDER}
	mv ${DESTPATH}/${SYSFOLDER}/Scrapbook_File \
		${DESTPATH}/${SYSFOLDER}/Scrapbook\ File
	${INSTALL} SysErrs.Err General Laser_Prep \
		Monitors Color ${DESTPATH}/${SYSFOLDER}
	mv ${DESTPATH}/${SYSFOLDER}/Laser_Prep \
		${DESTPATH}/${SYSFOLDER}/Laser\ Prep
	mv ${DESTPATH}/${SYSFOLDER}/AppleTalk_Imag \
		${DESTPATH}/${SYSFOLDER}/AppleTalk\ ImageWriter
	mv ${DESTPATH}/${SYSFOLDER}/LQ_AppleTalk_I \
		${DESTPATH}/${SYSFOLDER}/LQ\ AppleTalk\ ImageWriter
	${INSTALL} %rez %derez ${DESTPATH}/usr/toolboxbin

# "make read" uses mfs to read a new system file and mpw library from
# floppy 0.

read:
	mfs xs System
	mfs x mpwlib.o
	rm -f %mpwlib.o mpwlib.obj
	mv mpwlib.o mpwlib.obj

