<commit_before># Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

TPM = tpm
TPM_SRC_DIR = $(GCLIENT_ROOT)/src/third_party/$(TPM)
TPM_WORK_DIR = $(TPM)

TLCL = tpm_lite
TLCL_SRC_DIR = $(GCLIENT_ROOT)/src/platform/$(TLCL)
TLCL_WORK_DIR = $(TLCL)

BINDIR = .
PROGRAMS = \
           clear \
           enable \
           globallock \
           lock \
           readonly \
           writelimit

all:
	rm -rf $(TPM_WORK_DIR)
	cp -a $(TPM_SRC_DIR) $(TPM_WORK_DIR)
	$(MAKE) -C $(TPM_WORK_DIR)/nvtool clean
	$(MAKE) -C $(TPM_WORK_DIR)/nvtool
	rm -rf $(TLCL_WORK_DIR)
	cp -a $(TLCL_SRC_DIR) $(TLCL_WORK_DIR)
	$(MAKE) -C $(TLCL_WORK_DIR)/src clean
	$(MAKE) cross USE_TPM_EMULATOR=0 -C $(TLCL_WORK_DIR)/src
	# gets rid of host binary which confuses ARM build
	rm $(TLCL_WORK_DIR)/src/tlcl/generator
	cp $(TPM_WORK_DIR)/nvtool/tpm-nvtool $(BINDIR)
	set -e; for i in $(PROGRAMS); \
	  do cp $(TLCL_WORK_DIR)/src/testsuite/tpmtest_$$i $(BINDIR); done
<commit_msg>Change Makefile for new test ebuild.<commit_after># Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

BINDIR = .
PROGRAMS = \
	earlyextend      \
	earlynvram       \
	earlynvram2      \
	enable           \
	fastenable       \
	globallock       \
	redefine_unowned \
	spaceperm        \
	testsetup        \
	timing           \
	writelimit       \

all:
	$(MAKE) -C $(VBOOT_DIR) clean
	$(MAKE) -C $(VBOOT_DIR)
	set -e; \
	for i in $(PROGRAMS); do \
	  cp $(VBOOT_DIR)/build/tests/tpm_lite/tpmtest_$$i $(BINDIR); \
	done

{'fraction_non_alphanumeric': 0.1211943793911007, 'fraction_numerical': 0.00585480093676815, 'mean_word_length': 2.756043956043956, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2006205', 'n_tokens_mistral': 678, 'n_tokens_neox': 660, 'n_words': 173}