#
# Copyright 1987 Apple Computer, Inc.
# $Header: makefile,v 1.4 88/09/06 10:40:38 root Exp $
#
# $Log:	makefile,v $
# Revision 1.4  88/09/06  10:40:38  root
# Now, install launch without stripping symbols
# 
# Revision 1.3  88/06/16  12:39:05  rpd
# Added stuff to ln tl to rez and derez
# 
# Revision 1.2  87/11/10  00:33:44  rpd
# Added STRIPFLAG to make install
# 
# Revision 1.1  87/06/13  01:18:34  rpd
# Initial revision
# 

# This is the makefile for the launch directory

MAIN_DIR =	..
include ../make.global

ALL =		launch tl
CFLAGS =	${GFLAGS} -DUNIX

all:		${ALL}

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

test:

install:
		${INSTALL} -p 0755 launch \
			${DESTPATH}/usr/toolboxbin
		${INSTALL} ${STRIPFLAG} -p 0755 tl \
			${DESTPATH}/usr/toolboxbin
		ln ${DESTPATH}/usr/toolboxbin/tl \
			${DESTPATH}/usr/toolboxbin/rez
		ln ${DESTPATH}/usr/toolboxbin/tl \
			${DESTPATH}/usr/toolboxbin/derez
		rm -f ${DESTPATH}/usr/toolboxbin/tl

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

tl:		tl.o launchasm.o ${LIB}
		${LD} -o tl tl.o launchasm.o ${LDFLAGS}
tl.o:		tl.c devfs.h intenv.h mpw.errno.h mpw.fcntl.h mpw.ioctl.h

