head     1.24;
access   ;
symbols  beta_12_0:1.24 beta_11_0:1.24 beta_10_0:1.24 beta_9_0:1.23 bate_8_0:1.22 beta_8_0:1.22 beta_7_0:1.20 beta_6_0:1.20 beta_5_0:1.19 beta_4_0:1.18 beta_3_0:1.13 beta_2_0:1.12 beta_1_0:1.11 alpha_5_0:1.9 alpha_4_0:1.4 alpha_3_0:1.4 alpha_2_0:1.4 alpha_1_0:1.1;
locks    ; strict;
comment  @# @;


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

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

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

1.21
date     87.08.24.15.10.16;  author rootcsh;  state Exp;
branches ;
next     1.20;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


desc
@@


1.24
log
@Added catch program
@
text
@#
# Copyright 1987 Apple Computer, Inc.
# $Header: makefile,v 1.23 87/10/16 15:38:56 rpd Exp $
#
# $Log:	makefile,v $
# Revision 1.23  87/10/16  15:38:56  rpd
# Removed mkslot
# Changed *.res to %*
# 
# Revision 1.22  87/09/03  20:40:55  rpd
# Added term_utmp.c to make install
# Removed -DADM5 from term cc commands
# 
# Revision 1.21  87/08/24  15:10:16  rootcsh
# Added term_utmp.o
# 
# Revision 1.20  87/07/19  19:27:33  rpd
# Changed UNIX to A/UX
# Moved rez rule to make.global
# 
# Revision 1.19  87/07/03  03:19:29  rpd
# Added term_tile.c and term_save.c
# 
# Revision 1.18  87/06/18  01:01:30  rpd
# Added term_tty.h to the stuff that gets installed as term source
# 
# Revision 1.17  87/06/17  23:01:31  rpd
# Killed the te program.
# Added stuff to use rez to produce resource files.
# 
# Revision 1.16  87/06/13  14:32:43  rpd
# Now, install sample.r and term.r in the example application stuff
# We use to install sample.res and term.res, but now rez can build these
# 
# Revision 1.15  87/06/13  00:50:56  rpd
# Removed launch, he now has his own directory
# 
# Revision 1.14  87/06/11  01:41:05  rpd
# Took fkey out of list of things to install
# Added term source to list of things to install
# 
# Revision 1.13  87/05/22  13:37:12  rpd
# Moved example software into /usr/lib/mac/examples
# 
# Revision 1.12  87/04/30  08:39:23  rpd
# Added fkey
# 
# Revision 1.11  87/04/02  17:45:04  rpd
# Changed /usr/local/bin to /usr/toolboxbin
# Added copy of sample.res to /usr/lib/mac to go with sample.c
# 
# Revision 1.10  87/03/31  21:45:23  rpd
# Changed make install to put executables in /usr/local/bin
# 
# Revision 1.9  87/03/13  14:30:06  rpd
# Fixed settc entry -- it doesn't use the toolbox
# 
# Revision 1.8  87/03/13  01:33:35  rpd
# Fixed permissions in make install
# 
# Revision 1.7  87/03/12  21:25:35  rpd
# Added settc to list of files to install
# 
# Revision 1.6  87/03/12  21:24:20  rpd
# Added settc
# 
# Revision 1.5  87/03/12  17:47:11  rpd
# Changed terminal emulated by term to ADM5 from ADM3A
# Added make install
# 
# Revision 1.4  87/01/26  02:22:03  rpd
# Removed unnecessary "-ltermcap" from term build
# 
# Revision 1.3  87/01/22  04:19:24  rpd
# added launch
# 
# Revision 1.2  87/01/19  21:08:55  rpd
# added MAIN_DIR
# added mkslot
# 
# Revision 1.1  87/01/15  23:43:49  rpd
# Initial revision
# 

# This is the makefile for the misc directory

MAIN_DIR =	..
include ../make.global

TEST =		qdsamp sample frank term list
NTEST =		settc fkey rcnvt catch %sample %frank %term %list %fkey %catch
ALL =		${TEST} ${NTEST}
CFLAGS =	${GFLAGS} -DAUX

all:		${ALL}

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

test:
		for i in ${TEST}; do \
		    echo $$i; \
		    $$i; \
		done

install:
		${INSTALL} ${STRIPFLAG} -p 0755 qdsamp sample term settc rcnvt \
			${DESTPATH}/usr/toolboxbin
		${INSTALL} %sample %term \
			${DESTPATH}/usr/toolboxbin
		${INSTALL} sample.r sample.c qdsamp.c \
			${DESTPATH}/usr/lib/mac/examples
		${INSTALL} term.r term.c term.h term_tty.c term_tty.h \
			term_out.c term_em.c term_tile.c term_save.c \
			term_utmp.c \
			${DESTPATH}/usr/lib/mac/examples/term

fkey:		fkey.o ${LIB}
		${LD} -o fkey fkey.o ${LDFLAGS}
%fkey:		fkey.r
		${REZ} fkey.r
		mv %Rez.out %fkey
		rm -f Rez.out

qdsamp:		qdsamp.o ${LIB}
		${LD} -o qdsamp qdsamp.o ${LDFLAGS}

sample:		sample.o ${LIB}
		${LD} -o sample sample.o ${LDFLAGS}
%sample:	sample.r
		${REZ} sample.r
		mv %Rez.out %sample
		rm -f Rez.out

frank:		frank.o menuact.o ${LIB}
		${LD} -o frank frank.o menuact.o ${LDFLAGS}
%frank:		frank.r
		${REZ} frank.r
		mv %Rez.out %frank
		rm -f Rez.out

frank.o:	frank.c frank.h
menuact.o:	menuact.c menuact.h

TERM_OBJS =	term.o term_tty.o term_out.o term_em.o term_tile.o term_save.o\
		term_utmp.o
term:		${TERM_OBJS} ${LIB}
		${LD} -o term ${TERM_OBJS} ${LDFLAGS}
%term:		term.r
		${REZ} term.r
		mv %Rez.out %term
		rm -f Rez.out

term.o:		term.c term.h term_tty.h
term_out.o:	term_out.c term.h term_tty.h
term_em.o:	term_em.c term.h term_tty.h
term_tile.o:	term_tile.c term.h term_tty.h
term_save.o:	term_save.c term.h term_tty.h
term_tty.o:	term_tty.c term_tty.h

list:		list.o ${LIB}
		${LD} -o list list.o ${LDFLAGS}
%list:		list.r
		${REZ} list.r
		mv %Rez.out %list
		rm -f Rez.out


settc:		settc.o ${LIB}
		${LD} -o settc settc.o ${LDFLAGS}

rcnvt:		rcnvt.o
		${CC} ${CFLAGS} -o rcnvt rcnvt.o

catch:		catch.o ${LIB}
		${LD} -o catch catch.o ${LDFLAGS}
%catch:		catch.r
		${REZ} catch.r
		mv %Rez.out %catch
		rm -f Rez.out

@


1.23
log
@Removed mkslot
Changed *.res to %*
@
text
@d3 1
a3 1
# $Header: makefile,v 1.22 87/09/03 20:40:55 rpd Exp $
d6 4
d91 1
a91 1
NTEST =		settc fkey rcnvt %sample %frank %term %list %fkey
d108 1
a108 1
		${INSTALL} -p 0755 qdsamp sample term settc rcnvt \
a135 1

d175 7
@


1.22
log
@Added term_utmp.c to make install
Removed -DADM5 from term cc commands
@
text
@d3 1
a3 1
# $Header: makefile,v 1.21 87/08/24 15:10:16 rootcsh Exp $
d6 4
d87 1
a87 1
NTEST =		mkslot settc fkey sample.res frank.res term.res list.res fkey.res
d104 1
a104 1
		${INSTALL} -p 0755 qdsamp sample term settc \
d106 1
a106 1
		${INSTALL} sample.res term.res \
d117 4
d127 4
d132 1
d135 5
d147 5
d161 4
a165 2
mkslot:		mkslot.o ${LIB}
		${LD} -o mkslot mkslot.o ${LDFLAGS}
d167 5
a171 2
settc:		settc.o
		cc -o settc settc.o
@


1.21
log
@Added term_utmp.o
@
text
@d3 1
a3 1
# $Header: makefile,v 1.20 87/07/19 19:27:33 rpd Exp $
d6 3
d108 1
a126 1
TERMFLAGS =	-DADM5
a129 1
		${CC} -c ${TERMFLAGS} ${CFLAGS} term.c
a130 1
		${CC} -c ${TERMFLAGS} ${CFLAGS} term_out.c
a131 1
		${CC} -c ${TERMFLAGS} ${CFLAGS} term_em.c
a132 1
		${CC} -c ${TERMFLAGS} ${CFLAGS} term_tile.c
a133 1
		${CC} -c ${TERMFLAGS} ${CFLAGS} term_save.c
a134 1
		${CC} -c ${TERMFLAGS} ${CFLAGS} term_tty.c
@


1.20
log
@Changed UNIX to A/UX
Moved rez rule to make.global
@
text
@d3 1
a3 1
# $Header: makefile,v 1.19 87/07/03 03:19:29 rpd Exp $
d6 4
d121 2
a122 1
TERM_OBJS =	term.o term_tty.o term_out.o term_em.o term_tile.o term_save.o
@


1.19
log
@Added term_tile.c and term_save.c
@
text
@d3 1
a3 1
# $Header: makefile,v 1.18 87/06/18 01:01:30 rpd Exp $
d6 3
d78 1
a78 8
CFLAGS =	${GFLAGS} -DUNIX

# rule for "compiling" .r files to produce .res files
.SUFFIXES:	.res .r
.r.res:
		rez -i /usr/lib/mac/rincludes $*.r
		mv Rez.out.res $*.res
		rm -f Rez.out
@


1.18
log
@Added term_tty.h to the stuff that gets installed as term source
@
text
@d3 1
a3 1
# $Header: makefile,v 1.17 87/06/17 23:01:31 rpd Exp $
d6 3
d104 1
a104 1
			term_out.c term_em.c \
d121 1
a121 1
TERM_OBJS =	term.o term_tty.o term_out.o term_em.o
d131 4
@


1.17
log
@Killed the te program.
Added stuff to use rez to produce resource files.
@
text
@d3 1
a3 1
# $Header: makefile,v 1.16 87/06/13 14:32:43 rpd Exp $
d6 4
d100 1
a100 1
		${INSTALL} term.r term.c term.h term_tty.c \
@


1.16
log
@Now, install sample.r and term.r in the example application stuff
We use to install sample.res and term.res, but now rez can build these
@
text
@d3 1
a3 1
# $Header: makefile,v 1.15 87/06/13 00:50:56 rpd Exp $
d6 4
d65 2
a66 2
TEST =		qdsamp sample frank term te list
NTEST =		mkslot settc fkey
d70 7
a125 3

te:		te.o ${LIB}
		${LD} -o te te.o ${LDFLAGS}
@


1.15
log
@Removed launch, he now has his own directory
@
text
@d3 1
a3 1
# $Header: makefile,v 1.14 87/06/11 01:41:05 rpd Exp $
d6 3
d83 1
a83 1
		${INSTALL} sample.res sample.c qdsamp.c \
d85 1
a85 1
		${INSTALL} term.res term.c term.h term_tty.c \
@


1.14
log
@Took fkey out of list of things to install
Added term source to list of things to install
@
text
@d3 1
a3 1
# $Header: makefile,v 1.13 87/05/22 13:37:12 rpd Exp $
d6 4
d59 1
a59 1
NTEST =		launch mkslot settc fkey
d76 1
a76 1
		${INSTALL} -p 0755 qdsamp sample term launch settc \
a120 3

launch:		launch.o launchasm.o ${LIB}
		${LD} -o launch launch.o launchasm.o ${LDFLAGS}
@


1.13
log
@Moved example software into /usr/lib/mac/examples
@
text
@d3 1
a3 1
# $Header: makefile,v 1.12 87/04/30 08:39:23 rpd Exp $
d6 3
d72 1
a72 1
		${INSTALL} -p 0755 qdsamp sample term launch settc fkey \
d74 1
a74 1
		${INSTALL} sample.res term.res fkey.res \
d78 3
@


1.12
log
@Added fkey
@
text
@d3 1
a3 1
# $Header: makefile,v 1.11 87/04/02 17:45:04 rpd Exp $
d6 3
d73 2
a74 1
		${INSTALL} sample.res sample.c qdsamp.c ${DESTPATH}/usr/lib/mac
@


1.11
log
@Changed /usr/local/bin to /usr/toolboxbin
Added copy of sample.res to /usr/lib/mac to go with sample.c
@
text
@d3 1
a3 1
# $Header: makefile,v 1.10 87/03/31 21:45:23 rpd Exp $
d6 4
d49 1
a49 1
NTEST =		launch mkslot settc
d66 1
a66 1
		${INSTALL} -p 0755 qdsamp sample term launch settc \
d68 2
a69 1
		${INSTALL} sample.res term.res ${DESTPATH}/usr/toolboxbin
d71 3
@


1.10
log
@Changed make install to put executables in /usr/local/bin
@
text
@d3 1
a3 1
# $Header: makefile,v 1.9 87/03/13 14:30:06 rpd Exp $
d6 3
d63 3
a65 3
			${DESTPATH}/usr/local/bin
		${INSTALL} sample.res term.res ${DESTPATH}/usr/local/bin
		${INSTALL} sample.c qdsamp.c ${DESTPATH}/usr/lib/mac
@


1.9
log
@Fixed settc entry -- it doesn't use the toolbox
@
text
@d3 1
a3 1
# $Header: makefile,v 1.8 87/03/13 01:33:35 rpd Exp $
d6 3
d60 2
a61 2
			${DESTPATH}/usr/lib/mac
		${INSTALL} sample.res term.res ${DESTPATH}/usr/lib/mac
@


1.8
log
@Fixed permissions in make install
@
text
@d3 1
a3 1
# $Header: makefile,v 1.7 87/03/12 21:25:35 rpd Exp $
d6 3
d97 2
a98 2
settc:		settc.o ${LIB}
		${LD} -o settc settc.o ${LDFLAGS}
@


1.7
log
@Added settc to list of files to install
@
text
@d3 1
a3 1
# $Header: makefile,v 1.6 87/03/12 21:24:20 rpd Exp $
d6 3
d53 1
a53 1
		${INSTALL} -p 0555 qdsamp sample term launch settc \
@


1.6
log
@Added settc
@
text
@d3 1
a3 1
# $Header: makefile,v 1.5 87/03/12 17:47:11 rpd Exp $
d6 3
d50 1
a50 1
		${INSTALL} -p 0555 qdsamp sample term launch \
@


1.5
log
@Changed terminal emulated by term to ADM5 from ADM3A
Added make install
@
text
@d3 1
a3 1
# $Header: makefile,v 1.4 87/01/26 02:22:03 rpd Exp $
d6 4
d30 1
a30 1
NTEST =		launch mkslot
d87 3
@


1.4
log
@Removed unnecessary "-ltermcap" from term build
@
text
@d3 1
a3 1
# $Header: makefile,v 1.3 87/01/22 04:19:24 rpd Exp $
d6 3
d42 6
d60 1
a60 1
TERMFLAGS =	-DADM3A
@


1.3
log
@added launch
@
text
@d3 1
a3 1
# $Header: makefile,v 1.2 87/01/19 21:08:55 rpd Exp $
d6 3
d53 1
a53 1
		${LD} -o term ${TERM_OBJS} -ltermcap ${LDFLAGS}
@


1.2
log
@added MAIN_DIR
added mkslot
@
text
@d3 1
a3 1
# $Header: makefile,v 1.1 87/01/15 23:43:49 rpd Exp $
d6 4
d20 1
a20 1
NTEST =		mkslot
d68 3
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
# $Header: makefile,v 1.1 87/01/15 22:59:32 rpd Exp $
d6 3
d12 1
d15 3
a17 1
ALL =		qdsamp sample frank term te list
d27 1
a27 1
		for i in ${ALL}; do \
d61 3
@
