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

Side by Side Diff: tests/tpm_lite/Makefile

Issue 3535006: Always compile the TPM tests with -DVBOOT_DEBUG. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git
Patch Set: Created 10 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | 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 # Always use VBOOT_DEBUG for tests. (Multiple -DVAR for the same VAR are OK.)
6 CFLAGS += -DVBOOT_DEBUG
7
5 INCLUDES += -I./include \ 8 INCLUDES += -I./include \
6 -I$(FWDIR)/lib/include \ 9 -I$(FWDIR)/lib/include \
7 -I$(FWDIR)/lib/cgptlib/include \ 10 -I$(FWDIR)/lib/cgptlib/include \
8 -I$(FWDIR)/lib/cryptolib/include \ 11 -I$(FWDIR)/lib/cryptolib/include \
9 -I$(FWDIR)/lib/tpm_lite/include \ 12 -I$(FWDIR)/lib/tpm_lite/include \
10 -I$(HOSTDIR)/include 13 -I$(HOSTDIR)/include
11 BUILD_ROOT = ${BUILD}/tests/tpm_lite 14 BUILD_ROOT = ${BUILD}/tests/tpm_lite
12 15
13 TEST_NAMES = tpmtest_earlyextend \ 16 TEST_NAMES = tpmtest_earlyextend \
14 tpmtest_earlynvram \ 17 tpmtest_earlynvram \
(...skipping 18 matching lines...) Expand all
33 all: $(TEST_BINS) 36 all: $(TEST_BINS)
34 37
35 ${BUILD_ROOT}/%.o : %.c 38 ${BUILD_ROOT}/%.o : %.c
36 $(CC) $(CFLAGS) $(INCLUDES) -MMD -MF $@.d -c -o $@ $< 39 $(CC) $(CFLAGS) $(INCLUDES) -MMD -MF $@.d -c -o $@ $<
37 40
38 ${BUILD_ROOT}/tpmtest_%: %.c ${LIBS} ${SHARED_TEST_OBJ} 41 ${BUILD_ROOT}/tpmtest_%: %.c ${LIBS} ${SHARED_TEST_OBJ}
39 $(CC) $(CFLAGS) $(INCLUDES) $< ${SHARED_TEST_OBJ} \ 42 $(CC) $(CFLAGS) $(INCLUDES) $< ${SHARED_TEST_OBJ} \
40 ${LIBS} -o $@ -lcrypto -lrt $(LDFLAGS) 43 ${LIBS} -o $@ -lcrypto -lrt $(LDFLAGS)
41 44
42 -include ${ALL_DEPS} 45 -include ${ALL_DEPS}
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698