* executable.make (NO_INSTALL): New option. Disables installation.
* library.make (NO_INSTALL): Likewise.
(install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
/gacdir and /root options to gacutil.
* platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
command that was tried, in case of failure.
* profiles/basic.make (NO_TEST, NO_INSTALL): Define.
* profiles/net_1_1_bootstrap.make: Likewise.
* profiles/net_2_0_bootstrap.make: Likewise.
In nunit20/nunit-console:
* Makefile (NO_INSTALL): Don't install nunit-console.exe.
In nunit20/core, nunit20/framework, nunit20/util:
* Makefile (NO_INSTALL) [PROFILE=net_2_0]: Don't install dll.
svn path=/trunk/mcs/; revision=36427
+2004-11-23 Raja R Harinath <rharinath@novell.com>
+
+ * executable.make (NO_INSTALL): New option. Disables installation.
+ * library.make (NO_INSTALL): Likewise.
+ (install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
+ /gacdir and /root options to gacutil.
+ * platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
+ command that was tried, in case of failure.
+ * profiles/basic.make (NO_TEST, NO_INSTALL): Define.
+ * profiles/net_1_1_bootstrap.make: Likewise.
+ * profiles/net_2_0_bootstrap.make: Likewise.
+
2004-11-22 Raja R Harinath <rharinath@novell.com>
* library.make (SN): New define. Use the net_1_1_bootstrap sn.exe.
mdb = $(patsubst %.exe,%.mdb,$(PROGRAM))
executable_CLEAN_FILES += $(makefrag) $(pdb) $(mdb)
+all-local: $(PROGRAM) $(PROGRAM_config)
+
+ifdef NO_INSTALL
+install-local uninstall-local:
+ @:
+else
+
ifndef PROGRAM_INSTALL_DIR
PROGRAM_INSTALL_DIR = $(prefix)/bin
endif
-all-local: $(PROGRAM) $(PROGRAM_config)
install-local: $(PROGRAM) $(PROGRAM_config)
$(MKINSTALLDIRS) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
uninstall-local:
-rm -f $(DESTDIR)$(PROGRAM_INSTALL_DIR)/$(base_prog) $(DESTDIR)$(PROGRAM_INSTALL_DIR)/$(base_prog).mdb
+endif
clean-local:
-rm -f $(executable_CLEAN_FILES) $(CLEAN_FILES)
PACKAGE = 2.0
endif
+libdir = $(prefix)/lib
+
ifeq ($(PLATFORM), win32)
-GACDIR = `cygpath -w $(DESTDIR)$(prefix)/lib`
+GACDIR = `cygpath -w $(libdir)`
+GACROOT = `cygpath -w $(DESTDIR)$(libdir)`
else
-GACDIR = $(DESTDIR)$(prefix)/lib
+GACDIR = $(libdir)
+GACROOT = $(DESTDIR)$(libdir)
endif
all-local install-local test-local: $(the_lib)
+ifdef NO_INSTALL
+install-local uninstall-local:
+ @:
+
+else
+
ifdef LIBRARY_INSTALL_DIR
install-local:
$(MKINSTALLDIRS) $(DESTDIR)$(LIBRARY_INSTALL_DIR)
else
install-local: $(gacutil)
- $(GACUTIL) /i $(the_lib) /f /root $(GACDIR) /package $(PACKAGE)
+ $(GACUTIL) /i $(the_lib) /f /gacdir $(GACDIR) /root $(GACROOT) /package $(PACKAGE)
uninstall-local: $(gacutil)
$(GACUTIL) /u $(LIBRARY_NAME:.dll=)
endif
-
+endif
clean-local:
-rm -f $(library_CLEAN_FILES) $(CLEAN_FILES)
platform-check:
@set fnord $(BOOTSTRAP_MCS) ; while test "$$#" -gt 2; do case $$2 in *=*) shift ;; *) break ;; esac done ; \
if type $$2 >/dev/null 2>&1 ; then :; else \
+ echo "*** The compiler '$(BOOTSTRAP_MCS)' doesn't appear to be available"; \
echo "*** You need a C# compiler installed to build MCS. (make sure mcs works from the command line)" ; \
echo "*** Read INSTALL.txt for information on how to bootstrap" ; \
echo "*** a Mono installation." ; \
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:ONLY_1_1 -d:BOOTSTRAP_WITH_OLDLIB
USE_BOOT_COMPILE = yes
NO_SIGN_ASSEMBLY = yes
+NO_TEST = yes
+NO_INSTALL = yes
profile-check:
@:
MBAS = MONO_PATH="$(topdir)/class/lib/$(PROFILE):$$MONO_PATH" $(INTERNAL_MBAS)
NO_SIGN_ASSEMBLY = yes
+NO_TEST = yes
+NO_INSTALL = yes
profile-check:
@:
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:BOOTSTRAP_NET_2_0
FRAMEWORK_VERSION = 2.0
NO_SIGN_ASSEMBLY = yes
+NO_TEST = yes
+NO_INSTALL = yes
clean-local: clean-profile
+2004-11-23 Raja R Harinath <rharinath@novell.com>
+
+ * Makefile (NO_INSTALL) [PROFILE=net_2_0]: Don't install dll.
+
2004-10-28 Sebastien Pouliot <sebastien@ximian.com>
* Updated to NUnit 2.2.0 Final Release.
LOCAL_MCS_FLAGS= -debug -r:nunit.framework.dll -r:System.dll /d:StronglyNamedAssembly
NO_TEST = yo
+ifeq (net_2_0, $(PROFILE))
+NO_INSTALL = yes
+endif
+
EXTRA_DISTFILES = nunit.core.dll.csproj
include ../../build/library.make
+2004-11-23 Raja R Harinath <rharinath@novell.com>
+
+ * Makefile (NO_INSTALL) [PROFILE=net_2_0]: Don't install dll.
+
2004-10-28 Sebastien Pouliot <sebastien@ximian.com>
* Updated to NUnit 2.2.0 Final Release.
LIB_MCS_FLAGS = -debug /r:System.Xml.dll /r:System.dll /d:StronglyNamedAssembly
NO_TEST = yo
+ifeq (net_2_0, $(PROFILE))
+NO_INSTALL = yes
+endif
+
EXTRA_DISTFILES = \
nunit.framework.dll.csproj
+2004-11-23 Raja R Harinath <rharinath@novell.com>
+
+ * Makefile (NO_INSTALL): Don't install nunit-console.exe.
+
2004-10-28 Sebastien Pouliot <sebastien@ximian.com>
* Updated to NUnit 2.2.0 Final Release.
LOCAL_MCS_FLAGS = /r:nunit.framework.dll /r:nunit.util.dll /r:nunit.core.dll
DISTFILES = app.config App.ico nunit-console.csproj
+NO_INSTALL = yes
+
include ../../build/executable.make
+2004-11-23 Raja R Harinath <rharinath@novell.com>
+
+ * Makefile (NO_INSTALL) [PROFILE=net_2_0]: Don't install dll.
+
2004-10-28 Sebastien Pouliot <sebastien@ximian.com>
* Updated to NUnit 2.2.0 Final Release.
-r:System.Xml.dll /d:MONO /d:StronglyNamedAssembly -debug
NO_TEST = yo
+ifeq (net_2_0, $(PROFILE))
+NO_INSTALL = yes
+endif
+
EXTRA_DISTFILES = \
nunit.util.dll.csproj \
Transform.resx