15cff7825Smh# CDDL HEADER START
25cff7825Smh#
35cff7825Smh# The contents of this file are subject to the terms of the
45cff7825Smh# Common Development and Distribution License (the "License").
55cff7825Smh# You may not use this file except in compliance with the License.
65cff7825Smh#
75cff7825Smh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
85cff7825Smh# or http://www.opensolaris.org/os/licensing.
95cff7825Smh# See the License for the specific language governing permissions
105cff7825Smh# and limitations under the License.
115cff7825Smh#
125cff7825Smh# When distributing Covered Code, include this CDDL HEADER in each
135cff7825Smh# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
145cff7825Smh# If applicable, add the following below this CDDL HEADER, with the
155cff7825Smh# fields enclosed by brackets "[]" replaced with your own identifying
165cff7825Smh# information: Portions Copyright [yyyy] [name of copyright owner]
175cff7825Smh#
185cff7825Smh# CDDL HEADER END
195cff7825Smh#
205cff7825Smh# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
215cff7825Smh# Use is subject to license terms.
225cff7825Smh#
23*fe7a23c8SAndy Fiddaman# Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
245cff7825Smh#
255cff7825Smh
265cff7825Smh#
275cff7825Smh#	Path to the base of the uts directory tree (usually /usr/src/uts).
285cff7825Smh#
29843e1988SjohnlevUTSBASE = ../..
30843e1988Sjohnlev
31843e1988Sjohnlev#
32843e1988Sjohnlev#       Define the module and object file sets.
33843e1988Sjohnlev#
3420c794b3SgavinmMODULE		= cpu_ms.AuthenticAMD
35843e1988Sjohnlev#
3620c794b3SgavinmOBJECTS		= $(CPU_AUTHAMD_OBJS:%=$(OBJS_DIR)/%)
37843e1988SjohnlevROOTMODULE      = $(ROOT_PSM_CPU_DIR)/$(MODULE)
385cff7825Smh
3920c794b3SgavinmSRCDIR		= ../cpu/authenticamd
4020c794b3Sgavinm
415cff7825Smh#
42843e1988Sjohnlev#       Include common rules.
435cff7825Smh#
4420c794b3Sgavinminclude ../cpu/Makefile.cpu
455cff7825Smh
465cff7825Smh
47843e1988Sjohnlev#       Define targets
485cff7825Smh#
49843e1988SjohnlevALL_TARGET      = $(BINARY)
50843e1988SjohnlevINSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
515cff7825Smh
5220c794b3Sgavinm#
5320c794b3Sgavinm#	Overrides and additions
5420c794b3Sgavinm#
5520c794b3SgavinmCPPFLAGS	+= -I$(SRCDIR) -I$(OBJS_DIR)
5620c794b3SgavinmASFLAGS		+= -I$(SRCDIR) -I$(OBJS_DIR)
5720c794b3Sgavinm
585cff7825Smh#
59843e1988Sjohnlev#       Default build targets.
605cff7825Smh#
615cff7825Smh.KEEP_STATE:
625cff7825Smh
63843e1988Sjohnlevdef:            $(DEF_DEPS)
645cff7825Smh
65843e1988Sjohnlevall:            $(ALL_DEPS)
665cff7825Smh
67843e1988Sjohnlevclean:          $(CLEAN_DEPS)
685cff7825Smh
69843e1988Sjohnlevclobber:        $(CLOBBER_DEPS)
705cff7825Smh
71843e1988Sjohnlevinstall:        $(INSTALL_DEPS)
725cff7825Smh
735cff7825Smh#
74843e1988Sjohnlev#       Include common targets.
755cff7825Smh#
76843e1988Sjohnlevinclude ../Makefile.targ
77