599
|
1 |
# Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
2 |
# All rights reserved.
|
|
3 |
# This component and the accompanying materials are made available
|
|
4 |
# under the terms of "Eclipse Public License v1.0"
|
|
5 |
# which accompanies this distribution, and is available
|
|
6 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
7 |
#
|
|
8 |
# Initial Contributors:
|
|
9 |
# Nokia Corporation - initial contribution.
|
|
10 |
#
|
|
11 |
# Contributors:
|
|
12 |
#
|
|
13 |
# Description:
|
|
14 |
# Copy SQL test files
|
|
15 |
#
|
|
16 |
#
|
|
17 |
|
|
18 |
TMPROOT:=$(subst \,/,$(EPOCROOT))
|
|
19 |
EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
|
|
20 |
|
|
21 |
include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
|
|
22 |
|
|
23 |
ifeq ($(findstring WINS,$(PLATFORM)),WINS)
|
|
24 |
TARGETDIR=$(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/testdata
|
|
25 |
else
|
|
26 |
TARGETDIR=$(EPOCROOT)epoc32/data/z/testdata
|
|
27 |
endif
|
|
28 |
|
|
29 |
SOURCEDIR = $(EXTENSION_ROOT)/../SCRIPT
|
|
30 |
SOURCEDIR2= $(EXTENSION_ROOT)/../TESTDATA
|
|
31 |
|
|
32 |
$(TARGETDIR):
|
|
33 |
$(call createdir, "$@")
|
|
34 |
|
|
35 |
COPYFILES :
|
|
36 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Config.script,$(TARGETDIR)/sqldb_config.script)
|
|
37 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_BaseDatabase.script,$(TARGETDIR)/sqldb_basedatabase.script)
|
|
38 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_CreateTable.script,$(TARGETDIR)/sqldb_measurement_createtable.script)
|
|
39 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_CreateTable.script,$(TARGETDIR)/sqldb_performance_createtable.script)
|
|
40 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_insert.script,$(TARGETDIR)/sqldb_measurement_insert.script)
|
|
41 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_insert.script,$(TARGETDIR)/sqldb_performance_insert.script)
|
|
42 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_droptable.script,$(TARGETDIR)/sqldb_measurement_droptable.script)
|
|
43 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_droptable.script,$(TARGETDIR)/sqldb_performance_droptable.script)
|
|
44 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_delete.script,$(TARGETDIR)/sqldb_measurement_delete.script)
|
|
45 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_delete.script,$(TARGETDIR)/sqldb_performance_delete.script)
|
|
46 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_altertable.script,$(TARGETDIR)/sqldb_measurement_altertable.script)
|
|
47 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_altertable.script,$(TARGETDIR)/sqldb_performance_altertable.script)
|
|
48 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_update.script,$(TARGETDIR)/sqldb_measurement_update.script)
|
|
49 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_update.script,$(TARGETDIR)/sqldb_performance_update.script)
|
|
50 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_Concurrency.script,$(TARGETDIR)/sqldb_measurement_concurrency.script)
|
|
51 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Concurrency.script,$(TARGETDIR)/sqldb_performance_concurrency.script)
|
|
52 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_Select1.script,$(TARGETDIR)/sqldb_measurement_select1.script)
|
|
53 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Select1.script,$(TARGETDIR)/sqldb_performance_select1.script)
|
|
54 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_Select2.script,$(TARGETDIR)/sqldb_measurement_select2.script)
|
|
55 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Select2.script,$(TARGETDIR)/sqldb_performance_select2.script)
|
|
56 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_Trigger.script,$(TARGETDIR)/sqldb_measurement_trigger.script)
|
|
57 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Trigger.script,$(TARGETDIR)/sqldb_performance_trigger.script)
|
|
58 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_Transaction_Commit.script,$(TARGETDIR)/sqldb_measurement_transaction_commit.script)
|
|
59 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_Transaction_Commit_Index.script,$(TARGETDIR)/sqldb_measurement_transaction_commit_index.script)
|
|
60 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_Transaction_Commit_Mixed.script,$(TARGETDIR)/sqldb_measurement_transaction_commit_mixed.script)
|
|
61 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Transaction_Commit.script,$(TARGETDIR)/sqldb_performance_transaction_commit.script)
|
|
62 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Transaction_Commit_Index.script,$(TARGETDIR)/sqldb_performance_transaction_commit_index.script)
|
|
63 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Transaction_Commit_Mixed.script,$(TARGETDIR)/sqldb_performance_transaction_commit_mixed.script)
|
|
64 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_Transaction_Rollback.script,$(TARGETDIR)/sqldb_measurement_transaction_rollback.script)
|
|
65 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_Transaction_Rollback_Index.script,$(TARGETDIR)/sqldb_measurement_transaction_rollback_index.script)
|
|
66 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_Transaction_Rollback_Mixed.script,$(TARGETDIR)/sqldb_measurement_transaction_rollback_mixed.script)
|
|
67 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Transaction_Rollback.script,$(TARGETDIR)/sqldb_performance_transaction_rollback.script)
|
|
68 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Transaction_Rollback_Index.script,$(TARGETDIR)/sqldb_performance_transaction_rollback_index.script)
|
|
69 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Transaction_Rollback_Mixed.script,$(TARGETDIR)/sqldb_performance_transaction_rollback_mixed.script)
|
|
70 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_AttachDB.script,$(TARGETDIR)/sqldb_measurement_attachdb.script)
|
|
71 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_AttachDB.script,$(TARGETDIR)/sqldb_performance_attachdb.script)
|
|
72 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Measurement_Apps.script,$(TARGETDIR)/sqldb_measurement_apps.script)
|
|
73 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Apps.script,$(TARGETDIR)/sqldb_performance_apps.script)
|
|
74 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Apps_Create.script,$(TARGETDIR)/sqldb_performance_apps_create.script)
|
|
75 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Apps_Delete.script,$(TARGETDIR)/sqldb_performance_apps_delete.script)
|
|
76 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Apps_Modify.script,$(TARGETDIR)/sqldb_performance_apps_modify.script)
|
|
77 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Apps_Select.script,$(TARGETDIR)/sqldb_performance_apps_select.script)
|
|
78 |
$(call forcecopy,$(SOURCEDIR)/SqlDB_Performance_Apps_Add.script,$(TARGETDIR)/sqldb_performance_apps_add.script)
|
|
79 |
$(call forcecopy,$(SOURCEDIR2)/TestsqlDB_comparec0.db,$(TARGETDIR)/testsqldb_comparec0.db)
|
|
80 |
$(call forcecopy,$(SOURCEDIR2)/TestsqlDB_comparec1.db,$(TARGETDIR)/testsqldb_comparec1.db)
|
|
81 |
$(call forcecopy,$(SOURCEDIR2)/TestsqlDB_comparec2.db,$(TARGETDIR)/testsqldb_comparec2.db)
|
|
82 |
$(call forcecopy,$(SOURCEDIR2)/TestsqlDB_comparec3.db,$(TARGETDIR)/testsqldb_comparec3.db)
|
|
83 |
$(call forcecopy,$(SOURCEDIR2)/TestsqlDB_comparef.db,$(TARGETDIR)/testsqldb_comparef.db)
|
|
84 |
$(call forcecopy,$(SOURCEDIR2)/SqlDB_testexecute.ini,$(TARGETDIR)/sqldb_testexecute.ini)
|
|
85 |
$(call forcecopy,$(SOURCEDIR2)/TestSqlDB_Stress.ini,$(TARGETDIR)/testsqldb_stress.ini)
|
|
86 |
$(call forcecopy,$(SOURCEDIR2)/TestSqlDB_Stress_view.ini,$(TARGETDIR)/testsqldb_stress_view.ini)
|
|
87 |
|
|
88 |
DO_NOTHING :
|
|
89 |
@echo do nothing
|
|
90 |
|
|
91 |
#
|
|
92 |
# The targets invoked by bld...
|
|
93 |
#
|
|
94 |
|
|
95 |
MAKMAKE : DO_NOTHING
|
|
96 |
|
|
97 |
BLD : $(TARGETDIR) COPYFILES
|
|
98 |
|
|
99 |
CLEAN :
|
|
100 |
$(call forceremove,$(TARGETDIR)/sqldb_config.script)
|
|
101 |
$(call forceremove,$(TARGETDIR)/sqldb_basedatabase.script)
|
|
102 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_createtable.script)
|
|
103 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_createtable.script)
|
|
104 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_insert.script)
|
|
105 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_insert.script)
|
|
106 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_droptable.script)
|
|
107 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_droptable.script)
|
|
108 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_delete.script)
|
|
109 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_delete.script)
|
|
110 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_altertable.script)
|
|
111 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_altertable.script)
|
|
112 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_update.script)
|
|
113 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_update.script)
|
|
114 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_concurrency.script)
|
|
115 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_concurrency.script)
|
|
116 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_select1.script)
|
|
117 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_select1.script)
|
|
118 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_select2.script)
|
|
119 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_select2.script)
|
|
120 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_trigger.script)
|
|
121 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_trigger.script)
|
|
122 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_transaction_commit.script)
|
|
123 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_transaction_commit_index.script)
|
|
124 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_transaction_commit_mixed.script)
|
|
125 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_transaction_commit.script)
|
|
126 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_transaction_commit_mixed.script)
|
|
127 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_transaction_rollback.script)
|
|
128 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_transaction_rollback_index.script)
|
|
129 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_transaction_rollback_mixed.script)
|
|
130 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_transaction_rollback.script)
|
|
131 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_transaction_rollback_index.script)
|
|
132 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_transaction_rollback_mixed.script)
|
|
133 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_attachdb.script)
|
|
134 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_attachdb.script)
|
|
135 |
$(call forceremove,$(TARGETDIR)/sqldb_measurement_apps.script)
|
|
136 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_apps.script)
|
|
137 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_apps_create.script)
|
|
138 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_apps_delete.script)
|
|
139 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_apps_modify.script)
|
|
140 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_apps_select.script)
|
|
141 |
$(call forceremove,$(TARGETDIR)/sqldb_performance_apps_add.script)
|
|
142 |
$(call forceremove,$(TARGETDIR)/testsqldb_comparec0.db)
|
|
143 |
$(call forceremove,$(TARGETDIR)/testsqldb_comparec1.db)
|
|
144 |
$(call forceremove,$(TARGETDIR)/testsqldb_comparec2.db)
|
|
145 |
$(call forceremove,$(TARGETDIR)/testsqldb_comparec3.db)
|
|
146 |
$(call forceremove,$(TARGETDIR)/testsqldb_comparef.db)
|
|
147 |
$(call forceremove,$(TARGETDIR)/sqldb_testexecute.ini)
|
|
148 |
$(call forceremove,$(TARGETDIR)/testsqldb_stress.ini)
|
|
149 |
$(call forceremove,$(TARGETDIR)/testsqldb_stress_view.ini)
|
|
150 |
|
|
151 |
SAVESPACE : DO_NOTHING
|
|
152 |
|
|
153 |
RESOURCE : DO_NOTHING
|
|
154 |
|
|
155 |
FREEZE : DO_NOTHING
|
|
156 |
|
|
157 |
LIB : DO_NOTHING
|
|
158 |
|
|
159 |
CLEANLIB : DO_NOTHING
|
|
160 |
|
|
161 |
FINAL : DO_NOTHING
|
|
162 |
|
|
163 |
RELEASABLES :
|
|
164 |
@echo $(TARGETDIR)/sqldb_config.script
|
|
165 |
@echo $(TARGETDIR)/sqldb_basedatabase.script
|
|
166 |
@echo $(TARGETDIR)/sqldb_measurement_createtable.script
|
|
167 |
@echo $(TARGETDIR)/sqldb_performance_createtable.script
|
|
168 |
@echo $(TARGETDIR)/sqldb_measurement_insert.script
|
|
169 |
@echo $(TARGETDIR)/sqldb_performance_insert.script
|
|
170 |
@echo $(TARGETDIR)/sqldb_measurement_droptable.script
|
|
171 |
@echo $(TARGETDIR)/sqldb_performance_droptable.script
|
|
172 |
@echo $(TARGETDIR)/sqldb_measurement_delete.script
|
|
173 |
@echo $(TARGETDIR)/sqldb_performance_delete.script
|
|
174 |
@echo $(TARGETDIR)/sqldb_measurement_altertable.script
|
|
175 |
@echo $(TARGETDIR)/sqldb_performance_altertable.script
|
|
176 |
@echo $(TARGETDIR)/sqldb_measurement_update.script
|
|
177 |
@echo $(TARGETDIR)/sqldb_performance_update.script
|
|
178 |
@echo $(TARGETDIR)/sqldb_measurement_concurrency.script
|
|
179 |
@echo $(TARGETDIR)/sqldb_performance_concurrency.script
|
|
180 |
@echo $(TARGETDIR)/sqldb_measurement_select1.script
|
|
181 |
@echo $(TARGETDIR)/sqldb_performance_select1.script
|
|
182 |
@echo $(TARGETDIR)/sqldb_measurement_select2.script
|
|
183 |
@echo $(TARGETDIR)/sqldb_performance_select2.script
|
|
184 |
@echo $(TARGETDIR)/sqldb_measurement_trigger.script
|
|
185 |
@echo $(TARGETDIR)/sqldb_performance_trigger.script
|
|
186 |
@echo $(TARGETDIR)/sqldb_measurement_transaction_commit.script
|
|
187 |
@echo $(TARGETDIR)/sqldb_measurement_transaction_commit_index.script
|
|
188 |
@echo $(TARGETDIR)/sqldb_measurement_transaction_commit_mixed.script
|
|
189 |
@echo $(TARGETDIR)/sqldb_performance_transaction_commit.script
|
|
190 |
@echo $(TARGETDIR)/sqldb_performance_transaction_commit_mixed.script
|
|
191 |
@echo $(TARGETDIR)/sqldb_measurement_transaction_rollback.script
|
|
192 |
@echo $(TARGETDIR)/sqldb_measurement_transaction_rollback_index.script
|
|
193 |
@echo $(TARGETDIR)/sqldb_measurement_transaction_rollback_mixed.script
|
|
194 |
@echo $(TARGETDIR)/sqldb_performance_transaction_rollback.script
|
|
195 |
@echo $(TARGETDIR)/sqldb_performance_transaction_rollback_index.script
|
|
196 |
@echo $(TARGETDIR)/sqldb_performance_transaction_rollback_mixed.script
|
|
197 |
@echo $(TARGETDIR)/sqldb_measurement_attachdb.script
|
|
198 |
@echo $(TARGETDIR)/sqldb_performance_attachdb.script
|
|
199 |
@echo $(TARGETDIR)/sqldb_measurement_apps.script
|
|
200 |
@echo $(TARGETDIR)/sqldb_performance_apps.script
|
|
201 |
@echo $(TARGETDIR)/sqldb_performance_apps_create.script
|
|
202 |
@echo $(TARGETDIR)/sqldb_performance_apps_delete.script
|
|
203 |
@echo $(TARGETDIR)/sqldb_performance_apps_modify.script
|
|
204 |
@echo $(TARGETDIR)/sqldb_performance_apps_select.script
|
|
205 |
@echo $(TARGETDIR)/sqldb_performance_apps_add.script
|
|
206 |
@echo $(TARGETDIR)/testsqldb_comparec0.db
|
|
207 |
@echo $(TARGETDIR)/testsqldb_comparec1.db
|
|
208 |
@echo $(TARGETDIR)/testsqldb_comparec2.db
|
|
209 |
@echo $(TARGETDIR)/testsqldb_comparec3.db
|
|
210 |
@echo $(TARGETDIR)/testsqldb_comparef.db
|
|
211 |
@echo $(TARGETDIR)/sqldb_testexecute.ini
|
|
212 |
@echo $(TARGETDIR)/testsqldb_stress.ini
|
|
213 |
@echo $(TARGETDIR)/testsqldb_stress_view.ini
|