2010-03-17 Gonzalo Paniagua Javier <gonzalo@novell.com>
[mono.git] / mcs / tools / compiler-tester / Makefile
index 846449d15478d2f1dd028449f4a5ebedc02b78bb..062bc5acaa6bd6e2badb291eff5d483546c392fa 100644 (file)
@@ -5,4 +5,21 @@ include ../../build/rules.make
 PROGRAM = $(topdir)/class/lib/$(PROFILE)/compiler-tester.exe
 NO_INSTALL = yes
 
+ifeq (moonlight, $(PROFILE))
+
+all-local: $(PROGRAM)
+clean-local:
+       rm -f $(PROGRAM)
+
+$(PROGRAM): $(dir $(PROGRAM))/.stamp
+$(PROGRAM): $(topdir)/class/lib/moonlight_raw/compiler-tester.exe
+       cp $< $@
+
+dist-local: dist-default
+install-local uninstall-local test-local run-test-local run-test-ondotnet-local: ; @:
+
+else
+
 include $(topdir)/build/executable.make
+
+endif
\ No newline at end of file