Skip to content

Commit

Permalink
* library.make (LIBRARY_PACKAGE): New define. Install development sym…
Browse files Browse the repository at this point in the history
…links for

compat libraries in a different directory.

svn path=/trunk/mcs/; revision=54726
  • Loading branch information
harinath committed Dec 22, 2005
1 parent 91fc896 commit 7d93a1c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions mcs/build/ChangeLog
Expand Up @@ -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 <kornelpal@hotmail.com>

Expand Down
12 changes: 10 additions & 2 deletions mcs/build/library.make
Expand Up @@ -161,11 +161,19 @@ ifndef RUNTIME_HAS_CONSISTENT_GACDIR
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
Expand Down

0 comments on commit 7d93a1c

Please sign in to comment.