sl@0: # Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: # All rights reserved. sl@0: # This component and the accompanying materials are made available sl@0: # under the terms of "Eclipse Public License v1.0" sl@0: # which accompanies this distribution, and is available sl@0: # at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: # sl@0: # Initial Contributors: sl@0: # Nokia Corporation - initial contribution. sl@0: # sl@0: # Contributors: sl@0: # sl@0: # Description: sl@0: # Copy test files to test sortbytable functionality. sl@0: # sl@0: # sl@0: sl@0: TMPROOT:=$(subst \,/,$(EPOCROOT)) sl@0: EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/ sl@0: TMPHOME:=$(subst \,/,$(SBS_HOME)) sl@0: GNUCAT:=$(TMPHOME)/win32/cygwin/bin/cat.exe sl@0: sl@0: include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk sl@0: sl@0: ifeq ($(findstring WINS,$(PLATFORM)),WINS) sl@0: TARGET_DIRECTORY=$(EPOCROOT)epoc32/release/$(PLATFORM)/$(CFG)/z/system/data sl@0: else sl@0: TARGET_DIRECTORY=$(EPOCROOT)epoc32/data/z/system/data sl@0: endif sl@0: sl@0: SOURCEDIR=$(EXTENSION_ROOT)/../tsrc sl@0: sl@0: $(TARGET_DIRECTORY) : sl@0: $(call createdir,"$@") sl@0: sl@0: TARGET_FILES=\ sl@0: $(TARGET_DIRECTORY)/t_compressed_unicode_1.rsc $(EPOCROOT)epoc32\include\T_COMPRESSED_UNICODE_1.RSG \ sl@0: $(TARGET_DIRECTORY)/t_compressed_unicode_2.rsc $(EPOCROOT)epoc32\include\T_COMPRESSED_UNICODE_2.RSG \ sl@0: $(TARGET_DIRECTORY)/t_dictionary_compressed_versio_of_2.rsc \ sl@0: $(TARGET_DIRECTORY)/t_calypso_test_resource_file_1.rsc \ sl@0: $(TARGET_DIRECTORY)/t_notrscfile.rsc \ sl@0: $(TARGET_DIRECTORY)/rscheader.bin \ sl@0: $(TARGET_DIRECTORY)/newrscformat.rsc \ sl@0: sl@0: $(TARGET_DIRECTORY)/t_compressed_unicode_1.rsc : $(SOURCEDIR)/T_COMPRESSED_UNICODE_1.RPP sl@0: @RCOMP.EXE -s$? -o$@ -h$(EPOCROOT)epoc32/include/T_COMPRESSED_UNICODE_1.RSG -u -{0x000eb205,*} sl@0: $(EPOCROOT)epoc32/include/T_COMPRESSED_UNICODE_1.RSG : $(SOURCEDIR)/T_COMPRESSED_UNICODE_1.RPP sl@0: @RCOMP.EXE -s$? -o$(TARGET_DIRECTORY)/t_compressed_unicode_1.rsc -h$@ -u -{0x000eb205,*} sl@0: sl@0: $(TARGET_DIRECTORY)/t_compressed_unicode_2.rsc : $(SOURCEDIR)/T_COMPRESSED_UNICODE_2.RPP sl@0: @RCOMP.EXE -s$? -o$@ -h$(EPOCROOT)epoc32/include/T_COMPRESSED_UNICODE_2.RSG -u sl@0: $(EPOCROOT)epoc32/include/T_COMPRESSED_UNICODE_2.RSG : $(SOURCEDIR)/T_COMPRESSED_UNICODE_2.RPP sl@0: @RCOMP.EXE -s$? -o$(TARGET_DIRECTORY)/t_compressed_unicode_2.rsc -h$@ -u sl@0: sl@0: $(TARGET_DIRECTORY)/t_dictionary_compressed_versio_of_2.rsc : $(SOURCEDIR)/T_GENERATE_DICTIONARY_COMPRESSED_VERSION_OF_2.PL sl@0: @perl -w $(SOURCEDIR)/T_GENERATE_DICTIONARY_COMPRESSED_VERSION_OF_2.PL $(TARGET_DIRECTORY)/t_dictionary_compressed_versio_of_2.rsc sl@0: sl@0: $(TARGET_DIRECTORY)/t_calypso_test_resource_file_1.rsc : $(SOURCEDIR)/T_CALYPSO_COMPILED_RESOURCE_FILE_1.RSC sl@0: $(CP) $(call slash2generic,$(SOURCEDIR)/T_CALYPSO_COMPILED_RESOURCE_FILE_1.RSC $(TARGET_DIRECTORY)/t_calypso_test_resource_file_1.rsc) sl@0: sl@0: $(TARGET_DIRECTORY)/t_notrscfile.rsc : $(SOURCEDIR)/T_NotRscFile.RSC sl@0: $(CP) $(call slash2generic,$(SOURCEDIR)/T_NotRscFile.RSC $(TARGET_DIRECTORY)/t_notrscfile.rsc) sl@0: sl@0: $(TARGET_DIRECTORY)/rscheader.bin : sl@0: $(CP) $(call slash2generic,$(SOURCEDIR)/RscHeader.Bin $(TARGET_DIRECTORY)/rscheader.bin) sl@0: sl@0: $(TARGET_DIRECTORY)/newrscformat.rsc : $(SOURCEDIR)/RscHeader.Bin $(SOURCEDIR)/RLETest.BMP $(TARGET_DIRECTORY)/TRSC.rsc sl@0: @BMCONV.EXE $(SOURCEDIR)/16RAMC.MBM /c16$(SOURCEDIR)/RLETest.BMP sl@0: # $(CP) $(call slash2generic,$(SOURCEDIR)/RscHeader.Bin) + $(call slash2generic,$(TARGET_DIRECTORY)/TRSC.rsc) + $(call slash2generic,$(SOURCEDIR)/16RAMC.MBM) $(call slash2generic,$(TARGET_DIRECTORY)/newrscformat.rsc) sl@0: $(GNUCAT) $(call slash2generic,$(SOURCEDIR)/RscHeader.Bin) $(call slash2generic,$(TARGET_DIRECTORY)/TRSC.rsc) $(call slash2generic,$(SOURCEDIR)/16RAMC.MBM) > $(call slash2generic,$(TARGET_DIRECTORY)/newrscformat.rsc) sl@0: sl@0: COPYFILES : sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRSC_Inv1.RSC $(TARGET_DIRECTORY)/trsc_inv1.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRSC_Inv2.RSC $(TARGET_DIRECTORY)/trsc_inv2.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRSC_Inv3.RSC $(TARGET_DIRECTORY)/trsc_inv3.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRSC_Inv4.RSC $(TARGET_DIRECTORY)/trsc_inv4.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRSC_Inv5.RSC $(TARGET_DIRECTORY)/trsc_inv5.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRSC_Inv6.RSC $(TARGET_DIRECTORY)/trsc_inv6.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRSC_Inv7.RSC $(TARGET_DIRECTORY)/trsc_inv7.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRSC_Inv8.RSC $(TARGET_DIRECTORY)/trsc_inv8.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRSC_Inv9.RSC $(TARGET_DIRECTORY)/trsc_inv9.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRscCalypso_Inv10.RSC $(TARGET_DIRECTORY)/trsccalypso_inv10.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRscCalypso_Inv11.RSC $(TARGET_DIRECTORY)/trsccalypso_inv11.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRscCalypso_Inv12.RSC $(TARGET_DIRECTORY)/trsccalypso_inv12.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRscComprU_Inv13.RSC $(TARGET_DIRECTORY)/trsccompru_inv13.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRscComprU_Inv14.RSC $(TARGET_DIRECTORY)/trsccompru_inv14.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRscComprU_Inv15.RSC $(TARGET_DIRECTORY)/trsccompru_inv15.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRscCalypso_Inv16.RSC $(TARGET_DIRECTORY)/trsccalypso_inv16.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/TRscCalypso_Inv17.RSC $(TARGET_DIRECTORY)/trsccalypso_inv17.rsc) sl@0: $(GNUCAT) $(call slash2generic,$(SOURCEDIR)/RscHeader.Bin) $(call slash2generic,$(TARGET_DIRECTORY)/t_calypso_test_resource_file_1.rsc) > $(call slash2generic,$(TARGET_DIRECTORY)/trscromcalypsocomprnewfmt.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/Spi_ECom.spi $(TARGET_DIRECTORY)/spi_ecom.spi) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/Spi_EComRsc1.RSC $(TARGET_DIRECTORY)/spi_ecomrsc1.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/Spi_EComRsc2.RSC $(TARGET_DIRECTORY)/spi_ecomrsc2.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/Spi_EComRsc3.RSC $(TARGET_DIRECTORY)/spi_ecomrsc3.rsc) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/ECom-1-0.spi $(TARGET_DIRECTORY)/ecom-1-0.spi) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/ECom-1-0.s02 $(TARGET_DIRECTORY)/ecom-1-0.s02) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/ECom-2-0.spi $(TARGET_DIRECTORY)/ecom-2-0.spi) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/ECom-2-0.s02 $(TARGET_DIRECTORY)/ecom-2-0.s02) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/Spi_ECom-0-0.spi $(TARGET_DIRECTORY)/spi_ecom-0-0.spi) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/Spi_ECom-1-0.spi $(TARGET_DIRECTORY)/spi_ecom-1-0.spi) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/CECom-0-0.spi $(TARGET_DIRECTORY)/cecom-0-0.spi) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/CECom-1-0.spi $(TARGET_DIRECTORY)/cecom-1-0.spi) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/Spi_ECom_Case-0-0.spi $(TARGET_DIRECTORY)/spi_ecom_case-0-0.spi) sl@0: $(CP) -f $(call slash2generic,$(SOURCEDIR)/Spi_ECom_Case-1-0.spi $(TARGET_DIRECTORY)/spi_ecom_case-1-0.spi) sl@0: sl@0: sl@0: DO_NOTHING : sl@0: @echo do nothing sl@0: sl@0: # the targets below are the public ones sl@0: sl@0: MAKMAKE : DO_NOTHING sl@0: sl@0: BLD : DO_NOTHING sl@0: sl@0: SAVESPACE : BLD sl@0: sl@0: FREEZE : DO_NOTHING sl@0: sl@0: LIB : DO_NOTHING sl@0: sl@0: CLEANLIB : DO_NOTHING sl@0: sl@0: RESOURCE : $(TARGET_DIRECTORY) $(TARGET_FILES) COPYFILES sl@0: sl@0: CLEAN : sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/t_compressed_unicode_1.rsc $(EPOCROOT)epoc32/include/t_compressed_unicode_1.rsg) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/t_compressed_unicode_2.rsc $(EPOCROOT)epoc32/include/t_compressed_unicode_2.rsg) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/t_dictionary_compressed_versio_of_2.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/t_calypso_test_resource_file_1.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/t_notrscfile.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/rscheader.bin) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/newrscformat.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsc_inv1.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsc_inv2.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsc_inv3.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsc_inv4.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsc_inv5.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsc_inv6.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsc_inv7.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsc_inv8.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsc_inv9.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsccalypso_inv10.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsccalypso_inv11.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsccalypso_inv12.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsccompru_inv13.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsccompru_inv14.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsccompru_inv15.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsccalypso_inv16.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trsccalypso_inv17.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/trscromcalypsocomprnewfmt.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/spi_ecom.spi) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/spi_ecomrsc1.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/spi_ecomrsc2.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/spi_ecomrsc3.rsc) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/ecom-1-0.spi) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/ecom-1-0.s02) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/ecom-2-0.spi) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/ecom-2-0.s02) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/spi_ecom-0-0.spi) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/spi_ecom-1-0.spi) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/cecom-0-0.spi) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/cecom-1-0.spi) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/spi_ecom_case-0-0.spi) sl@0: -$(ERASE) $(call slash2generic,$(TARGET_DIRECTORY)/spi_ecom_case-1-0.spi) sl@0: sl@0: RELEASABLES : sl@0: @echo $(TARGET_DIRECTORY)/t_compressed_unicode_1.rsc $(EPOCROOT)epoc32/include/t_compressed_unicode_1.rsg sl@0: @echo $(TARGET_DIRECTORY)/t_compressed_unicode_2.rsc $(EPOCROOT)epoc32/include/t_compressed_unicode_2.rsg sl@0: @echo $(TARGET_DIRECTORY)/t_dictionary_compressed_versio_of_2.rsc sl@0: @echo $(TARGET_DIRECTORY)/t_calypso_test_resource_file_1.rsc sl@0: @echo $(TARGET_DIRECTORY)/t_notrscfile.rsc sl@0: @echo $(TARGET_DIRECTORY)/rscheader.bin sl@0: @echo $(TARGET_DIRECTORY)/newrscformat.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsc_inv1.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsc_inv2.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsc_inv3.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsc_inv4.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsc_inv5.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsc_inv6.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsc_inv7.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsc_inv8.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsc_inv9.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsccalypso_inv10.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsccalypso_inv11.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsccalypso_inv12.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsccompru_inv13.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsccompru_inv14.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsccompru_inv15.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsccalypso_inv16.rsc sl@0: @echo $(TARGET_DIRECTORY)/trsccalypso_inv17.rsc sl@0: @echo $(TARGET_DIRECTORY)/trscromcalypsocomprnewfmt.rsc sl@0: @echo $(TARGET_DIRECTORY)/spi_ecom.spi sl@0: @echo $(TARGET_DIRECTORY)/spi_ecomrsc1.rsc sl@0: @echo $(TARGET_DIRECTORY)/spi_ecomrsc2.rsc sl@0: @echo $(TARGET_DIRECTORY)/spi_ecomrsc3.rsc sl@0: @echo $(TARGET_DIRECTORY)/ecom-1-0.spi sl@0: @echo $(TARGET_DIRECTORY)/ecom-1-0.s02 sl@0: @echo $(TARGET_DIRECTORY)/ecom-2-0.spi sl@0: @echo $(TARGET_DIRECTORY)/ecom-2-0.s02 sl@0: @echo $(TARGET_DIRECTORY)/spi_ecom-0-0.spi sl@0: @echo $(TARGET_DIRECTORY)/spi_ecom-1-0.spi sl@0: @echo $(TARGET_DIRECTORY)/cecom-0-0.spi sl@0: @echo $(TARGET_DIRECTORY)/cecom-1-0.spi sl@0: @echo $(TARGET_DIRECTORY)/spi_ecom_case-0-0.spi sl@0: @echo $(TARGET_DIRECTORY)/spi_ecom_case-1-0.spi sl@0: sl@0: FINAL : DO_NOTHING