equal
deleted
inserted
replaced
|
1 # Copyright (c) 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 |
|
16 TMPROOT:=$(subst \,/,$(EPOCROOT)) |
|
17 EPOCROOT:=$(patsubst %/,%,$(TMPROOT))/ |
|
18 |
|
19 CREATABLEPATH:=$(EXTENSION_ROOT)/../drmengine/drmcrypto/build |
|
20 CLEANTARGETS:=$(CREATABLEPATH)/cmlacrypto.cpp $(CREATABLEPATH)/omacrypto.cpp |
|
21 |
|
22 crypto_files:=$(wildcard $(EXTENSION_ROOT)/../drmengine/drmcrypto/CMLA/*.cpp) |
|
23 |
|
24 BITMAP :: $(CREATABLEPATH) |
|
25 |
|
26 ifeq ($(crypto_files),) |
|
27 $(GNUCP) $(CREATABLEPATH)/../stub/CmlaCryptoStub.cpp $(CREATABLEPATH)/cmlacrypto.cpp |
|
28 else |
|
29 $(GNUCP) $(CREATABLEPATH)/../CMLA/CmlaCrypto.cpp $(CREATABLEPATH)/cmlacrypto.cpp |
|
30 endif |
|
31 $(GNUCP) $(CREATABLEPATH)/../src/OmaCrypto.cpp $(CREATABLEPATH)/omacrypto.cpp |
|
32 |
|
33 # Create dirs |
|
34 $(call makepath,$(CREATABLEPATH)) |
|
35 |
|
36 ## Clean up |
|
37 $(eval $(call GenerateStandardCleanTarget,$(CLEANTARGETS))) |
|
38 |