[m-rev.] for review: improve the bindist for the .NET backend.
Tyson Dowd
trd at miscrit.be
Mon Aug 6 20:53:34 AEST 2001
Hi,
This allows us to start building bindists which contain .NET support.
===================================================================
Estimated hours taken: 1.0
Branches: main
Improve the bindist for the .NET backend.
bindist/bindist.Makefile.in:
If installing on a machine with the .NET SDK, and the bindist
has an ilc grade included, install mercury.dll into the global
assembly cache.
Index: bindist/bindist.Makefile.in
===================================================================
RCS file: /home/mercury1/repository/mercury/bindist/bindist.Makefile.in,v
retrieving revision 1.27
diff -u -r1.27 bindist.Makefile.in
--- bindist/bindist.Makefile.in 2001/07/09 09:29:37 1.27
+++ bindist/bindist.Makefile.in 2001/08/03 15:30:56
@@ -35,6 +35,8 @@
EXT_FOR_EXE = @EXT_FOR_EXE@
+ILASM = @ILASM@
+
UTIL_PROGS = util/mkinit util/mdemangle
UTIL_PROGFILENAMES = $(UTIL_PROGS:%=%$(EXT_FOR_EXE))
@@ -56,7 +58,7 @@
.PHONY: install
install: install_lib install_info install_man \
install_scripts install_emacs_scripts install_cgi_scripts \
- install_mmake install_mdb install_util
+ install_mmake install_mdb install_util install_gac
@echo
@echo "-- Don't forget to add $(INSTALL_BINDIR) to your PATH,"
@echo "-- $(INSTALL_MAN_DIR) to your MANPATH,"
@@ -139,5 +141,17 @@
install_util:
test -d $(INSTALL_BINDIR) || mkdir -p $(INSTALL_BINDIR)
cp $(UTILS) $(INSTALL_BINDIR)
+
+ifeq ($(ILASM),ilasm)
+.PHONY: install_gac
+install_gac:
+ -if test -d $(INSTALL_LIBDIR)/lib/ilc/ ; then \
+ cd $(INSTALL_LIBDIR)/lib/ilc/i686-pc-cygwin/ ; \
+ gacutil -i mercury.dll ; \
+ fi
+else
+.PHONY: install_gac
+install_gac:
+endif
#-----------------------------------------------------------------------------#
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list