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 |
# Build DBMS 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/private/100012a5/policy
|
|
25 |
TARGETDIR2 = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/private/100012a5
|
|
26 |
TARGETDIR3 = $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/test
|
|
27 |
else
|
|
28 |
TARGETDIR = $(EPOCROOT)epoc32/data/z/private/100012a5/policy
|
|
29 |
TARGETDIR2 = $(EPOCROOT)epoc32/data/z/private/100012a5
|
|
30 |
TARGETDIR3 = $(EPOCROOT)epoc32/data/z/system/test
|
|
31 |
endif
|
|
32 |
|
|
33 |
TARGET_FILES = \
|
|
34 |
$(TARGETDIR)/11335577.spd \
|
|
35 |
$(TARGETDIR)/11335578.spd \
|
|
36 |
$(TARGETDIR)/11335579.spd \
|
|
37 |
$(TARGETDIR)/1133557a.spd \
|
|
38 |
$(TARGETDIR)/12344321.spd \
|
|
39 |
$(TARGETDIR2)/dbs_11335578_a.db \
|
|
40 |
$(TARGETDIR2)/dbs_11335578_b.db \
|
|
41 |
$(TARGETDIR2)/dbs_11335578_z.db \
|
|
42 |
$(TARGETDIR2)/dbs_11335579_testdb.db \
|
|
43 |
$(TARGETDIR2)/dbs_1133557a_zzz.db \
|
|
44 |
$(TARGETDIR2)/dbs_12344321_1234567890123456789012345678901234567890123456789012345678901234567890.db\
|
|
45 |
$(TARGETDIR3)/11335577.txt\
|
|
46 |
$(TARGETDIR3)/11335578.txt\
|
|
47 |
$(TARGETDIR3)/11335579.txt\
|
|
48 |
$(TARGETDIR3)/1133557A.txt\
|
|
49 |
$(TARGETDIR3)/t_dbperf1.sql\
|
|
50 |
$(TARGETDIR3)/t_script.txt\
|
|
51 |
$(TARGETDIR3)/typetextktests44.dat\
|
|
52 |
$(TARGETDIR3)/typetextktests46.dat\
|
|
53 |
$(TARGETDIR3)/typetextktests47.dat
|
|
54 |
|
|
55 |
|
|
56 |
$(TARGETDIR) :
|
|
57 |
$(call createdir, "$@")
|
|
58 |
|
|
59 |
$(TARGETDIR2) :
|
|
60 |
$(call createdir, "$@")
|
|
61 |
|
|
62 |
$(TARGETDIR3) :
|
|
63 |
$(call createdir, "$@")
|
|
64 |
|
|
65 |
COPYFILES :
|
|
66 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/11335577.spd,$(TARGETDIR)/11335577.spd)
|
|
67 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/11335578.spd,$(TARGETDIR)/11335578.spd)
|
|
68 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/11335579.spd,$(TARGETDIR)/11335579.spd)
|
|
69 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/1133557A.spd,$(TARGETDIR)/1133557a.spd)
|
|
70 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/12344321.spd,$(TARGETDIR)/12344321.spd)
|
|
71 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/dbs_11335578_A.DB,$(TARGETDIR2)/dbs_11335578_a.db)
|
|
72 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/dbs_11335578_B.DB,$(TARGETDIR2)/dbs_11335578_b.db)
|
|
73 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/dbs_11335578_Z.DB,$(TARGETDIR2)/dbs_11335578_z.db)
|
|
74 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/dbs_11335579_TESTDB.DB,$(TARGETDIR2)/dbs_11335579_testdb.db)
|
|
75 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/dbs_1133557A_ZZZ.DB,$(TARGETDIR2)/dbs_1133557a_zzz.db)
|
|
76 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/dbs_12344321_1234567890123456789012345678901234567890123456789012345678901234567890.DB,$(TARGETDIR2)/dbs_12344321_1234567890123456789012345678901234567890123456789012345678901234567890.db)
|
|
77 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/11335577.txt,$(TARGETDIR3)/11335577.txt)
|
|
78 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/11335578.txt,$(TARGETDIR3)/11335578.txt)
|
|
79 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/11335579.txt,$(TARGETDIR3)/11335579.txt)
|
|
80 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/1133557A.txt,$(TARGETDIR3)/1133557A.txt)
|
|
81 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/t_dbperf1.sql,$(TARGETDIR3)/t_dbperf1.sql)
|
|
82 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/t_script.txt,$(TARGETDIR3)/t_script.txt)
|
|
83 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/typetextktests44.dat,$(TARGETDIR3)/typetextktests44.dat)
|
|
84 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/typetextktests46.dat,$(TARGETDIR3)/typetextktests46.dat)
|
|
85 |
$(call forcecopy,$(EXTENSION_ROOT)/../TDBMS/typetextktests47.dat,$(TARGETDIR3)/typetextktests47.dat)
|
|
86 |
|
|
87 |
DO_NOTHING :
|
|
88 |
@echo do nothing
|
|
89 |
#
|
|
90 |
# The targets invoked by bld...
|
|
91 |
#
|
|
92 |
|
|
93 |
MAKMAKE : DO_NOTHING
|
|
94 |
|
|
95 |
BLD : $(TARGETDIR) $(TARGETDIR2) $(TARGETDIR3) COPYFILES
|
|
96 |
|
|
97 |
CLEAN :
|
|
98 |
$(call forceremove,$(TARGET_FILES))
|
|
99 |
|
|
100 |
SAVESPACE : DO_NOTHING
|
|
101 |
|
|
102 |
RESOURCE : DO_NOTHING
|
|
103 |
|
|
104 |
FREEZE : DO_NOTHING
|
|
105 |
|
|
106 |
LIB : DO_NOTHING
|
|
107 |
|
|
108 |
CLEANLIB : DO_NOTHING
|
|
109 |
|
|
110 |
FINAL : DO_NOTHING
|
|
111 |
|
|
112 |
RELEASABLES :
|
|
113 |
@echo $(TARGETDIR)/11335577.spd
|
|
114 |
@echo $(TARGETDIR)/11335578.spd
|
|
115 |
@echo $(TARGETDIR)/11335579.spd
|
|
116 |
@echo $(TARGETDIR)/1133557a.spd
|
|
117 |
@echo $(TARGETDIR)/12344321.spd
|
|
118 |
@echo $(TARGETDIR2)/dbs_11335578_a.db
|
|
119 |
@echo $(TARGETDIR2)/dbs_11335578_b.db
|
|
120 |
@echo $(TARGETDIR2)/dbs_11335578_z.db
|
|
121 |
@echo $(TARGETDIR2)/dbs_11335579_testdb.db
|
|
122 |
@echo $(TARGETDIR2)/dbs_1133557a_zzz.db
|
|
123 |
@echo $(TARGETDIR2)/dbs_12344321_1234567890123456789012345678901234567890123456789012345678901234567890.db
|
|
124 |
@echo $(TARGETDIR3)/11335577.txt
|
|
125 |
@echo $(TARGETDIR3)/11335578.txt
|
|
126 |
@echo $(TARGETDIR3)/11335579.txt
|
|
127 |
@echo $(TARGETDIR3)/1133557A.txt
|
|
128 |
@echo $(TARGETDIR3)/t_dbperf1.sql
|
|
129 |
@echo $(TARGETDIR3)/t_script.txt
|
|
130 |
@echo $(TARGETDIR3)/typetextktests44.dat
|
|
131 |
@echo $(TARGETDIR3)/typetextktests46.dat
|
|
132 |
@echo $(TARGETDIR3)/typetextktests47.dat
|