SRM - a makefile generator for SR programs

Gregory R. Whitehead, UC Davis, Spring 1987
whitehead@iris.ucdavis.edu
grwhitehead@ucdavis.bitnet

Release 1  (7-13-87)

    Added default source-name list (*.sr)
    Fixed/changed a few error messages
    Added -g -G options
    Changed fill macros to functions
    Put ``.SUFFIXES: .out'' in makefile to avoid problem with .s files

Release 2  (7-20-87)

    Improved option argument parsing routines
    Added ability to put option arguments in env string SRMOPTS
    Changed ``.SUFFIXES: .out'' to ``.SUFFIXES:\n.SUFFIXES .''
    Don't exec make if makefile was sent to stdout

Release 3  (7-30-87)

    The biggest change since the last release is in the option parsing routines.
    I wrote my own version of getopt(3) that scans an environment string as well
    as the command line args.  SRM now looks in the env string `SRMOPTS' for
    options before it looks on the command line.

    Changed all exit(-1) to exit(1)

===== most changes beyond this point were made at Arizona =====

gmt,  7-30-87	Removed "charp" typedef
		Made option processing more externally compatible with getopt(3)
		Fixed a few problems found by lint(1)
		Edited the man page

gmt,  8-17-87	Installed two small source fixes from grw plus man page mods.
gmt,  8-19-87	Modified for new compiler name and option set.
gmt,  8-20-87	Added dependency to "run" target.
gmt,  9-03-87	Added small grw patch creating dependencies based on imports.
gmt,  9-23-87	Changed to use ../util.o routines when possible.
gmt,  9-23-87	Fixed incorrect calculation of alloc/realloc sizes.
gmt,  9-23-87	Reformat for max line length of 80, other minor cleanups.
gmt,  9-24-87	Combined *.h files.

grw, 10-5-87	Modified for new SR grammer and new srl syntax.
		Made max line length 78 for emacs (at Ron Olsson's request).

gmt, 11-12-87	Used common line limit definitions for both srm and srl.
		Chopped srm source to max width of 80.  Cleaned up fill.c.
		Output "srm" to makefile instead of full arg0 path.

gmt,  1-05-88	Removed a lot of code supporting the old srx and its options.

grw,  5-12-88	Fixed string matching problem in scan.l.

grw,  6-30-88	Major rewrite!  changed data structures, scanner, dependency
		generating code, and makefile generating code.
		Added semi-smart makefiles.  Changed to handle .b files.

gmt,  2-15-89	Allow overwrite of existing Makefile if empty.
		Fix bad "fill2" call causing intermittent failures.
