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 (47 lines) | stat: -rw-r--r-- 1,516 bytes parent folder | download
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
thisdir = vbruntime/Microsoft.VisualBasic
include ../../build/rules.make

LIBRARY = Microsoft.VisualBasic.dll

rspfile = vbruntime.rsp

# If the directory contains the per profile rsp file, use it
PROFILE_rspfile = vbruntime-$(PROFILE).rsp
ifeq ($(wildcard $(PROFILE_rspfile)), $(PROFILE_rspfile))
rspfile = $(PROFILE_rspfile)
endif

LIBRARY_COMPILE = $(BOOT_COMPILE) @$(rspfile)

BUILT_FILES = strings2.resources

strings2.resources: strings.txt strings-only2.txt
	cat strings.txt > strings2.txt
	cat strings-only2.txt >> strings2.txt
	resgen2 strings2.txt strings2.resources

include ../../build/library.make

DISTFILES =	\
	AssemblyInfo.vb				\
	msfinal.pub				\
	winfx3.pub				\
	mono.snk				\
	strings.txt				\
	strings-only2.txt			\
	strings2.resources			\
	ChangeLog				\
	Makefile				\
	$(wildcard Microsoft.VisualBasic.dll*.sources)	\
	Microsoft.VisualBasic.dll.sources.win	\
	$(wildcard vbruntime*.rsp)		\
	Helper.vb				\
	$(wildcard *.sln)			\
	$(wildcard *.vbproj)

Microsoft.VisualBasic.dll.sources: 2005VB.vbproj
	MONO_PATH="../../class/lib/bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" mono ../../tools/extract-source/extract-source.exe -x:r -s:2005VB.vbproj -d:Microsoft.VisualBasic.dll.sources -m:l
	MONO_PATH="../../class/lib/bootstrap$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" mono ../../tools/extract-source/extract-source.exe -x:r -s:2005VB.vbproj -d:Microsoft.VisualBasic.dll.sources.win -m:w

install-binary: default
	cp ../../class/lib/net_4_0/Microsoft.VisualBasic.* ../../class/lib/bootstrap