Author: raja
Date: 2005-03-14 05:39:31 -0500 (Mon, 14 Mar 2005)
New Revision: 41786
Modified:
trunk/mcs/ChangeLog
trunk/mcs/Makefile
trunk/mcs/build/ChangeLog
trunk/mcs/build/executable.make
trunk/mcs/build/library.make
trunk/mcs/build/profiles/basic.make
trunk/mcs/build/profiles/net_1_1_bootstrap.make
trunk/mcs/jay/ChangeLog
trunk/mcs/jay/Makefile
trunk/mcs/tools/security/ChangeLog
trunk/mcs/tools/security/Makefile
Log:
In .:
* Makefile (_boot_): New. Used to generalize the bootstrap to
clean and install too.
* tools/security/Makefile (install-local, uninstall-local): Disable when
NO_INSTALL is defined.
* jay/Makefile (install-local, uninstall-local): Disable when
NO_INSTALL is defined.
* build/executable.make (install-local): Depend on all-local even when
NO_INSTALL is defined.
* build/library.make: Minor cleanups to match executable.make.
* build/profiles/basic.make (no-install): Remove.
* build/profiles/net_1_1_bootstrap.make (no-install): Likewise.
Modified: trunk/mcs/ChangeLog
===================================================================
--- trunk/mcs/ChangeLog 2005-03-14 07:10:58 UTC (rev 41785)
+++ trunk/mcs/ChangeLog 2005-03-14 10:39:31 UTC (rev 41786)
@@ -1,3 +1,8 @@
+2005-03-14 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * Makefile (_boot_): New. Used to generalize the bootstrap to
+ clean and install too.
+
2005-02-25 Raja R Harinath <[EMAIL PROTECTED]>
* Makefile (centum_tests): New list of test subdirs that should
Modified: trunk/mcs/Makefile
===================================================================
--- trunk/mcs/Makefile 2005-03-14 07:10:58 UTC (rev 41785)
+++ trunk/mcs/Makefile 2005-03-14 10:39:31 UTC (rev 41786)
@@ -65,11 +65,12 @@
ret=:; $(foreach p,$(PROFILES), { $(MAKE) PROFILE=$(p) run-test ||
ret=false; }; ) $$ret
# Orchestrate the bootstrap here.
-profile-do--net_2_0--all: profile-do--net_2_0_bootstrap--all
-profile-do--net_2_0_bootstrap--all: profile-do--default--all
-profile-do--default--all: profile-do--net_1_1_bootstrap--all
+_boot_ = all clean install
+$(_boot_:%=profile-do--net_2_0--%): profile-do--net_2_0--%:
profile-do--net_2_0_bootstrap--%
+$(_boot_:%=profile-do--net_2_0_bootstrap--%):
profile-do--net_2_0_bootstrap--%: profile-do--default--%
+$(_boot_:%=profile-do--default--%): profile-do--default--%:
profile-do--net_1_1_bootstrap--%
ifeq (linux, $(PLATFORM))
-profile-do--net_1_1_bootstrap--all: profile-do--basic--all
+$(_boot_:%=profile-do--net_1_1_bootstrap--%):
profile-do--net_1_1_bootstrap--%: profile-do--basic--%
endif
testcorlib:
Modified: trunk/mcs/build/ChangeLog
===================================================================
--- trunk/mcs/build/ChangeLog 2005-03-14 07:10:58 UTC (rev 41785)
+++ trunk/mcs/build/ChangeLog 2005-03-14 10:39:31 UTC (rev 41786)
@@ -1,3 +1,11 @@
+2005-03-14 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * executable.make (install-local): Depend on all-local even when
+ NO_INSTALL is defined.
+ * library.make: Minor cleanups to match executable.make.
+ * profiles/basic.make (no-install): Remove.
+ * profiles/net_1_1_bootstrap.make (no-install): Likewise.
+
2005-02-22 Raja R Harinath <[EMAIL PROTECTED]>
* library.make (BUILT_SOURCES_cmdline): Don't define if
Modified: trunk/mcs/build/executable.make
===================================================================
--- trunk/mcs/build/executable.make 2005-03-14 07:10:58 UTC (rev 41785)
+++ trunk/mcs/build/executable.make 2005-03-14 10:39:31 UTC (rev 41786)
@@ -25,6 +25,10 @@
all-local: $(PROGRAM) $(PROGRAM_config)
+install-local: all-local
+test-local: all-local
+uninstall-local:
+
ifdef NO_INSTALL
install-local uninstall-local:
@:
@@ -49,7 +53,7 @@
clean-local:
-rm -f $(executable_CLEAN_FILES) $(CLEAN_FILES)
-test-local: $(PROGRAM)
+test-local:
@:
run-test-local:
@:
Modified: trunk/mcs/build/library.make
===================================================================
--- trunk/mcs/build/library.make 2005-03-14 07:10:58 UTC (rev 41785)
+++ trunk/mcs/build/library.make 2005-03-14 10:39:31 UTC (rev 41786)
@@ -96,8 +96,12 @@
GACROOT = $(DESTDIR)$(libdir)
endif
-all-local install-local test-local: $(the_lib)
+all-local: $(the_lib)
+install-local: all-local
+test-local: all-local
+uninstall-local:
+
ifdef NO_INSTALL
install-local uninstall-local:
@:
Modified: trunk/mcs/build/profiles/basic.make
===================================================================
--- trunk/mcs/build/profiles/basic.make 2005-03-14 07:10:58 UTC (rev 41785)
+++ trunk/mcs/build/profiles/basic.make 2005-03-14 10:39:31 UTC (rev 41786)
@@ -20,10 +20,6 @@
clean-profile:
-rm -f $(PROFILE_CS) $(PROFILE_EXE) $(PROFILE_OUT)
-install-local: no-install
-no-install:
- exit 1
-
PROFILE_CS = $(topdir)/build/deps/basic-profile-check.cs
PROFILE_EXE = $(PROFILE_CS:.cs=.exe)
PROFILE_OUT = $(PROFILE_CS:.cs=.out)
Modified: trunk/mcs/build/profiles/net_1_1_bootstrap.make
===================================================================
--- trunk/mcs/build/profiles/net_1_1_bootstrap.make 2005-03-14 07:10:58 UTC
(rev 41785)
+++ trunk/mcs/build/profiles/net_1_1_bootstrap.make 2005-03-14 10:39:31 UTC
(rev 41786)
@@ -19,7 +19,3 @@
PROFILE_MCS_FLAGS = -d:NET_1_1 -d:ONLY_1_1
PROFILE_MBAS_FLAGS = -d:NET_1_1 -d:ONLY_1_1
-
-install-local: no-install
-no-install:
- exit 1
Modified: trunk/mcs/jay/ChangeLog
===================================================================
--- trunk/mcs/jay/ChangeLog 2005-03-14 07:10:58 UTC (rev 41785)
+++ trunk/mcs/jay/ChangeLog 2005-03-14 10:39:31 UTC (rev 41786)
@@ -1,3 +1,8 @@
+2005-03-14 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * Makefile (install-local, uninstall-local): Disable when
+ NO_INSTALL is defined.
+
2004-12-07 Raja R Harinath <[EMAIL PROTECTED]>
* Makefile (uninstall-local): Remove $(prefix)/man/man1/jay.1.
Modified: trunk/mcs/jay/Makefile
===================================================================
--- trunk/mcs/jay/Makefile 2005-03-14 07:10:58 UTC (rev 41785)
+++ trunk/mcs/jay/Makefile 2005-03-14 10:39:31 UTC (rev 41786)
@@ -15,6 +15,10 @@
all-local: jay
install-local: jay
+uninstall-local:
+
+ifndef NO_INSTALL
+install-local:
$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/bin
$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/share/jay
$(MKINSTALLDIRS) $(DESTDIR)$(prefix)/man/man1
@@ -30,6 +34,7 @@
rm -f $(DESTDIR)$(prefix)/share/jay/$$datafile || : ; \
done
-rm -f $(DESTDIR)$(prefix)/man/man1/jay.1
+endif
clean-local:
rm -f jay *.o *.exe *.pdb
Modified: trunk/mcs/tools/security/ChangeLog
===================================================================
--- trunk/mcs/tools/security/ChangeLog 2005-03-14 07:10:58 UTC (rev 41785)
+++ trunk/mcs/tools/security/ChangeLog 2005-03-14 10:39:31 UTC (rev 41786)
@@ -1,3 +1,8 @@
+2005-03-14 Raja R Harinath <[EMAIL PROTECTED]>
+
+ * Makefile (install-local, uninstall-local): Disable when
+ NO_INSTALL is defined.
+
2005-02-21 Michal Moskal <[EMAIL PROTECTED]>
* Makefile (PROGRAM_INSTALL_DIR): Define in terms of $(libdir).
Modified: trunk/mcs/tools/security/Makefile
===================================================================
--- trunk/mcs/tools/security/Makefile 2005-03-14 07:10:58 UTC (rev 41785)
+++ trunk/mcs/tools/security/Makefile 2005-03-14 10:39:31 UTC (rev 41786)
@@ -18,6 +18,10 @@
all-local: $(SECURITY_PROGRAMS)
endif
+install-local: all-local
+uninstall-local:
+
+ifndef NO_INSTALL
install-local: $(SECURITY_PROGRAMS)
$(MKINSTALLDIRS) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
for p in $(SECURITY_PROGRAMS) ; do \
@@ -29,6 +33,7 @@
for p in $(SECURITY_PROGRAMS) ; do \
rm -f $(DESTDIR)$(PROGRAM_INSTALL_DIR)/$$p* ; \
done
+endif
test-local:
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches