15e124724SVadim Bendebury# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. 25e124724SVadim Bendebury# 35e124724SVadim Bendebury# See file CREDITS for list of people who contributed to this 45e124724SVadim Bendebury# project. 55e124724SVadim Bendebury# 65e124724SVadim Bendebury# This program is free software; you can redistribute it and/or 75e124724SVadim Bendebury# modify it under the terms of the GNU General Public License as 85e124724SVadim Bendebury# published by the Free Software Foundation; either version 2 of 95e124724SVadim Bendebury# the License, or (at your option) any later version. 105e124724SVadim Bendebury# 115e124724SVadim Bendebury# This program is distributed in the hope that it will be useful, 125e124724SVadim Bendebury# but WITHOUT ANY WARRANTY; without even the implied warranty of 135e124724SVadim Bendebury# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 145e124724SVadim Bendebury# GNU General Public License for more details. 155e124724SVadim Bendebury# 165e124724SVadim Bendebury# You should have received a copy of the GNU General Public License 175e124724SVadim Bendebury# along with this program; if not, write to the Free Software 185e124724SVadim Bendebury# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 195e124724SVadim Bendebury# MA 02111-1307 USA 205e124724SVadim Bendebury# 215e124724SVadim Bendebury 225e124724SVadim Bendeburyinclude $(TOPDIR)/config.mk 235e124724SVadim Bendebury 245e124724SVadim BendeburyLIB := $(obj)libtpm.o 255e124724SVadim Bendebury 26f6267998SRong Chang$(shell mkdir -p $(obj)slb9635_i2c) 27f6267998SRong Chang 281b393db5STom Wai-Hong Tam# TODO: Merge tpm_tis_lpc.c with tpm.c 29*c01939c7SDirk EibachCOBJS-$(CONFIG_TPM_ATMEL_TWI) += tpm_atmel_twi.o 301b393db5STom Wai-Hong TamCOBJS-$(CONFIG_TPM_TIS_I2C) += tpm.o 311b393db5STom Wai-Hong TamCOBJS-$(CONFIG_TPM_TIS_I2C) += tpm_tis_i2c.o 321b393db5STom Wai-Hong TamCOBJS-$(CONFIG_TPM_TIS_LPC) += tpm_tis_lpc.o 335e124724SVadim Bendebury 345e124724SVadim BendeburyCOBJS := $(COBJS-y) 355e124724SVadim BendeburySRCS := $(COBJS:.o=.c) 365e124724SVadim BendeburyOBJS := $(addprefix $(obj),$(COBJS)) 375e124724SVadim Bendebury 385e124724SVadim Bendeburyall: $(LIB) 395e124724SVadim Bendebury 405e124724SVadim Bendebury$(LIB): $(obj).depend $(OBJS) 415e124724SVadim Bendebury $(call cmd_link_o_target, $(OBJS)) 425e124724SVadim Bendebury 435e124724SVadim Bendebury######################################################################### 445e124724SVadim Bendebury 455e124724SVadim Bendeburyinclude $(SRCTREE)/rules.mk 465e124724SVadim Bendebury 475e124724SVadim Bendeburysinclude $(obj).depend 485e124724SVadim Bendebury 495e124724SVadim Bendebury######################################################################### 50