view nt/ftime.bat @ 112399:51005885fe39

aclocal.m4: tweaks to regenerate more conveniently This attempts to act better when the source is in a weird state. See <http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00734.html>. * Makefile.in (am--refresh): Add aclocal.m4, configure, config.in. * .bzrignore: Add aclocal.m4.
author Paul Eggert <eggert@cs.ucla.edu>
date Fri, 21 Jan 2011 12:23:24 -0800
parents ef719132ddfa
children
line wrap: on
line source

@echo off
if (%1)==() echo Usage: %0 tracefile
if (%1)==() goto done
rem Need to fiddle with the dumped image so prep doesn't break it
obj\i386\preprep ..\src\obj\i386\emacs.exe ..\src\obj\i386\pemacs.exe
copy ..\src\obj\i386\temacs.map ..\src\obj\i386\pemacs.map
rem -----------------------------------------------------------------
rem    Use this version to profile explicit commands only.
prep /om /ft /sf _Fexecute_extended_command ..\src\obj\i386\pemacs
rem -----------------------------------------------------------------
rem    Use this version to ignore startup code
rem prep /om /ft /sf _command_loop_1 ..\src\obj\i386\pemacs
rem -----------------------------------------------------------------
rem    Use this version to include startup code
rem prep /om /ft ..\src\obj\i386\pemacs
rem -----------------------------------------------------------------
if errorlevel 1 goto done
profile ..\src\obj\i386\pemacs %2 %3 %4 %5 %6 %7 %8 %9
if errorlevel 1 goto done
prep /m  ..\src\obj\i386\pemacs
if errorlevel 1 goto done
plist ..\src\obj\i386\pemacs > %1
:done