Merge pull request #1949 from lewurm/fixtype
[mono.git] / mcs / mcs / Makefile
index 841c27175282f17eee0d41a4a62a0340d87bb4eb..301ef3efc5a5f652cc787aefcb89a0ecc7ca7ca4 100644 (file)
@@ -12,6 +12,8 @@ EXTRA_DISTFILES = \
        cs-parser.jay           \
        mcs.exe.sources
 
+LIB_REFS = System System.Core System.Xml
+
 ifeq (basic, $(PROFILE))
 PROGRAM = basic.exe
 sourcefile = mcs.exe.sources
@@ -22,7 +24,7 @@ the_libdir = $(topdir)/class/lib/build/
 LOCAL_MCS_FLAGS += -lib:$(topdir)/class/lib/build -debug
 endif
 
-LOCAL_MCS_FLAGS += -d:STATIC,NO_SYMBOL_WRITER
+LOCAL_MCS_FLAGS += -d:STATIC,NO_SYMBOL_WRITER,NO_AUTHENTICODE
 
 PROGRAM_INSTALL_DIR = $(mono_libdir)/mono/4.5
 
@@ -39,17 +41,6 @@ KEEP_OUTPUT_FILE_COPY = yes
 
 include ../build/executable.make
 
-csproj-local:
-       config_file=`basename $(PROGRAM) .exe`-$(PROFILE).input; \
-       echo $(thisdir):$$config_file >> $(topdir)/../msvc/scripts/order; \
-       (echo $(is_boot); \
-       echo $(BOOTSTRAP_MCS);  \
-       echo $(USE_MCS_FLAGS) $(LIBRARY_FLAGS) $(LIB_MCS_FLAGS); \
-       echo $(PROGRAM); \
-       echo $(BUILT_SOURCES); \
-       echo $(PROGRAM); \
-       echo $(response)) > $(topdir)/../msvc/scripts/inputs/$$config_file
-
 #
 # Below this line we have local targets used for testing and development
 #
@@ -99,6 +90,7 @@ profile : $(PROGRAM)
        $(RUNTIME) $(RUNTIME_FLAGS) --profile=$(PROFILER) $(PROGRAM) $(USE_MCS_FLAGS) -target:exe -out:mcs2.exe $(BUILT_SOURCES) @$(response)
 
 debug-parser:
+       rm cs-parser.cs
        $(MAKE) JAY_FLAGS=-cvt
 
 #