~manishsinha/wadlsharp/customize-type-field-accessor

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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
EXTRA_DIST =  

# Warning: This is an automatically generated file, do not edit!

if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = gmcs
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize- -debug "-define:DEBUG;TRACE"
ASSEMBLY = bin/Debug/wadl-sharp.exe
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = exe
PROJECT_REFERENCES =  \
	../LpNet.WadlSharp.Core/bin/Debug/LpNet.WadlSharp.Core.dll
BUILD_DIR = bin/Debug/

NDESK_OPTIONS_DLL_SOURCE= ../libs/NDesk.Options/NDesk.Options.dll
LPNET_WADLSHARP_CORE_DLL_SOURCE= ../LpNet.WadlSharp.Core/bin/Debug/LpNet.WadlSharp.Core.dll
LPNET_WADLSHARP_CORE_DLL_MDB_SOURCE= ../LpNet.WadlSharp.Core/bin/Debug/LpNet.WadlSharp.Core.dll.mdb
LPNET_WADLSHARP_CORE_DLL_MDB=$(BUILD_DIR)/LpNet.WadlSharp.Core.dll.mdb
WADL_SHARP_EXE_MDB_SOURCE=bin/Debug/wadl-sharp.exe.mdb
WADL_SHARP_EXE_MDB=$(BUILD_DIR)/wadl-sharp.exe.mdb

endif

if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = gmcs
ASSEMBLY_COMPILER_FLAGS =  -noconfig -codepage:utf8 -warn:4 -optimize+ "-define:TRACE"
ASSEMBLY = bin/Release/wadl-sharp.exe
ASSEMBLY_MDB = 
COMPILE_TARGET = exe
PROJECT_REFERENCES =  \
	../LpNet.WadlSharp.Core/bin/Release/LpNet.WadlSharp.Core.dll
BUILD_DIR = bin/Release/

NDESK_OPTIONS_DLL_SOURCE=../libs/NDesk.Options/NDesk.Options.dll
LPNET_WADLSHARP_CORE_DLL_SOURCE=../LpNet.WadlSharp.Core/bin/Release/LpNet.WadlSharp.Core.dll
LPNET_WADLSHARP_CORE_DLL_MDB=
WADL_SHARP_EXE_MDB=

endif

AL=al2
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll

PROGRAMFILES = \
	$(NDESK_OPTIONS_DLL) \
	$(LPNET_WADLSHARP_CORE_DLL) \
	$(LPNET_WADLSHARP_CORE_DLL_MDB) \
	$(WADL_SHARP_EXE_MDB)  

BINARIES = \
	$(WADLCONSOLE)  


RESGEN=resgen2
	
all: $(ASSEMBLY) $(PROGRAMFILES) $(BINARIES) 

FILES = \
	ArgumentValidation.cs \
	MultiException.cs \
	Program.cs \
	Properties/AssemblyInfo.cs \
	Resources.Designer.cs \
	ValidateArgs.cs \
	ValidationException.cs \
	ValidationExtensions.cs 

DATA_FILES = 

RESOURCES = \
	Resources.resx,Wadl.Resources.resources 

EXTRAS = \
	wadl-tool.in 

REFERENCES =  \
	System \
	System.Core \
	System.Xml.Linq \
	System.Data.DataSetExtensions \
	System.Data \
	System.Xml

DLL_REFERENCES =  \
	../libs/NDesk.Options/NDesk.Options.dll

CLEANFILES = $(PROGRAMFILES) $(BINARIES) 

include $(top_srcdir)/Makefile.include

NDESK_OPTIONS_DLL = $(BUILD_DIR)/NDesk.Options.dll
LPNET_WADLSHARP_CORE_DLL = $(BUILD_DIR)/LpNet.WadlSharp.Core.dll
WADLCONSOLE = $(BUILD_DIR)/wadl-tool

$(eval $(call emit-deploy-target,NDESK_OPTIONS_DLL))
$(eval $(call emit-deploy-target,LPNET_WADLSHARP_CORE_DLL))
$(eval $(call emit-deploy-target,LPNET_WADLSHARP_CORE_DLL_MDB))
$(eval $(call emit-deploy-wrapper,WADLCONSOLE,wadl-tool,x))


$(eval $(call emit_resgen_targets))
$(build_xamlg_list): %.xaml.g.cs: %.xaml
	xamlg '$<'

$(ASSEMBLY_MDB): $(ASSEMBLY)

$(ASSEMBLY): $(build_sources) $(build_resources) $(build_datafiles) $(DLL_REFERENCES) $(PROJECT_REFERENCES) $(build_xamlg_list) $(build_satellite_assembly_list)
	mkdir -p $(shell dirname $(ASSEMBLY))
	$(ASSEMBLY_COMPILER_COMMAND) $(ASSEMBLY_COMPILER_FLAGS) -out:$(ASSEMBLY) -target:$(COMPILE_TARGET) $(build_sources_embed) $(build_resources_embed) $(build_references_ref)