mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 04:43:53 +00:00
Branches: main, 11.07 Fix top-level invocations of mmake in the extras distribution. They were breaking because the lex subdirectory didn't have an Mmakefile. (It uses mmc --make and a normal Makefile instead.) Make more of the extras distribution build from the top-level. extras/lex/Mmakefile: Add an Mmakefile that contains the targets required by the top-level extras distribution Mmakefile. Each of the targets just forwards the work to the actual Makefile. extras/Mmakefile: Update the list of things that won't compile ``out-of-the-box''. (XXX we should use autoconf to configure these.) Build the base64 encoding library, the fixed point arithmetic library and the error utility by default. extras/README: Update the description of the lazy_evaluation subdirectory. extras/base64/Makefile: extras/base64/Mmakefile: extras/base64/mercury_base64.m: extars/base64/Mercury.options: Build and install base64 as a library. We use mmc --make, controlled from a normal Makefile to do this and then put a forwarding Mmakefile in place using so that compilation from the top-level of the extras distribution works. (One reason for doing this is that mmc --make provides grade filtering capabilities which are needed here since this library will only work in C grades.) extras/base64/base64.m: Avoid a compilation error: sizeof cannot be used on things with an incomplete type. extras/fixed/Makefile: extras/fixed/Mmakefile: extras/fixed/Mercury.options: extras/fixed/mercury_fixed.m: Build and install fixed as a library. As with base64, use mmc --make and add a forwarding Mmakefile. extras/fixed/fixed.m: Style and formatting fixes. extras/lex/Makefile: Add a realclean target extras/lex/lex.lexeme.m: Replace a call to a deprecated procedure.
5 lines
66 B
Mathematica
5 lines
66 B
Mathematica
:- module mercury_base64.
|
|
:- interface.
|
|
|
|
:- import_module base64.
|