|
1 # Copyright (c) 2008-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 logeng test dat file(s) |
|
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/system/data |
|
25 TARGETDIR2= $(EPOCROOT)epoc32/release/$(PLATFORM_PATH)/$(CFG_PATH)/z/private/101f401d |
|
26 else |
|
27 TARGETDIR = $(EPOCROOT)epoc32/data/z/system/data |
|
28 TARGETDIR2=$(EPOCROOT)epoc32/data/z/private/101f401d |
|
29 endif |
|
30 |
|
31 TARGET_FILES = $(TARGETDIR)/oldLogdbu.dat \ |
|
32 $(TARGETDIR)/corruptLogdbu.dat \ |
|
33 $(TARGETDIR)/corruptDamagedLogdbu.dat \ |
|
34 $(TARGETDIR)/101f401d.txt \ |
|
35 $(TARGETDIR2)/CntModel.ini \ |
|
36 $(TARGETDIR2)/SQLite__Contacts.cdb |
|
37 |
|
38 |
|
39 $(TARGETDIR)/oldLogdbu.dat : $(EXTENSION_ROOT)/../test/src/oldLogdbu.dat $(TARGETDIR) |
|
40 $(call forcecopy,$(EXTENSION_ROOT)/../test/src/oldLogdbu.dat,$(TARGETDIR)/oldLogdbu.dat) |
|
41 $(TARGETDIR)/corruptLogdbu.dat : $(EXTENSION_ROOT)/../test/src/corruptLogdbu.dat |
|
42 $(call forcecopy,$(EXTENSION_ROOT)/../test/src/corruptLogdbu.dat,$(TARGETDIR)/corruptLogdbu.dat) |
|
43 $(TARGETDIR)/corruptDamagedLogdbu.dat : $(EXTENSION_ROOT)/../test/src/corruptDamagedLogdbu.dat |
|
44 $(call forcecopy,$(EXTENSION_ROOT)/../test/src/corruptDamagedLogdbu.dat,$(TARGETDIR)/corruptDamagedLogdbu.dat) |
|
45 $(TARGETDIR)/101f401d.txt : $(EXTENSION_ROOT)/../test/101f401d.txt |
|
46 $(call forcecopy,$(EXTENSION_ROOT)/../test/101f401d.txt,$(TARGETDIR)/101f401d.txt) |
|
47 $(TARGETDIR2)/CntModel.ini : $(EXTENSION_ROOT)/../test/src/CntModel.ini $(TARGETDIR2) |
|
48 $(call forcecopy,$(EXTENSION_ROOT)/../test/src/CntModel.ini,$(TARGETDIR2)/CntModel.ini) |
|
49 $(TARGETDIR2)/SQLite__Contacts.cdb : $(EXTENSION_ROOT)/../test/src/SQLite__Contacts.cdb $(TARGETDIR2) |
|
50 $(call forcecopy,$(EXTENSION_ROOT)/../test/src/SQLite__Contacts.cdb,$(TARGETDIR2)/SQLite__Contacts.cdb) |
|
51 |
|
52 |
|
53 DO_NOTHING : |
|
54 @echo do nothing |
|
55 |
|
56 # |
|
57 # The targets invoked by bld... |
|
58 # |
|
59 |
|
60 MAKMAKE : DO_NOTHING |
|
61 |
|
62 RESOURCE : DO_NOTHING |
|
63 |
|
64 SAVESPACE : DO_NOTHING |
|
65 |
|
66 BLD : $(TARGET_FILES) |
|
67 |
|
68 FREEZE : DO_NOTHING |
|
69 |
|
70 LIB : DO_NOTHING |
|
71 |
|
72 CLEANLIB : DO_NOTHING |
|
73 |
|
74 FINAL : DO_NOTHING |
|
75 |
|
76 CLEAN : |
|
77 $(call forceremove,$(TARGET_FILES)) |
|
78 |
|
79 RELEASABLES : |
|
80 @echo $(TARGETDIR)/oldLogdbu.dat |
|
81 @echo $(TARGETDIR)/corruptLogdbu.dat |
|
82 @echo $(TARGETDIR)/corruptDamagedLogdbu.dat |
|
83 @echo $(TARGETDIR)/101f401d.txt |
|
84 @echo $(TARGETDIR2)/CntModel.ini |
|
85 @echo $(TARGETDIR2)/SQLite__Contacts.cdb |