Commit Graph

9 Commits

Author SHA1 Message Date
Fergus Henderson
40f7fad627 Fix some code rot in the rules for `make clean';
Estimated hours taken: 0.5

Makefile:
tests/valid/Mmakefile:
tests/invalid/Mmakefile:
	Fix some code rot in the rules for `make clean';
	amoung other things, change them so that they
	handle `--use-subdirs' correctly.
1998-04-09 03:59:12 +00:00
Tyson Dowd
7ce7d489a2 Cleaned up runtime directory.
Estimated hours taken: 2

Cleaned up runtime directory.

runtime/*.c:
	- Renamed all .c files as mercury_*.c
	  Some have been renamed to make their purpose clearer.
	  	call.mod -> mercury_ho_call.c

runtime/*.h:
	- Moved contents of .h files to mercury_*.h
	- *.h now contain #include mercury_*.h. They be removed later.
	- Updated references to conf.h -> mercury_conf.h

runtime/conf.h.in:
	- Renamed conf.h.in as mercury_conf.h.in.
	  Didn't leave a forwarding header for this one, as conf.h was
	  never part of the repository anyway.

runtime/Mmakefile:
	- Convert lists to one-per-line lists.
	- Add mercury_accurate_gc.h to HDRS.
	- Remove all .mod files
	- Make sure runtime.init uses the ORIG_CS not MOD_CS.
	- Fix the rules for "clean_o" and "clean_mod_c", which used
	  wildcards like "*.o" to remove files.  The one that removed
	  all .c files corresponding with *.mod, instead of using MOD_CS
	  was particularly vicious.
	- Cope with the file renamings.

configure.in:
	- Cope with the file renamings.
1997-11-20 02:04:40 +00:00
Fergus Henderson
d254f4c722 Declare the phony targets as `.PHONY'.
Estimated hours taken: 0.25

Makefile:
	Declare the phony targets as `.PHONY'.
	This avoids a problem on gnu-win32 where the case-insensitive
	file system means that make does the wrong thing for `make install'
	because of the existence of the `INSTALL' file.
1996-12-05 20:30:53 +00:00
Fergus Henderson
d8ea9c5247 Save the output of make all' and make install' in log files.
Estimated hours taken: 0.2

mercury/Makefile:
	Save the output of `make all' and `make install' in log files.
1996-01-26 14:22:53 +00:00
Fergus Henderson
13dc858451 In the rule for distclean', remove bindist/bindist.build_vars'.
Estimated hours taken: 0.1

mercury/Makefile:
	In the rule for `distclean', remove `bindist/bindist.build_vars'.
1996-01-23 12:21:49 +00:00
Fergus Henderson
3a3e1733f4 Add `uninstall' target.
mercury/Makefile:
	Add `uninstall' target.
1995-10-24 07:19:30 +00:00
Fergus Henderson
0ae0eb1a51 Oops, -j2 should not be enabled by default.
mercury/Makefile:
	Oops, -j2 should not be enabled by default.
1995-09-12 01:48:36 +00:00
Fergus Henderson
238bf814fa Fix bug in the passing of $PARALLEL (-j2) options.
mercury/Makefile:
	Fix bug in the passing of $PARALLEL (-j2) options.
1995-09-08 02:44:41 +00:00
Fergus Henderson
83f485a2e0 Embed the `hello world' Mercury program in the configure
configure.in:
	Embed the `hello world' Mercury program in the configure
	script rather than compiling the one in the samples directory.
	Add support for shared libraries on i386-*-freebsd*.

Makefile:
	Add a Makefile which basically just forwards the work to Mmake.
	This is just to make the installation sequence more standard.

INSTALL:
	Modify the instructions so that they use `make' rather than `mmake'.

Mmake:
	Make the `mmake clean' rule remove `config.log' and `config.status'.
	Pass MMAKE_DIR rather than passing both MMAKE_VARS and MMAKE_RULES.
1995-07-30 16:30:07 +00:00