[Top] [Contents] [Index] [ ? ]

Mosmake

This manual describes the Mosmake system, version 0.9. If and when I learn that Mosmake is being used to build at least three projects that I'm not codeveloping, I'll bump the version number to 1.0...

Mosmake is a makefile infrastructure that helps manage the (re)compilation of programs written in Moscow ML 2.0. It needs GNU make and Perl to work.

1. What is Mosmake?  What is Mosmake?
2. How to use Mosmake  How to use Mosmake
3. Legal terms and small print  Legal terms and small print
4. History of Mosmake  History of Mosmake
Index  Index

 -- The Detailed Node Listing ---

What is Mosmake?

1.1 Why do I want to use it?  Why do I want to use it?
1.2 Reasons not to use Mosmake  Reasons not to use Mosmake
1.3 Alternatives to Mosmake  Alternatives to Mosmake

How to use Mosmake

2.1 A Simple Example  A crash course for the impatient
2.2 Separate Compilation  How Mosmake supports separate compilation
2.3 Structure mode  Choosing between structure and toplevel mode
2.4 Building more than one program  Building more than one program
2.5 Generated source files  How deal with generated source files
2.6 How to cope with long dependency lists  Ways to cope with long dependency lists
2.7 How Mosmake interfaces with the `Makefile'  The interface between Mosmake and `Makefile'
2.8 Extra mosmlc options  Specifying extra options for mosmlc
2.9 Linking with external libararies  Linking with external libararies
2.10 Multiple directories  Cross-directory support
2.11 Mosmake on non-unix platforms  Mosmake on non-unix platforms

Separate Compilation

2.2.1 The "simple" model  Just the `foo.sml' file
2.2.2 The "native" model  `foo.sml' + `foo.sig'
2.2.3 The "full" model  `foo.sml' + `foo-sig.sml' + `foo.sig'
2.2.4 The "hybrid" model  `foo.sml' + `foo-sig.sml'

2.2.5 How Mosmake finds out which model you use  How Mosmake finds out which model you use
2.2.6 The "smartmake" feature  Intelligenly avoid spurious recompilations

Generated source files

2.5.1 The mosmllex lexer generator  The mosmllex lexer generator
2.5.2 The mosmlyac parser generator  The mosmlyac parser generator
2.5.3 Generic support for generated files  Other ways of generating files

How Mosmake interfaces with the `Makefile'

2.7.1 Makefile targets defined by Mosmake  Makefile targets defined by Mosmake
2.7.2 Makefile variables used by Mosmake  Makefile variables used by Mosmake
2.7.3 Mosmake and other makefile generators  Mosmake and other makefile generators
2.7.4 Implicit rules to avoid  Implicit rules you avoid colliding with



This document was generated by Henning Makholm on November, 19 2002 using texi2html