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

Side by Side Diff: tests/tpm_lite/Makefile

Issue 4266002: Fix integration bugs (vboot side) (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/vboot_reference.git@master
Patch Set: Rename tpm_lite.h to tlcl_stub.h Created 10 years, 1 month 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 | « tests/Makefile ('k') | utility/Makefile » ('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 # Always use VBOOT_DEBUG for tests. (Multiple -DVAR for the same VAR are OK.) 5 # Always use VBOOT_DEBUG for tests. (Multiple -DVAR for the same VAR are OK.)
6 CFLAGS += -DVBOOT_DEBUG 6 CFLAGS += -DVBOOT_DEBUG
7 7
8 INCLUDES += -I./include \ 8 INCLUDES += -I./include \
9 -I$(FWDIR)/lib/include \ 9 -I$(FWDIR)/lib/include \
10 -I$(FWDIR)/lib/cgptlib/include \ 10 -I$(FWDIR)/lib/cgptlib/include \
(...skipping 13 matching lines...) Expand all
24 tpmtest_testsetup \ 24 tpmtest_testsetup \
25 tpmtest_timing \ 25 tpmtest_timing \
26 tpmtest_writelimit \ 26 tpmtest_writelimit \
27 27
28 TEST_BINS = $(addprefix ${BUILD_ROOT}/,$(TEST_NAMES)) 28 TEST_BINS = $(addprefix ${BUILD_ROOT}/,$(TEST_NAMES))
29 SHARED_TEST_OBJ = $(BUILD_ROOT)/tlcl_tests.o 29 SHARED_TEST_OBJ = $(BUILD_ROOT)/tlcl_tests.o
30 30
31 ALL_DEPS = $(addsuffix .d,${TEST_BINS}) 31 ALL_DEPS = $(addsuffix .d,${TEST_BINS})
32 CFLAGS += -MMD -MF $@.d 32 CFLAGS += -MMD -MF $@.d
33 33
34 LIBS := ${TEST_LIB} $(HOSTLIB) $(FWLIB) 34 LIBS := ${TEST_LIB} $(HOSTLIB)
35 35
36 all: $(TEST_BINS) 36 all: $(TEST_BINS)
37 37
38 ${BUILD_ROOT}/%.o : %.c 38 ${BUILD_ROOT}/%.o : %.c
39 $(CC) $(CFLAGS) $(INCLUDES) -MMD -MF $@.d -c -o $@ $< 39 $(CC) $(CFLAGS) $(INCLUDES) -MMD -MF $@.d -c -o $@ $<
40 40
41 ${BUILD_ROOT}/tpmtest_%: %.c ${LIBS} ${SHARED_TEST_OBJ} 41 ${BUILD_ROOT}/tpmtest_%: %.c ${LIBS} ${SHARED_TEST_OBJ}
42 $(CC) $(CFLAGS) $(INCLUDES) $< ${SHARED_TEST_OBJ} \ 42 $(CC) $(CFLAGS) $(INCLUDES) $< ${SHARED_TEST_OBJ} \
43 ${LIBS} -o $@ -lcrypto -lrt $(LDFLAGS) 43 ${LIBS} -o $@ -lcrypto -lrt $(LDFLAGS)
44 44
45 -include ${ALL_DEPS} 45 -include ${ALL_DEPS}
OLDNEW
« no previous file with comments | « tests/Makefile ('k') | utility/Makefile » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698