OLD | NEW |
1 # Copyright 2010, The Native Client SDK Authors. All rights reserved. | 1 # Copyright 2010, The Native Client SDK Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can | 2 # Use of this source code is governed by a BSD-style license that can |
3 # be found in the LICENSE file. | 3 # be found in the LICENSE file. |
4 | 4 |
5 # Makefile for the Crypto example. | 5 # Makefile for the Crypto example. |
6 | 6 |
7 .PHONY: all clean | 7 .PHONY: all clean |
8 | 8 |
9 NACLPORTS_ROOT = ../../.. | 9 NACLPORTS_ROOT = ../../.. |
10 | 10 |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 crypto_x86_64.nexe: $(OBJECTS_X86_64) | 55 crypto_x86_64.nexe: $(OBJECTS_X86_64) |
56 $(CPP) $^ $(LDFLAGS) -m64 -o $@ | 56 $(CPP) $^ $(LDFLAGS) -m64 -o $@ |
57 | 57 |
58 clean: | 58 clean: |
59 -$(RM) $(OBJECTS_X86_32) $(OBJECTS_X86_64) \ | 59 -$(RM) $(OBJECTS_X86_32) $(OBJECTS_X86_64) \ |
60 crypto_x86_32.nexe crypto_x86_64.nexe | 60 crypto_x86_32.nexe crypto_x86_64.nexe |
61 | 61 |
62 # Build the required packages. | 62 # Build the required packages. |
63 $(TOMCRYPT_32): | 63 $(TOMCRYPT_32): |
64 (cd $(NACLPORTS_ROOT)/packages/scripts/libtomcrypt-1.17; \ | 64 (cd $(NACLPORTS_ROOT)/packages/scripts/libtomcrypt-1.17; \ |
65 » export NACL_PACKAGES_BITSIZE=32; \ | 65 » export NACL_ARCH=i686; \ |
66 ./nacl-libtomcrypt-1.17.sh) | 66 ./nacl-libtomcrypt-1.17.sh) |
67 | 67 |
68 $(TOMCRYPT_64): | 68 $(TOMCRYPT_64): |
69 (cd $(NACLPORTS_ROOT)/packages/scripts/libtomcrypt-1.17; \ | 69 (cd $(NACLPORTS_ROOT)/packages/scripts/libtomcrypt-1.17; \ |
70 » export NACL_PACKAGES_BITSIZE=64; \ | 70 » export NACL_ARCH=x86_64; \ |
71 ./nacl-libtomcrypt-1.17.sh) | 71 ./nacl-libtomcrypt-1.17.sh) |
72 | 72 |
OLD | NEW |