[m-dev.] diff: delete Prolog stuff from compiler/Mmakefile
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Jun 10 23:07:09 AEST 1999
Estimated hours taken: 0.5
compiler/Mmakefile:
Delete some obsolete targets for SICStus Prolog and NU-Prolog.
Workspace: /home/mercury0/fjh/mercury-other
Index: compiler/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/Mmakefile,v
retrieving revision 1.18
diff -u -r1.18 Mmakefile
--- Mmakefile 1999/06/01 08:16:02 1.18
+++ Mmakefile 1999/06/10 13:05:38
@@ -48,13 +48,6 @@
*.gc*) echo $(BOEHM_GC_DIR)/libgc.a ;; \
esac \
` -lm
-MSC = MERCURY_SICSTUS_COMPILER=$(LIBRARY_DIR)/sicstus_compile \
- $(SCRIPTS_DIR)/msc
-MSL = MERCURY_SP_LIB_DIR=$(LIBRARY_DIR) $(SCRIPTS_DIR)/msl
-MNC = MERCURY_NC_BUILTIN=$(LIBRARY_DIR)/nc_builtin.nl \
- $(SCRIPTS_DIR)/mnc
-MNL = MERCURY_NU_LIB_DIR=$(LIBRARY_DIR) $(SCRIPTS_DIR)/mnl
-MNLFLAGS = -u 6000
MTAGS = $(SCRIPTS_DIR)/mtags
MTAGSFLAGS =
@@ -90,10 +83,6 @@
# targets
#
# mercury_compile
-# mercury_compile.nu
-# mercury_compile.nu.debug
-# mercury_compile.sicstus
-# mercury_compile.sicstus.debug
.PHONY: depend
depend: mercury_compile.depend
@@ -103,20 +92,11 @@
mercury_compile.depend: rl_file.m rl_out.m
.PHONY: all
-all: mercury nuprolog sicstus
+all: mercury
.PHONY: mercury
mercury: mercury_compile
-.PHONY: nuprolog
-nuprolog: mercury_compile.nu
-
-.PHONY: sicstus
-sicstus: mercury_compile.sicstus
-
-.PHONY: debug
-debug: mercury_compile mercury_compile.sicstus.debug
-
#-----------------------------------------------------------------------------#
# Add some additional dependencies, so that Mmake knows to remake the
@@ -130,9 +110,6 @@
# if in .gc(.prof) grade; GNU make does not support dynamic dependencies,
# so just leave it out.
-mercury_compile.sicstus: $(LIBRARY_DIR)/library.sicstus.debug
-mercury_compile.sicstus.debug: $(LIBRARY_DIR)/library.sicstus.debug
-
mercury_compile_init.c: $(UTIL_DIR)/mkinit
#-----------------------------------------------------------------------------#
@@ -185,36 +162,17 @@
install: install_mercury
.PHONY: install_all
-install_all: install_mercury install_nuprolog install_sicstus
+install_all: install_mercury
.PHONY: install_mercury
install_mercury: install_compiler
-.PHONY: install_nuprolog
-install_nuprolog: install_compiler_nu
-
-.PHONY: install_sicstus
-install_sicstus: install_compiler_sicstus
-
.PHONY: install_dirs
install_dirs:
-[ -d $(INSTALL_MERC_BIN_DIR) ] || mkdir -p $(INSTALL_MERC_BIN_DIR)
- -[ -d $(INSTALL_NU_ARCH_DIR) ] || mkdir -p $(INSTALL_NU_ARCH_DIR)
- -[ -d $(INSTALL_SP_ARCH_DIR) ] || mkdir -p $(INSTALL_SP_ARCH_DIR)
.PHONY: install_compiler
install_compiler: mercury_compile install_dirs
cp `vpath_find mercury_compile` $(INSTALL_MERC_BIN_DIR)
-
-.PHONY: install_compiler_nu
-install_compiler_nu: mercury_compile.nu install_dirs
- sed "s^`pwd`^$(INSTALL_NU_ARCH_DIR)^g" `vpath_find mercury_compile.nu` \
- > $(INSTALL_NU_ARCH_DIR)/mercury_compile.nu
- -chmod +x $(INSTALL_NU_ARCH_DIR)/mercury_compile.nu
- cp `vpath_find mercury_compile.nu.save` $(INSTALL_NU_ARCH_DIR)
-
-.PHONY: install_compiler_sicstus
-install_compiler_sicstus: mercury_compile.sicstus install_dirs
- cp `vpath_find mercury_compile.sicstus` $(INSTALL_SP_ARCH_DIR)
#-----------------------------------------------------------------------------#
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list