($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
* executable.make (uninstall-local): Use PROGRAM_INSTALL_DIR.
svn path=/trunk/mcs/; revision=27949
2004-05-24 Raja R Harinath <rharinath@novell.com>
+ * library.make (LIBRARY_COMPILE): New define.
+ ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
+
* executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
a different directory for installation.
+ (install-local, uninstall-local): Use it.
2004-05-20 Raja R Harinath <rharinath@novell.com>
$(INSTALL_BIN) $(PROGRAM) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
uninstall-local:
- -rm -f $(DESTDIR)$(prefix)/bin/$(base_prog)
+ -rm -f $(DESTDIR)$(PROGRAM_INSTALL_DIR)/$(base_prog)
clean-local:
-rm -f *.exe $(BUILT_SOURCES) $(CLEAN_FILES) $(pdb) $(stampfile) $(makefrag)
$(MKINSTALLDIRS) $$dest && cp $$f $$dest || exit 1 ; \
done
+ifndef LIBRARY_COMPILE
+LIBRARY_COMPILE = $(CSCOMPILE)
+endif
+
# Fun with dependency tracking
$(the_lib): $(makefrag) $(stampfile) $(response)
- $(CSCOMPILE) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS) /target:library /out:$@ @$(response)
+ $(LIBRARY_COMPILE) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS) /target:library /out:$@ @$(response)
# warning: embedded tab in the 'echo touch' line
$(makefrag): $(sourcefile)