Author: raja
Date: 2005-12-22 04:42:36 -0500 (Thu, 22 Dec 2005)
New Revision: 54726

Modified:
   trunk/mcs/build/ChangeLog
   trunk/mcs/build/library.make
Log:
* library.make (LIBRARY_PACKAGE): New define.  Install development symlinks for
compat libraries in a different directory.


Modified: trunk/mcs/build/ChangeLog
===================================================================
--- trunk/mcs/build/ChangeLog   2005-12-22 09:21:28 UTC (rev 54725)
+++ trunk/mcs/build/ChangeLog   2005-12-22 09:42:36 UTC (rev 54726)
@@ -3,6 +3,8 @@
        * library.make (lib_dir): Define to 'compat' if LIBRARY_COMPAT is
        defined, 'lib' otherwise.
        (the_lib): Use it to decide where to place the output library.
+       (LIBRARY_PACKAGE): New define.  Install development symlinks for
+       compat libraries in a different directory.
 
 2005-12-03  Kornél Pál  <[EMAIL PROTECTED]>
 

Modified: trunk/mcs/build/library.make
===================================================================
--- trunk/mcs/build/library.make        2005-12-22 09:21:28 UTC (rev 54725)
+++ trunk/mcs/build/library.make        2005-12-22 09:42:36 UTC (rev 54726)
@@ -161,11 +161,19 @@
 gacdir_flag = /gacdir $(GACDIR)
 endif
 
+ifndef LIBRARY_PACKAGE
+ifdef LIBRARY_COMPAT
+LIBRARY_PACKAGE = compat-$(FRAMEWORK_VERSION)
+else
+LIBRARY_PACKAGE = $(FRAMEWORK_VERSION)
+endif
+endif
+
 install-local: $(gacutil)
-       $(GACUTIL) /i $(the_lib) /f $(gacdir_flag) /root $(GACROOT) /package 
$(FRAMEWORK_VERSION)
+       $(GACUTIL) /i $(the_lib) /f $(gacdir_flag) /root $(GACROOT) /package 
$(LIBRARY_PACKAGE)
 
 uninstall-local: $(gacutil)
-       -$(GACUTIL) /u $(LIBRARY_NAME:.dll=) $(gacdir_flag) /root $(GACROOT) 
/package $(FRAMEWORK_VERSION)
+       -$(GACUTIL) /u $(LIBRARY_NAME:.dll=) $(gacdir_flag) /root $(GACROOT) 
/package $(LIBRARY_PACKAGE)
 
 endif
 endif

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to