omadrm/drmengine/group/CryptoPrep.mak
changeset 0 95b198f216e5
child 5 79d62d1d7957
equal deleted inserted replaced
-1:000000000000 0:95b198f216e5
       
     1 # Copyright (c) 2005-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 the License "Symbian Foundation License v1.0"
       
     5 # which accompanies this distribution, and is available
       
     6 # at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 #
       
     8 # Initial Contributors:
       
     9 # Nokia Corporation - initial contribution.
       
    10 #
       
    11 # Contributors:
       
    12 #
       
    13 # Description: DRM Crypto Library build configuration
       
    14 #
       
    15 TMPROOT:=$(subst \,/,$(EPOCROOT))
       
    16 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/
       
    17 
       
    18 include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk
       
    19 
       
    20 crypto_files = $(wildcard ../DrmCrypto/CMLA/*.cpp)
       
    21 do_nothing:
       
    22 	
       
    23 
       
    24 #
       
    25 # The targets invoked by bld...
       
    26 #
       
    27 MAKMAKE :
       
    28 	$(call createdir,"../drmcrypto/build")
       
    29 ifeq ($(crypto_files),)
       
    30 	perl $(EPOCROOT)epoc32/tools/ecopyfile.pl ../DrmCrypto/stub/CmlaCryptoStub.cpp ../drmcrypto/build/cmlacrypto.cpp
       
    31 else
       
    32 	perl $(EPOCROOT)epoc32/tools/ecopyfile.pl ../DrmCrypto/CMLA/CmlaCrypto.cpp ../drmcrypto/build/cmlacrypto.cpp
       
    33 endif
       
    34 	perl $(EPOCROOT)epoc32/tools/ecopyfile.pl ../DrmCrypto/src/OmaCrypto.cpp ../drmcrypto/build/omacrypto.cpp
       
    35 BLD : MAKMAKE
       
    36 
       
    37 SAVESPACE : do_nothing
       
    38 
       
    39 CLEAN :
       
    40 	perl $(EPOCROOT)epoc32/tools/ermdir.pl ../drmcrypto/build/omacrypto.cpp
       
    41 	perl $(EPOCROOT)epoc32/tools/ermdir.pl ../drmcrypto/build/cmlacrypto.cpp
       
    42 
       
    43 FREEZE : do_nothing
       
    44 
       
    45 LIB : do_nothing
       
    46 
       
    47 CLEANLIB : do_nothing
       
    48 
       
    49 RESOURCE : do_nothing
       
    50 
       
    51 FINAL : do_nothing
       
    52 
       
    53 RELEASABLES : do_nothing