xref: /titanic_41/usr/src/uts/sparc/md4/Makefile (revision 5151fb1220e0ceafdc172203863c73da4285c170)
1*5151fb12Sdarrenm#
2*5151fb12Sdarrenm# CDDL HEADER START
3*5151fb12Sdarrenm#
4*5151fb12Sdarrenm# The contents of this file are subject to the terms of the
5*5151fb12Sdarrenm# Common Development and Distribution License (the "License").
6*5151fb12Sdarrenm# You may not use this file except in compliance with the License.
7*5151fb12Sdarrenm#
8*5151fb12Sdarrenm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*5151fb12Sdarrenm# or http://www.opensolaris.org/os/licensing.
10*5151fb12Sdarrenm# See the License for the specific language governing permissions
11*5151fb12Sdarrenm# and limitations under the License.
12*5151fb12Sdarrenm#
13*5151fb12Sdarrenm# When distributing Covered Code, include this CDDL HEADER in each
14*5151fb12Sdarrenm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*5151fb12Sdarrenm# If applicable, add the following below this CDDL HEADER, with the
16*5151fb12Sdarrenm# fields enclosed by brackets "[]" replaced with your own identifying
17*5151fb12Sdarrenm# information: Portions Copyright [yyyy] [name of copyright owner]
18*5151fb12Sdarrenm#
19*5151fb12Sdarrenm# CDDL HEADER END
20*5151fb12Sdarrenm#
21*5151fb12Sdarrenm#
22*5151fb12Sdarrenm# uts/sparc/md4/Makefile
23*5151fb12Sdarrenm#
24*5151fb12Sdarrenm# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
25*5151fb12Sdarrenm# Use is subject to license terms.
26*5151fb12Sdarrenm#
27*5151fb12Sdarrenm# ident	"%Z%%M%	%I%	%E% SMI"
28*5151fb12Sdarrenm#
29*5151fb12Sdarrenm#	This makefile drives the production of the md4 crypto kernel module.
30*5151fb12Sdarrenm#
31*5151fb12Sdarrenm#	sparc architecture dependent
32*5151fb12Sdarrenm#
33*5151fb12Sdarrenm
34*5151fb12Sdarrenm#
35*5151fb12Sdarrenm#	Path to the base of the uts directory tree (usually /usr/src/uts).
36*5151fb12Sdarrenm#
37*5151fb12SdarrenmUTSBASE	= ../..
38*5151fb12Sdarrenm
39*5151fb12Sdarrenm#
40*5151fb12Sdarrenm#	Define the module and object file sets.
41*5151fb12Sdarrenm#
42*5151fb12SdarrenmMODULE		= md4
43*5151fb12SdarrenmOBJECTS		= $(MD4_OBJS:%=$(OBJS_DIR)/%)
44*5151fb12SdarrenmLINTS		= $(MD4_OBJS:%.o=$(LINTS_DIR)/%.ln)
45*5151fb12SdarrenmROOTMODULE	= $(ROOT_CRYPTO_DIR)/$(MODULE)
46*5151fb12Sdarrenm
47*5151fb12Sdarrenm#
48*5151fb12Sdarrenm#	Include common rules.
49*5151fb12Sdarrenm#
50*5151fb12Sdarrenminclude $(UTSBASE)/sparc/Makefile.sparc
51*5151fb12Sdarrenm
52*5151fb12Sdarrenm#
53*5151fb12Sdarrenm#	Override defaults
54*5151fb12Sdarrenm#
55*5151fb12Sdarrenm
56*5151fb12Sdarrenm
57*5151fb12Sdarrenm#
58*5151fb12Sdarrenm#	Define targets
59*5151fb12Sdarrenm#
60*5151fb12SdarrenmALL_TARGET	= $(BINARY)
61*5151fb12SdarrenmLINT_TARGET	= $(MODULE).lint
62*5151fb12SdarrenmINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
63*5151fb12Sdarrenm
64*5151fb12Sdarrenm#
65*5151fb12Sdarrenm# lint pass one enforcement
66*5151fb12Sdarrenm#
67*5151fb12SdarrenmCFLAGS += $(CCVERBOSE)
68*5151fb12Sdarrenm
69*5151fb12SdarrenmLDFLAGS		+= -dy
70*5151fb12Sdarrenm
71*5151fb12Sdarrenm#
72*5151fb12Sdarrenm# For now, disable these lint checks; maintainers should endeavor
73*5151fb12Sdarrenm# to investigate and remove these for maximum lint coverage.
74*5151fb12Sdarrenm# Please do not carry these forward to new Makefiles.
75*5151fb12Sdarrenm#
76*5151fb12SdarrenmLINTTAGS	+= -erroff=E_PTRDIFF_OVERFLOW
77*5151fb12Sdarrenm
78*5151fb12Sdarrenm#
79*5151fb12Sdarrenm#	Default build targets.
80*5151fb12Sdarrenm#
81*5151fb12Sdarrenm.KEEP_STATE:
82*5151fb12Sdarrenm
83*5151fb12Sdarrenmdef:		$(DEF_DEPS)
84*5151fb12Sdarrenm
85*5151fb12Sdarrenmall:		$(ALL_DEPS)
86*5151fb12Sdarrenm
87*5151fb12Sdarrenmclean:		$(CLEAN_DEPS)
88*5151fb12Sdarrenm
89*5151fb12Sdarrenmclobber:	$(CLOBBER_DEPS)
90*5151fb12Sdarrenm
91*5151fb12Sdarrenmlint:		$(LINT_DEPS)
92*5151fb12Sdarrenm
93*5151fb12Sdarrenmmodlintlib:	$(MODLINTLIB_DEPS)
94*5151fb12Sdarrenm
95*5151fb12Sdarrenmclean.lint:	$(CLEAN_LINT_DEPS)
96*5151fb12Sdarrenm
97*5151fb12Sdarrenminstall:	$(INSTALL_DEPS)
98*5151fb12Sdarrenm
99*5151fb12Sdarrenm#
100*5151fb12Sdarrenm#	Include common targets.
101*5151fb12Sdarrenm#
102*5151fb12Sdarrenminclude $(UTSBASE)/sparc/Makefile.targ
103