15dcfc9c5cd8cd761239a474fa1af7844643679acKees Cook# Copyright (c) 2013 The Chromium OS Authors. All rights reserved. 25dcfc9c5cd8cd761239a474fa1af7844643679acKees Cook# Use of this source code is governed by a BSD-style license that can be 35dcfc9c5cd8cd761239a474fa1af7844643679acKees Cook# found in the LICENSE file. 45dcfc9c5cd8cd761239a474fa1af7844643679acKees Cook 55dcfc9c5cd8cd761239a474fa1af7844643679acKees CookCPPFLAGS += -Wall 65dcfc9c5cd8cd761239a474fa1af7844643679acKees Cook 75dcfc9c5cd8cd761239a474fa1af7844643679acKees Cook# Add pci library on x86 85dcfc9c5cd8cd761239a474fa1af7844643679acKees Cookifneq (,$(filter $(shell uname -m),x86_64 i686)) 95dcfc9c5cd8cd761239a474fa1af7844643679acKees Cook LDLIBS += -lpci 105dcfc9c5cd8cd761239a474fa1af7844643679acKees Cookendif 115dcfc9c5cd8cd761239a474fa1af7844643679acKees Cook 125dcfc9c5cd8cd761239a474fa1af7844643679acKees CookTARGET = smm 135dcfc9c5cd8cd761239a474fa1af7844643679acKees Cook 145dcfc9c5cd8cd761239a474fa1af7844643679acKees Cookall: $(TARGET) 155dcfc9c5cd8cd761239a474fa1af7844643679acKees Cook 165dcfc9c5cd8cd761239a474fa1af7844643679acKees Cookclean: 175dcfc9c5cd8cd761239a474fa1af7844643679acKees Cook $(RM) $(TARGET) 18