m3build

m3build is tiny program and a set of predefined quake functions that make it easy to construct Modula-3 programs. It is a replacement for make.

When started, m3build looks for a file named m3makefile. This file describes what goes into a particular piece of the system, but not how to construct it. The operational aspects of the system are confined to templates that are configured when SRC Modula-3 is installed. m3build expects systems to be structured into packages. m3build expects to be invoked from the root directory of a package and, by default, it expects to find the m3makefile in the src sub-directory.

The syntax for invoking m3build is

     m3build [options] [target ...]

If no target is specified, "all" is used. To process an m3makefile, change directory to the package directory and type m3build.

The procedures defined by m3build that are available in all m3makefiles fit into the following categories:

The more specialized procedures are:

When SRC Modula-3 is configured and installed several public repositories are identified. In these web pages we refer to them with the following short names:

  /bin        shared executable programs
  /lib        shared libraries
  /doc        shared documentation
  /pkg        public packages
  /emacs      shared gnuemacs lisp code
  /man        installed man pages
  /html       installed HTML sources


[Modula-3 home page]

m3-request@src.dec.com
Last modified on Mon Sep 25 18:35:58 PDT 1995 by heydon 
     modified on Fri Jul 22 07:57:04 PDT 1994 by kalsow 
     modified on Wed May 19 11:36:32 PDT 1993 by mjordan
     modified on Tue Oct 13 16:39:21 PDT 1992 by muller
     modified on Tue Sep 22 08:36:57 PDT 1992 by mhb