landmarks/locationlandmarks/tsrc/LandmarkTestModule/group/LandmarkTests_gnumakefile.mk
changeset 33 834e27cad510
child 35 1a92308afc46
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/landmarks/locationlandmarks/tsrc/LandmarkTestModule/group/LandmarkTests_gnumakefile.mk	Tue Jul 06 14:44:11 2010 +0300
@@ -0,0 +1,89 @@
+#
+# Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of the License "Symbian Foundation License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description: 
+#     Top makefile for Poison functiontests
+#
+
+# runs after 'abld makefile'
+MAKMAKE:
+        @echo *** DEBUG: MAKMAKE ${PLATFORM} ${CFG} ${TO_ROOT}
+
+# runs after 'abld library'
+LIB:
+        @echo *** DEBUG: LIB ${PLATFORM} ${CFG} ${TO_ROOT}
+
+# runs after 'abld resource'
+RESOURCE:
+        @echo *** DEBUG: RESOURCE ${PLATFORM} ${CFG} ${TO_ROOT}
+
+# runs after 'abld target'
+BLD:
+        @echo *** DEBUG: BLD ${PLATFORM} ${CFG} ${TO_ROOT}
+
+# runs after 'abld final'
+ifeq ($(PLATFORM),WINS)
+FINAL: COPY_TESTDATA
+        @echo *** DEBUG: FINAL ${PLATFORM} ${CFG} ${TO_ROOT}
+else
+ifeq ($(PLATFORM),WINSCW)
+FINAL: COPY_TESTDATA
+		@echo *** DEBUG: FINAL ${PLATFORM} ${CFG} ${TO_ROOT}
+#Create c:\resource directory
+		-@mkdir \EPOC32\${PLATFORM}\c\resource
+else
+FINAL:
+        @echo *** DEBUG: FINAL ${PLATFORM} ${CFG} ${TO_ROOT}
+endif
+endif
+
+# runs when called from
+COPY_TESTDATA:
+#         Create testdata directory if it does not exist
+		-@mkdir \EPOC32\winscw\c\system\TEST\TestData
+		@echo Copying all testdata files needed by LandmarkTests, copy to ${PLATFORM} $(CFG)
+
+#        Copy all landmarks databases to testdata
+
+		copy ..\databases\landmarks\* \EPOC32\winscw\c\system\TEST\TestData
+
+		copy ..\databases\landmarks\XML_files\*  \EPOC32\winscw\c\system\TEST\TestData
+
+		@echo *** DEBUG: COPY_TESTDATA ${PLATFORM} ${CFG} ${TO_ROOT}
+		@echo ......Done copying
+
+# ???
+RELEASABLES:
+		@echo *** DEBUG: RELEASABLES ${PLATFORM} ${CFG} ${TO_ROOT}
+
+# runs after clean operations
+CLEAN:
+		@echo *** DEBUG: CLEAN ${PLATFORM} ${CFG} ${TO_ROOT}
+
+# runs after clean operations
+CLEANLIB:
+		@echo ***  DEBUG:CLEANLIB ${PLATFORM} ${CFG} ${TO_ROOT}
+
+# only runs during 'abld freeze'
+FREEZE:
+		@echo *** DEBUG: FREEZE ${PLATFORM} ${CFG} ${TO_ROOT}
+
+# only runs when -savespace is specified.
+SAVESPACE:
+		@echo *** DEBUG: SAVESPACE ${PLATFORM} ${CFG} ${TO_ROOT}
+
+# Generic target. Catches everything else (unknown targets etc.)
+%:
+		@echo *** DEBUG: GENERIC $@ ${PLATFORM} ${CFG} ${TO_ROOT}
+
+# End of File
\ No newline at end of file