* Makefile.in: Make $(OBJS) depend on $(ALL_OBJ_DEPS).

* configure.in: Set ALL_OBJ_DEPS in output Makefile.

Based on suggestions from <BAILEY@hmivax.humgen.upenn.edu> (Charles Bailey):
* vmsconf.sh: In generated file, get ".obj" suffix right, build source files
from other directories into objects in the current directory, and specify PSECT
attributes explicitly to linker.  Also added missing label.
* Makefile.in (stamp-mk.com): Reference new variable VMS_OTHER_OBJS for list of
non-local object files, instead of listing them here.
(VMS_OTHER_OBJS): New variable, added more libiberty files.
* make-gas.com: Regenerated.

* config/ho-vms.h (unlink): Define as delete.

* config-gas.com: Fix quoting on TARGET_CANONICAL definition.  Delete files
before creating them.
This commit is contained in:
Ken Raeburn
1994-04-14 22:46:53 +00:00
parent d6f98c552b
commit c92d9ee900
7 changed files with 94 additions and 52 deletions

View File

@ -338,8 +338,11 @@ case ${bfd_gas} in
esac
case ${need_bfd} in
yes) bfdlib="BFDLIB=../bfd/libbfd.a" ;;
*) bfdlib="" ;;
yes) bfdlib="BFDLIB=../bfd/libbfd.a"
all_obj_deps="$all_obj_deps ../bfd/bfd.h"
;;
*) bfdlib=""
;;
esac
case "x${host}" in
@ -349,11 +352,8 @@ esac
rm -f Makefile.tem
echo $cross > Makefile.tem
case "$extra_def" in
"") ;;
*) echo defs=$extra_def >> Makefile.tem
;;
esac
echo ALL_OBJ_DEPS=$all_obj_deps >> Makefile.tem
echo defs=$extra_def >> Makefile.tem
echo $bfdlib >> Makefile.tem
echo "OPCODES_LIB=$opcodes" >> Makefile.tem
cat Makefile >> Makefile.tem