Update pipeline-netcore-runtime.yml
[mono-project.git] / mcs / ilasm / Makefile
blob434764e55afa9db1e57315d6fa220766b7e9cfef
1 thisdir = ilasm
2 SUBDIRS =
3 include ../build/rules.make
5 PROGRAM = ilasm.exe
6 BUILT_SOURCES = ILParser.cs
8 LIB_REFS = PEAPI System
10 API_BUILD := $(filter build, $(PROFILE))
11 ifdef API_BUILD
12 TARGET_NET_REFERENCE = $(BOOTSTRAP_BIN_PROFILE)
13 PROGRAM_USE_INTERMEDIATE_FILE = 1
14 else
15 LIB_REFS += Mono.Security
16 LOCAL_MCS_FLAGS += -d:HAS_MONO_SECURITY
17 endif
19 CLEAN_FILES = parser/y.output
21 EXTRA_DISTFILES = \
22 parser/ILParser.jay \
23 $(wildcard tests/*.il)
25 ILParser.cs: parser/ILParser.jay $(topdir)/jay/skeleton.cs
26 $(topdir)/jay/jay -ct -o $@ $(CURDIR)/$< < $(topdir)/jay/skeleton.cs
28 include ../build/executable.make