File: Makefile

package info (click to toggle)
mono-basic 2.10-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 22,964 kB
  • sloc: cs: 34,086; xml: 7,804; makefile: 471; sh: 317
file content (51 lines) | stat: -rw-r--r-- 1,274 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
thisdir = vbnc/rt
SUBDIRS =
include ../../build/rules.make

NO_INSTALL = yes

REFERENCES = \
	-r:System.Xml.dll \
	-r:System.dll \
	-r:System.Windows.Forms.dll \
	-r:System.Drawing.dll \
	-r:../../class/lib/$(PROFILE)/Mono.Cecil.VB.dll

IMPORTS = \
	-imports:System,Microsoft.VisualBasic \
	-imports:System.Collections \
	-imports:System.Collections.Generic \
	-imports:System.Diagnostics \
	-imports:System.Windows.Forms \
	-imports:System.Drawing \
	-imports:System.Xml

TARGET = ../../class/lib/$(PROFILE)/rt.exe

DISTFILES = \
	Makefile	\
	ChangeLog	\
	Readme.txt	\
	source/rt.vbproj	\
	source/rt.sln	\
	$(wildcard source/*.vb)	\
	$(wildcard source/*.resx)	\
	source/ChangeLog	\

rt.exe.sources: source/rt.vbproj
	MONO_PATH="../../class/lib/bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" mono ../../tools/extract-source/extract-source.exe -s:source/rt.vbproj -b:source/ -d:rt.exe.sources -m:l -x:r

$(TARGET): rt.exe.sources
	$(BOOT_COMPILE) -rootnamespace:rt -out:$(TARGET) $(REFERENCES) $(IMPORTS) @rt.exe.sources -debug:full -define:_MYTYPE=\"Empty\"

rt.exe: $(TARGET)

clean-local:
	rm -f $(TARGET)
	rm -f $(TARGET).mdb
	rm -f rt.exe.sources

test-local run-test-local run-test-ondotnet-local all-local install-local uninstall-local:
	@:

dist-local: dist-default