Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile « ilasm « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 97cf9de9359513e1cd6867c51b69c0acaad0fdd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
thisdir = ilasm
SUBDIRS =
include ../build/rules.make

PROGRAM = $(topdir)/class/lib/$(PROFILE)/ilasm.exe
BUILT_SOURCES = ILParser.cs
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

EXTRA_DISTFILES = \
	parser/ILParser.jay	\
	parser/ChangeLog	\
	scanner/ChangeLog	\
	tests/ChangeLog		\
	$(wildcard tests/*.il)

ILParser.cs: parser/ILParser.jay $(topdir)/jay/skeleton.cs
	$(topdir)/jay/jay -ct < $(topdir)/jay/skeleton.cs $< >$@

include ../build/executable.make

ifeq (net_1_1, $(PROFILE))
# Utility rule to make debugging somewhat easier.
all-local: ilasm.exe
ilasm.exe: $(PROGRAM)
	cp -p $< $@
	test ! -f $<.mdb || cp -p $<.mdb $@.mdb
endif