Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Side by Side Diff: src/testsuite/Makefile

Issue 2800021: Add fastenable test. (Closed) Base URL: ssh://git@chromiumos-git/tpm_lite.git
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/testsuite/fastenable.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 12 matching lines...) Expand all
23 23
24 CC ?= cc 24 CC ?= cc
25 CFLAGS += -Werror -Wall -DUSE_TPM_EMULATOR=$(USE_TPM_EMULATOR) 25 CFLAGS += -Werror -Wall -DUSE_TPM_EMULATOR=$(USE_TPM_EMULATOR)
26 #CFLAGS += -pedantic -ansi 26 #CFLAGS += -pedantic -ansi
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_fastenable \
33 tpmtest_globallock \ 34 tpmtest_globallock \
34 tpmtest_lock \ 35 tpmtest_lock \
35 tpmtest_readonly \ 36 tpmtest_readonly \
36 tpmtest_redefine \ 37 tpmtest_redefine \
37 tpmtest_spaceperm \ 38 tpmtest_spaceperm \
38 tpmtest_writelimit \ 39 tpmtest_writelimit \
39 40
40 all: $(TESTS) 41 all: $(TESTS)
41 42
42 $(TESTS): tpmtest_%: %.o $(LIBS) 43 $(TESTS): tpmtest_%: %.o $(LIBS)
43 $(CC) $(LDFLAGS) -g $< -o $@ $(LIBS) 44 $(CC) $(LDFLAGS) -g $< -o $@ $(LIBS)
44 45
45 .c.o: 46 .c.o:
46 $(CC) $(CFLAGS) -g -c $< -I../tlcl/ 47 $(CC) $(CFLAGS) -g -c $< -I../tlcl/
47 48
48 clean: 49 clean:
49 rm -f $(TESTS) *.o *~ 50 rm -f $(TESTS) *.o *~
OLDNEW
« no previous file with comments | « no previous file | src/testsuite/fastenable.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698