xref: /titanic_51/usr/src/uts/i86pc/authenticamd/Makefile (revision 20c794b39650d115e17a15983b6b82e46238cf45)
1*20c794b3Sgavinm# CDDL HEADER START
2*20c794b3Sgavinm#
3*20c794b3Sgavinm# The contents of this file are subject to the terms of the
4*20c794b3Sgavinm# Common Development and Distribution License (the "License").
5*20c794b3Sgavinm# You may not use this file except in compliance with the License.
6*20c794b3Sgavinm#
7*20c794b3Sgavinm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8*20c794b3Sgavinm# or http://www.opensolaris.org/os/licensing.
9*20c794b3Sgavinm# See the License for the specific language governing permissions
10*20c794b3Sgavinm# and limitations under the License.
11*20c794b3Sgavinm#
12*20c794b3Sgavinm# When distributing Covered Code, include this CDDL HEADER in each
13*20c794b3Sgavinm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14*20c794b3Sgavinm# If applicable, add the following below this CDDL HEADER, with the
15*20c794b3Sgavinm# fields enclosed by brackets "[]" replaced with your own identifying
16*20c794b3Sgavinm# information: Portions Copyright [yyyy] [name of copyright owner]
17*20c794b3Sgavinm#
18*20c794b3Sgavinm# CDDL HEADER END
19*20c794b3Sgavinm#
20*20c794b3Sgavinm# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
21*20c794b3Sgavinm# Use is subject to license terms.
22*20c794b3Sgavinm#
23*20c794b3Sgavinm# ident	"%Z%%M%	%I%	%E% SMI"
24*20c794b3Sgavinm#
25*20c794b3Sgavinm
26*20c794b3Sgavinm#
27*20c794b3Sgavinm#	Path to the base of the uts directory tree (usually /usr/src/uts).
28*20c794b3Sgavinm#
29*20c794b3SgavinmUTSBASE = ../..
30*20c794b3Sgavinm
31*20c794b3Sgavinm#
32*20c794b3Sgavinm#       Define the module and object file sets.
33*20c794b3Sgavinm#
34*20c794b3SgavinmMODULE		= cpu_ms.AuthenticAMD
35*20c794b3Sgavinm#
36*20c794b3SgavinmOBJECTS		= $(CPU_AUTHAMD_OBJS:%=$(OBJS_DIR)/%)
37*20c794b3SgavinmLINTS           = $(CPU_AUTHAMD_OBJS:%.o=$(LINTS_DIR)/%.ln)
38*20c794b3SgavinmROOTMODULE      = $(ROOT_PSM_CPU_DIR)/$(MODULE)
39*20c794b3Sgavinm
40*20c794b3SgavinmSRCDIR		= ../cpu/authenticamd
41*20c794b3Sgavinm
42*20c794b3Sgavinm#
43*20c794b3Sgavinm#       Include common rules.
44*20c794b3Sgavinm#
45*20c794b3Sgavinminclude ../cpu/Makefile.cpu
46*20c794b3Sgavinm
47*20c794b3Sgavinm#
48*20c794b3Sgavinm#	Our lint library has a different name from that of the module we build.
49*20c794b3Sgavinm#
50*20c794b3SgavinmLINT_MODULE	= authenticamd
51*20c794b3Sgavinm
52*20c794b3Sgavinm#
53*20c794b3Sgavinm#       Define targets
54*20c794b3Sgavinm#
55*20c794b3SgavinmALL_TARGET      = $(BINARY)
56*20c794b3SgavinmLINT_TARGET     = $(LINT_MODULE).lint
57*20c794b3SgavinmINSTALL_TARGET  = $(BINARY) $(ROOTMODULE)
58*20c794b3Sgavinm
59*20c794b3Sgavinm#
60*20c794b3Sgavinm#	Overrides and additions
61*20c794b3Sgavinm#
62*20c794b3SgavinmCPPFLAGS	+= -I$(SRCDIR) -I$(OBJS_DIR)
63*20c794b3SgavinmASFLAGS		+= -I$(SRCDIR) -I$(OBJS_DIR)
64*20c794b3SgavinmLDFLAGS		+= -dy -N misc/acpica
65*20c794b3Sgavinm
66*20c794b3Sgavinm#
67*20c794b3Sgavinm#       Default build targets.
68*20c794b3Sgavinm#
69*20c794b3Sgavinm.KEEP_STATE:
70*20c794b3Sgavinm
71*20c794b3Sgavinmdef:            $(DEF_DEPS)
72*20c794b3Sgavinm
73*20c794b3Sgavinmall:            $(ALL_DEPS)
74*20c794b3Sgavinm
75*20c794b3Sgavinmclean:          $(CLEAN_DEPS)
76*20c794b3Sgavinm
77*20c794b3Sgavinmclobber:        $(CLOBBER_DEPS)
78*20c794b3Sgavinm
79*20c794b3Sgavinmlint:           $(LINT_DEPS)
80*20c794b3Sgavinm
81*20c794b3Sgavinmmodlintlib:     $(MODLINTLIB_DEPS)
82*20c794b3Sgavinm
83*20c794b3Sgavinmclean.lint:     $(CLEAN_LINT_DEPS)
84*20c794b3Sgavinm
85*20c794b3Sgavinminstall:        $(INSTALL_DEPS)
86*20c794b3Sgavinm
87*20c794b3Sgavinm#
88*20c794b3Sgavinm#       Include common targets.
89*20c794b3Sgavinm#
90*20c794b3Sgavinminclude ../Makefile.targ
91