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 SRCS=sha_tests.c | 5 SRCS=sha_tests.c |
6 OBJS=$(SRCS:.c=.o) | 6 OBJS=$(SRCS:.c=.o) |
7 LIBS=$(TOP)/crypto/libcrypto.a $(TOP)/common/libcommon.a | 7 LIBS=$(TOP)/utils/firmware_image.o $(TOP)/crypto/libcrypto.a $(TOP)/common/libco
mmon.a \ |
| 8 » $(TOP)/utils/file_keys.o |
8 | 9 |
9 tests:» sha_tests | 10 tests:» sha_tests firmware_image_tests |
10 | 11 |
11 sha_tests: sha_tests.c | 12 sha_tests: sha_tests.c |
12 » $(CC) $(CFLAGS) -DNDEBUG $(INCLUDES) $< -o $@ $(LIBS) | 13 » $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) |
| 14 |
| 15 firmware_image_tests: firmware_image_tests.c |
| 16 » $(CC) $(CFLAGS) $(INCLUDES) $< -o $@ $(LIBS) |
13 | 17 |
14 clean: | 18 clean: |
15 » rm -f $(OBJS) sha_tests verify_data signature_digest | 19 » rm -f $(OBJS) sha_tests verify_data signature_digest firmware_image_test
s |
OLD | NEW |