Add script to invoke mercury_profile.

scripts/mprof.m, scripts/Mmake:
	Add script to invoke mercury_profile.
This commit is contained in:
Fergus Henderson
1995-07-20 13:59:12 +00:00
parent 36878440a1
commit f1d37af1a6
2 changed files with 18 additions and 1 deletions

View File

@@ -14,7 +14,7 @@ include ../Mmake.common
#-----------------------------------------------------------------------------#
SCRIPTS = mmake mc mod2c c2init mgnuc ml mint \
SCRIPTS = mmake mc mod2c c2init mgnuc ml mprof mint \
sicstus_conv mtags vpath_find mercury_update_interface
NUPROLOG_SCRIPTS = mcn mnc mnl mnp
SICSTUS_SCRIPTS = mcs msc msl msp

17
scripts/mprof.in Normal file
View File

@@ -0,0 +1,17 @@
#! /bin/sh
# @configure_input@
#---------------------------------------------------------------------------#
# Copyright (C) 1995 University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#---------------------------------------------------------------------------#
#
# MPROF - Mercury Profiler
#
# Use `mprof -h' for help.
#
# Environment variables: MERCURY_PROFILER.
MPROF=${MERCURY_PROFILER="@LIBDIR@/bin/@FULLARCH@/mercury_profile"}
exec $MPROF -- "$@"