Avoid creating a temporary variable when target await expression is does not include...
[mono.git] / mcs / mcs / Makefile
index 4b731b0d88f32a15988c89da69a72d1181dc8fa9..3524c5987d9896862c09405e77e8d3fffc573826 100644 (file)
@@ -13,13 +13,14 @@ EXTRA_DISTFILES = \
        ikvm.cs
 
 ifeq (basic, $(PROFILE))
-PROGRAM = $(topdir)/class/lib/basic/mcs.exe
+PROGRAM = $(topdir)/class/lib/$(PROFILE)/basic.exe
+sourcefile = mcs.exe.sources
 else
 PROGRAM = $(topdir)/class/lib/build/mcs.exe
 LOCAL_MCS_FLAGS += -lib:$(topdir)/class/lib/build
 endif
 
-LOCAL_MCS_FLAGS += -d:STATIC
+LOCAL_MCS_FLAGS += -d:STATIC,NO_SYMBOL_WRITER
 
 PROGRAM_INSTALL_DIR = $(mono_libdir)/mono/4.0
 
@@ -48,13 +49,6 @@ csproj-local:
        echo $(BUILT_SOURCES); \
        echo $(PROGRAM); \
        echo $(response)) > $(topdir)/../msvc/scripts/inputs/$$config_file
-       
-ifeq (basic, $(PROFILE))
-install-local:
-       $(MKINSTALLDIRS) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
-       $(INSTALL_BIN) $(PROGRAM) $(DESTDIR)$(PROGRAM_INSTALL_DIR)
-       test ! -f $(PROGRAM).mdb || $(INSTALL_BIN) $(PROGRAM).mdb $(DESTDIR)$(PROGRAM_INSTALL_DIR)
-endif
 
 #
 # Below this line we have local targets used for testing and development
@@ -79,10 +73,6 @@ mcs3.exe: mcs2.exe
 wc:
        wc -l $(BUILT_SOURCES) `cat $(sourcefile)`
 
-ctest: 
-       rm -f mcs2.exe mcs3.exe
-       $(MAKE) USE_MCS_FLAGS="-d:NET_1_1 -d:ONLY_1_1" btest
-
 # we need this because bash tries to use its own crappy timer
 FRIENDLY_TIME = $(shell which time) -f'%U seconds'