File: Makefile.am

package info (click to toggle)
mono-tools 4.2-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 13,868 kB
  • sloc: cs: 100,909; sh: 3,845; makefile: 2,040; javascript: 1,557; xml: 126
file content (31 lines) | stat: -rw-r--r-- 1,132 bytes parent folder | download | duplicates (3)
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
30
31
minvokedir=$(prefix)/lib/minvoke
bin_SCRIPTS = minvoke
minvoke_DATA = minvoke.exe

CLEANFILES = minvoke.exe minvoke.exe.gdb minvoke MapAssembly.dll RetargetAssembly.exe


minvoke_sources = \
	$(srcdir)/minvoke.cs

mapassembly_dll_sources = \
	$(srcdir)/MapAssembly.cs \
	$(srcdir)/MapDllImportAttribute.cs

retargetassembly_exe_sources = \
	$(srcdir)/RetargetAssembly.cs

EXTRA_DIST = $(minvoke_sources) $(mapassembly_dll_souorces) $(retargetassembly_exe_sources) minvoke.in

MapAssembly.dll: $(mapassembly_dll_sources) 
	$(MCS) -noconfig -codepage:utf8 -warn:4 -optimize+ -target:library -out:MapAssembly.dll $(mapassembly_dll_sources)

RetargetAssembly.exe: $(retargetassembly_exe_sources)
	$(MCS) -noconfig -codepage:utf8 -warn:4 -optimize+ -target:exe -out:RetargetAssembly.exe $(retargetassembly_exe_sources)

minvoke.exe: $(minvoke_sources);
	$(MCS) -noconfig -codepage:utf8 -warn:4 -optimize+ -debug -define:DEBUG -target:exe -out:minvoke.exe $(minvoke_sources) -r:System.Core $(CECIL_ASM)


test: minvoke.exe MapAssembly.dll RetargetAssembly.exe
	mono minvoke.exe MapAssembly.dll RetargetAssembly.exe RetargetedAssembly.exe