aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.in
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-08-09 10:15:39 +0000
committerAlan Modra <amodra@gmail.com>2008-08-09 10:15:39 +0000
commita8caa2450b3abe46aeec4ccd61ccc9b680ebb2ff (patch)
treef0c291edf76ea69c3cc5bc3984bc98ecb6374f48 /ld/Makefile.in
parent3979a37f371bb2c208f26a15155ae90dec533228 (diff)
downloadgdb-a8caa2450b3abe46aeec4ccd61ccc9b680ebb2ff.zip
gdb-a8caa2450b3abe46aeec4ccd61ccc9b680ebb2ff.tar.gz
gdb-a8caa2450b3abe46aeec4ccd61ccc9b680ebb2ff.tar.bz2
PR 6753
* ldmain.c (check_for_scripts_dir, set_scripts_dir): Delete. (main): Don't set_scripts_dir here. * ldfile.c (check_for_scripts_dir, find_scripts_dir): New functions, largely based on ldmain.c versions. (ldfile_find_command_file): Set up search in script dir here without affecting library search. * Makefile.am (ldmain.o): No need to define SCRIPTDIR. (ldfile.o): New rule. * Makefile.in: Regenerate.
Diffstat (limited to 'ld/Makefile.in')
-rw-r--r--ld/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/ld/Makefile.in b/ld/Makefile.in
index eb41a51..f96328c 100644
--- a/ld/Makefile.in
+++ b/ld/Makefile.in
@@ -1304,11 +1304,15 @@ po/POTFILES.in: @MAINT@ Makefile
ldmain.o: ldmain.c config.status
$(COMPILE) -c -DDEFAULT_EMULATION='"$(EMUL)"' \
- -DSCRIPTDIR='"$(scriptdir)"' -DBINDIR='"$(bindir)"' \
- -DTOOLBINDIR='"$(tooldir)/bin"' \
+ -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
-DTARGET='"@target@"' @TARGET_SYSTEM_ROOT_DEFINE@ \
$(srcdir)/ldmain.c
+ldfile.o: ldfile.c config.status
+ $(COMPILE) -c -DSCRIPTDIR='"$(scriptdir)"' \
+ -DBINDIR='"$(bindir)"' -DTOOLBINDIR='"$(tooldir)/bin"' \
+ $(srcdir)/ldfile.c
+
eelf32_spu.o: eelf32_spu.c
$(COMPILE) -c -DEMBEDSPU="\"`echo embedspu | sed '$(transform)'`\"" \
eelf32_spu.c