Change things so that LIBGRADES includes the default grade.

Estimated hours taken: 1
Branches: main

Change things so that LIBGRADES includes the default grade.
This fixes a bug that sometimes caused the libraries not to be
installed in the default grade, e.g. when $(GRADE) is set in Mmake.params.

configure.in:
	Don't delete $(GRADE) from $(LIBGRADES).

Mmakefile:
scripts/Mmake.rules:
compiler/make.program_target.m:
	Change the loops over $(ALL_LIBGRADES) so that they skip $(GRADE).

scripts/Mmake.vars.in:
	Delete an bogus assignment setting LIBGRADES to empty, since it
	wasn't being used (LIBGRADES was being assigned again below).
	Update the documentation for LIBGRADES.
This commit is contained in:
Fergus Henderson
2002-10-15 16:23:57 +00:00
parent b95c738ccb
commit ffee30fa53
5 changed files with 11 additions and 21 deletions

View File

@@ -343,7 +343,6 @@ EXTRA_RANLIBFLAGS =
# List of grades to install for a library
ALL_LIBGRADES = $(TARGET_LIBGRADES) $(EXTRA_TARGET_LIBGRADES)
LIBGRADES =
EXTRA_LIBGRADES =
# $(CFLAGS_FOR_PIC) is passed to the C compiler when creating `.pic_o' files
@@ -706,7 +705,8 @@ FINAL_INSTALL_MERC_LIB_DIR = \
#-----------------------------------------------------------------------------#
# Specify the additional compilation models to install by default
# Specify the compilation models to install by default.
# This list will include the default grade.
LIBGRADES = @LIBGRADES@
#-----------------------------------------------------------------------------#