[asp.net] ValidationUtility implementation
[mono.git] / mcs / build / executable.make
index da828e3284b2f891799f3107da2268ee4f0d4e5f..6030f5e48ee44b2068df8d92e5d1529cf7efde79 100644 (file)
@@ -55,6 +55,9 @@ install-local: $(PROGRAM) $(PROGRAM_config)
 ifdef PROGRAM_config
        $(INSTALL_DATA) $(PROGRAM_config) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
 endif
+ifdef PLATFORM_AOT_SUFFIX
+       test ! -f $(PROGRAM)$(PLATFORM_AOT_SUFFIX) || $(INSTALL_LIB) $(PROGRAM)$(PLATFORM_AOT_SUFFIX) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
+endif
 
 uninstall-local:
        -rm -f $(DESTDIR)$(PROGRAM_INSTALL_DIR)/$(base_prog) $(DESTDIR)$(PROGRAM_INSTALL_DIR)/$(base_prog).mdb $(DESTDIR)$(PROGRAM_INSTALL_DIR)/$(base_prog).config
@@ -87,9 +90,9 @@ dist-local: dist-default
        for f in `cat $(sourcefile)` ; do \
          case $$f in \
          ../*) : ;; \
-         *) dest=`dirname $$f` ; \
+         *) dest=`dirname "$$f"` ; \
             case $$subs in *" $$dest "*) : ;; *) subs=" $$dest$$subs" ; $(MKINSTALLDIRS) $(distdir)/$$dest ;; esac ; \
-            cp -p $$f $(distdir)/$$dest || exit 1 ;; \
+            cp -p "$$f" $(distdir)/$$dest || exit 1 ;; \
          esac ; done ; \
        for d in . $$subs ; do \
          case $$d in .) : ;; *) test ! -f $$d/ChangeLog || cp -p $$d/ChangeLog $(distdir)/$$d ;; esac ; done
@@ -125,7 +128,19 @@ endif
 
 -include $(makefrag)
 
-all-local: $(makefrag)
+all-local: $(makefrag) $(extra_targets)
+
+csproj-local:
+       config_file=`basename $(PROGRAM) .exe`-$(PROFILE).input; \
+       echo $(thisdir):$$config_file >> $(topdir)/../mono/msvc/scripts/order; \
+       (echo $(is_boot); \
+       echo $(MCS);    \
+       echo $(USE_MCS_FLAGS) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS); \
+       echo $(PROGRAM); \
+       echo $(BUILT_SOURCES_cmdline); \
+       echo $(build_lib); \
+       echo $(response)) > $(topdir)/../mono/msvc/scripts/inputs/$$config_file
+
 
 ifneq ($(response),$(sourcefile))
 $(response): $(topdir)/build/executable.make $(depsdir)/.stamp