OLD | NEW |
1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 LIBS=-lcrypto | 5 LIBS=-lcrypto |
| 6 FIRMWARELIBS=$(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a |
6 | 7 |
7 all:» dumpRSAPublicKey | 8 all:» dumpRSAPublicKey verify_data signature_digest |
8 | 9 |
9 dumpRSAPublicKey: dumpRSAPublicKey.c | 10 dumpRSAPublicKey: dumpRSAPublicKey.c |
10 $(CC) $(CFLAGS) $(LIBS) $< -o $@ | 11 $(CC) $(CFLAGS) $(LIBS) $< -o $@ |
| 12 |
| 13 verify_data: verify_data.c |
| 14 $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ $(FIRMWARELIBS) |
| 15 |
| 16 signature_digest: signature_digest.c |
| 17 $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ $(FIRMWARELIBS) |
| 18 |
11 clean: | 19 clean: |
12 » rm -f dumpRSAPublicKey | 20 » rm -f dumpRSAPublicKey verify_data signature_digest |
OLD | NEW |