forked from CsharpDatabase/CsharpSQLite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.am
More file actions
96 lines (68 loc) · 2.58 KB
/
Makefile.am
File metadata and controls
96 lines (68 loc) · 2.58 KB
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
EXTRA_DIST =
# Warning: This is an automatically generated file, do not edit!
if ENABLE_DEBUG
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize- "-nowarn:0168;0414;0219" -debug "-define:DEBUG" "-main:Benchmark"
ASSEMBLY = ../Run/Debug/Benchmark.exe
ASSEMBLY_MDB = $(ASSEMBLY).mdb
COMPILE_TARGET = exe
PROJECT_REFERENCES = \
../Run/Debug/System.Data.SQLite.dll
BUILD_DIR = ../Run/Debug/
BENCHMARK_EXE_MDB_SOURCE=../Run/Debug/Benchmark.exe.mdb
BENCHMARK_EXE_MDB=$(BUILD_DIR)/Benchmark.exe.mdb
SYSTEM_DATA_SQLITE_DLL_SOURCE=../Run/Debug/System.Data.SQLite.dll
SYSTEM_DATA_SQLITE_DLL_MDB_SOURCE=../Run/Debug/System.Data.SQLite.dll.mdb
SYSTEM_DATA_SQLITE_DLL_MDB=$(BUILD_DIR)/System.Data.SQLite.dll.mdb
endif
if ENABLE_RELEASE
ASSEMBLY_COMPILER_COMMAND = dmcs
ASSEMBLY_COMPILER_FLAGS = -noconfig -codepage:utf8 -warn:4 -optimize+ "-nowarn:0168;0414;0219" "-define:RELEASE" "-main:Benchmark"
ASSEMBLY = ../Run/Release/Benchmark.exe
ASSEMBLY_MDB =
COMPILE_TARGET = exe
PROJECT_REFERENCES = \
../Run/Release/System.Data.SQLite.dll
BUILD_DIR = ../Run/Release/
BENCHMARK_EXE_MDB=
SYSTEM_DATA_SQLITE_DLL_SOURCE=../Run/Release/System.Data.SQLite.dll
SYSTEM_DATA_SQLITE_DLL_MDB=
endif
AL=al
SATELLITE_ASSEMBLY_NAME=$(notdir $(basename $(ASSEMBLY))).resources.dll
PROGRAMFILES = \
$(BENCHMARK_EXE_MDB) \
$(SYSTEM_DATA_SQLITE_DLL) \
$(SYSTEM_DATA_SQLITE_DLL_MDB)
BINARIES = \
$(SYSTEM_DATA_SQLITE_BENCHMARK)
RESGEN=resgen2
all: $(ASSEMBLY) $(PROGRAMFILES) $(BINARIES)
FILES = \
Classes/SQLiteDatabase.cs \
Classes/SQLiteVdbe.cs \
Properties/AssemblyInfo.cs \
src/Benchmark.cs
DATA_FILES =
RESOURCES =
EXTRAS = \
system.data.sqlite.benchmark.in
REFERENCES = \
System \
System.Core \
System.Data \
System.Management \
System.Xml
DLL_REFERENCES =
CLEANFILES = $(PROGRAMFILES) $(BINARIES)
include $(top_srcdir)/Makefile.include
SYSTEM_DATA_SQLITE_DLL = $(BUILD_DIR)/System.Data.SQLite.dll
SYSTEM_DATA_SQLITE_BENCHMARK = $(BUILD_DIR)/system.data.sqlite.benchmark
$(eval $(call emit-deploy-wrapper,SYSTEM_DATA_SQLITE_BENCHMARK,system.data.sqlite.benchmark,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)