Files
mercury/extras/trailed_update/Mmakefile
Julien Fischer 105580a765 Delete the trseg component and --trail-segments option.
Trail segments have been the default in trailing grades since Mercury 20.06.
Delete the trseg grade components and --trail-segment option since apart from
acting as synonyms for the tr component and --use-trail option repsectively,
they no longer do anything.

compiler/compute_grade.m:
compiler/handle_options.m:
compiler/options.m:
doc/user_guide.texi:
grade_lib/grade_vars.m:
scripts/parse_grade_option.sh-subr:
grade_lib/grade_string.m:
grade_lib/grade_vars.m:
   Delete the trseg grade component and --trail-segments option.

compiler/add_pragma.m:
   Update the wording of an error message.

NEWS:
   Announce the above.

extras/trail/Mercury.options:
extras/trailed_update/Mmakefile:
extras/references/Mercury.options:
tests/invalid/test_feature_set.err_exp:
    Conform to the above changes
2022-04-05 17:02:40 +10:00

46 lines
1.3 KiB
Plaintext

#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab
#-----------------------------------------------------------------------------#
# Copyright (C) 1997-1998, 2000, 2004, 2010 The University of Melbourne.
# Copyright (C) 2015, 2018 The Mercury team.
# This file is distributed under the terms specified in COPYING.LIB.
#-----------------------------------------------------------------------------#
GRADEFLAGS += --use-trail
# enable C debugging
MGNUCFLAGS = -g
MLFLAGS = -g
# We need this to use shared libraries on Linux
ML = ml --mercury-libs shared
# The Mmake.params file can be used to override definitions in this file
-include ../Mmake.params
MAIN_TARGET = libtrailed_update
MCFLAGS-trailed_update=--no-warn-nothing-exported
.PHONY: depend
depend: trailed_update.depend
cd samples && mmake $(MMAKEFLAGS) depend
cd tests && mmake $(MMAKEFLAGS) depend
.PHONY: check
check: libtrailed_update
cd samples && mmake $(MMAKEFLAGS) check
cd tests && mmake $(MMAKEFLAGS) check
.PHONY: clean
clean:
cd samples && mmake $(MMAKEFLAGS) clean
cd tests && mmake $(MMAKEFLAGS) clean
.PHONY: realclean
realclean:
cd samples && mmake $(MMAKEFLAGS) realclean
cd tests && mmake $(MMAKEFLAGS) realclean
#-----------------------------------------------------------------------------#