Merge pull request #1896 from meum/patch-1
[mono.git] / mcs / ilasm / Makefile
index b4c43980169ab3734983409f0443cf4b1ec0a057..43cee29c15b0e231810fcba9648787a453bb251e 100644 (file)
@@ -4,7 +4,7 @@ include ../build/rules.make
 
 PROGRAM = ilasm.exe
 BUILT_SOURCES = ILParser.cs
-LOCAL_MCS_FLAGS = /lib:../class/lib/default /r:PEAPI.dll
+LOCAL_MCS_FLAGS = /lib:../class/lib/$(PROFILE) /r:../class/lib/$(PROFILE)/PEAPI.dll /r:Mono.CompilerServices.SymbolWriter.dll /r:Mono.Security.dll
 
 CLEAN_FILES = parser/y.output
 
@@ -16,6 +16,7 @@ EXTRA_DISTFILES = \
        $(wildcard tests/*.il)
 
 ILParser.cs: parser/ILParser.jay $(topdir)/jay/skeleton.cs
-       $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@
+       $(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $(CURDIR)/$< >$@
 
 include ../build/executable.make
+