# 
# Mach Operating System
# Copyright (c) 1993,1992 Carnegie Mellon University
# All Rights Reserved.
# 
# Permission to use, copy, modify and distribute this software and its
# documentation is hereby granted, provided that both the copyright
# notice and this permission notice appear in all copies of the
# software, derivative works or modified versions, and any portions
# thereof, and that both notices appear in supporting documentation.
# 
# CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
# CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
# ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
# 
# Carnegie Mellon requests users of this software to return to
# 
#  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
#  School of Computer Science
#  Carnegie Mellon University
#  Pittsburgh PA 15213-3890
# 
# any improvements or extensions that they make and grant Carnegie the
# rights to redistribute these changes.
# 
# HISTORY
# $Log:	Makefile,v $
# Revision 2.2  93/08/11  14:33:25  mrt
# 	Created
# 	[93/08/06            bershad]
# 
#


DEPENDENCIES 	=

VPATH		= ${target_cpu}

LIBRARIES 	= libprof1.a
INCLUDES	= gprof.h
OTHERS		= mach3prof.man

EXPLIB_TARGETS	= export_libprof1.a
EXPDIR		= /lib/
gprof.h_EXPDIR	= /include/
IDIR		= /lib/
gprof.h_IDIR	= /include/
mach3prof.man_IDIR = /man/man1/
ILIST		= libprof1.a gprof.h mach3prof.man
CFLAGS		= ${${target_cpu}_CFLAGS:U} -g

# Ar truncates the file  names
LIB_LONG_NAMES	=

# mig files

MIG_USRS	= gprof_control_user.c 
MIG_SRVS	= gprof_control_server.c 
MIG_HDRS	= gprof_control.h 

gprof_control_user.c_MIGUDEF		= gprof_control.defs
gprof_control_server.c_MIGSDEF		= gprof_control.defs

# mips gets these files from libc.a
i386_OBJS = _exit2.o exit.o
m88k_OBJS = _exit2.o exit.o

OFILES  = gprof_support.o gprof_support2.o mcount.o \
		gprof_control_user.o gprof_control_server.o  \
		${${target_cpu}_OBJS}
		


.include <${RULES_MK}>

