9d65137307
Ads LDFLAGS and use in place of CFLAGS where appropriate. * configure.in: Make a sysdep.hlink in the same way other bfd-based directories do. * gprof.h (UNIT): Replace non-standard 'u_short' by 'unsigned short'. * gprof.h: #include sysdep.h instead of a bunch of stuff. * gprof.c (main): Fix typo gproff->gprof.
29 lines
745 B
Text
29 lines
745 B
Text
# This file is a shell script that supplies the information necessary
|
|
# to tailor a template configure script into the configure script
|
|
# appropriate for this directory. For more information, check any
|
|
# existing configure script.
|
|
|
|
srctrigger=gprof.c
|
|
srcname="gprof"
|
|
|
|
# per-host:
|
|
|
|
. ${srcdir}/../bfd/configure.host
|
|
|
|
# Set up to make a link between the host's include file and "sysdep.h".
|
|
files="../bfd/hosts/${my_host}.h"
|
|
links="sysdep.h"
|
|
|
|
# per-target:
|
|
case "${target}" in
|
|
i386-*-*) my_target=i386 ;;
|
|
sparc-*-*) my_target=sparc ;;
|
|
tahoe-*-*) my_target=tahoe ;;
|
|
vax-*-*) my_target=vax ;;
|
|
*-*-*) my_target=dummy ;;
|
|
esac
|
|
|
|
target_makefile_frag=config/mt-${my_target}
|
|
if [ ! -f ${srcdir}/${target_makefile_frag} ] ; then
|
|
target_makefile_frag=
|
|
fi
|