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 LIBTLCL = ../tlcl/libtlcl.a | 5 LIBTLCL = ../tlcl/libtlcl.a |
6 | 6 |
7 USE_TPM_EMULATOR ?= 0 | 7 USE_TPM_EMULATOR ?= 0 |
8 | 8 |
9 ifeq ($(USE_TPM_EMULATOR),1) | 9 ifeq ($(USE_TPM_EMULATOR),1) |
10 ifeq ($(LOCAL_COMPILATION),1) | 10 ifeq ($(LOCAL_COMPILATION),1) |
(...skipping 16 matching lines...) Expand all Loading... |
27 | 27 |
28 TESTS = tpmtest_clear \ | 28 TESTS = tpmtest_clear \ |
29 tpmtest_earlyextend \ | 29 tpmtest_earlyextend \ |
30 tpmtest_earlynvram \ | 30 tpmtest_earlynvram \ |
31 tpmtest_earlynvram2 \ | 31 tpmtest_earlynvram2 \ |
32 tpmtest_enable \ | 32 tpmtest_enable \ |
33 tpmtest_globallock \ | 33 tpmtest_globallock \ |
34 tpmtest_lock \ | 34 tpmtest_lock \ |
35 tpmtest_readonly \ | 35 tpmtest_readonly \ |
36 tpmtest_redefine \ | 36 tpmtest_redefine \ |
| 37 tpmtest_spaceperm \ |
37 tpmtest_writelimit \ | 38 tpmtest_writelimit \ |
38 | 39 |
39 all: $(TESTS) | 40 all: $(TESTS) |
40 | 41 |
41 $(TESTS): tpmtest_%: %.o $(LIBS) | 42 $(TESTS): tpmtest_%: %.o $(LIBS) |
42 $(CC) $(LDFLAGS) -g $< -o $@ $(LIBS) | 43 $(CC) $(LDFLAGS) -g $< -o $@ $(LIBS) |
43 | 44 |
44 .c.o: | 45 .c.o: |
45 $(CC) $(CFLAGS) -g -c $< -I../tlcl/ | 46 $(CC) $(CFLAGS) -g -c $< -I../tlcl/ |
46 | 47 |
47 clean: | 48 clean: |
48 rm -f $(TESTS) *.o *~ | 49 rm -f $(TESTS) *.o *~ |
OLD | NEW |