Files
mercury/java/Mmakefile
Michael Wybrow 8f546fd727 Renamed to `Mmakefile'.
Estimated hours taken: 0.5
Branches: main


mercury/java/Makefile:
	Renamed to `Mmakefile'.

mercury/Mmakefile:
	Invoke mmake in the mercury/java directory to create symbolic
	links for java class directories at build time.
2002-02-22 01:46:00 +00:00

33 lines
1018 B
Plaintext

# Copyright (C) 2002 The University of Melbourne.
# This file may only be copied under the terms of the GNU Library General
# Public License - see the file COPYING.LIB in the Mercury distribution.
#
# This Makefile sets up some symbolic links so that for the moment we can just
# include this directory (mercury/java) in our CLASSPATH to be able to compile
# some mercury files to java.
#
# The files in mercury/java/library are some hacked up versions of parts of
# the mercury library written in java. These are classes such as mercury.list,
# which require them to be in the CLASSPATH in a "mercury" directory, hence
# the first link.
#
# The files in mercury/java/runtime are the mercury runtime classes such as
# mercury.runtime.MethodPtr. These should be in the CLASSPATH under the
# directory "mercury/runtime", hence the second link.
#
MAIN_TARGET=links
links:
-ln -s -f library mercury
-(cd library && ln -s -f ../runtime runtime)
realclean_local: clean
clean:
rm -f mercury library/runtime