Fix a warning about the rule for making `library/library.init'

Estimated hours taken: 0.5

Fix a warning about the rule for making `library/library.init'
clashing with the default rule for creating a `.init' file
in the automatically-generated `library/library.dep' file.
The initialization for the library is different to the
standard automatically-generated initialization, because
the library contains C code that needs explicit initialization.
(because it has BEGIN_MODULE ... END_MODULE macros in it); this
C code hence has `INIT blah' comments in it naming functions that
need to be inserted in the `.init' file so that they will be called
at initialization time.

Mmakefile:
library/Mmakefile:
compiler/Mmakefile:
profiler/Mmakefile:
tools/bootcheck:
tools/linear:
tools/binary:
	s/library.init/libmercury.init/g
This commit is contained in:
Fergus Henderson
1997-07-21 06:26:10 +00:00
parent d0457c9a49
commit 8122fe73ef

View File

@@ -156,7 +156,7 @@ tar:
cd util && mmake
cd runtime && $(SUBDIR_MMAKE) cs runtime.init
cd library && $(SUBDIR_MMAKE) depend
cd library && $(SUBDIR_MMAKE) ints opts cs library.init tags
cd library && $(SUBDIR_MMAKE) ints opts cs libmercury.init tags
cd compiler && $(SUBDIR_MMAKE) depend
cd compiler && $(SUBDIR_MMAKE) ints cs tags
cd profiler && $(SUBDIR_MMAKE) depend