diff -r 000000000000 -r 95b198f216e5 omadrm/drmengine/group/CryptoPrep.mak --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/omadrm/drmengine/group/CryptoPrep.mak Thu Dec 17 08:52:27 2009 +0200 @@ -0,0 +1,53 @@ +# Copyright (c) 2005-2009 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: DRM Crypto Library build configuration +# +TMPROOT:=$(subst \,/,$(EPOCROOT)) +EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/ + +include $(EPOCROOT)epoc32/tools/shell/$(notdir $(basename $(SHELL))).mk + +crypto_files = $(wildcard ../DrmCrypto/CMLA/*.cpp) +do_nothing: + + +# +# The targets invoked by bld... +# +MAKMAKE : + $(call createdir,"../drmcrypto/build") +ifeq ($(crypto_files),) + perl $(EPOCROOT)epoc32/tools/ecopyfile.pl ../DrmCrypto/stub/CmlaCryptoStub.cpp ../drmcrypto/build/cmlacrypto.cpp +else + perl $(EPOCROOT)epoc32/tools/ecopyfile.pl ../DrmCrypto/CMLA/CmlaCrypto.cpp ../drmcrypto/build/cmlacrypto.cpp +endif + perl $(EPOCROOT)epoc32/tools/ecopyfile.pl ../DrmCrypto/src/OmaCrypto.cpp ../drmcrypto/build/omacrypto.cpp +BLD : MAKMAKE + +SAVESPACE : do_nothing + +CLEAN : + perl $(EPOCROOT)epoc32/tools/ermdir.pl ../drmcrypto/build/omacrypto.cpp + perl $(EPOCROOT)epoc32/tools/ermdir.pl ../drmcrypto/build/cmlacrypto.cpp + +FREEZE : do_nothing + +LIB : do_nothing + +CLEANLIB : do_nothing + +RESOURCE : do_nothing + +FINAL : do_nothing + +RELEASABLES : do_nothing