xref: /illumos-gate/usr/src/uts/intel/md4/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
15151fb12Sdarrenm#
25151fb12Sdarrenm# CDDL HEADER START
35151fb12Sdarrenm#
45151fb12Sdarrenm# The contents of this file are subject to the terms of the
55151fb12Sdarrenm# Common Development and Distribution License (the "License").
65151fb12Sdarrenm# You may not use this file except in compliance with the License.
75151fb12Sdarrenm#
85151fb12Sdarrenm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
95151fb12Sdarrenm# or http://www.opensolaris.org/os/licensing.
105151fb12Sdarrenm# See the License for the specific language governing permissions
115151fb12Sdarrenm# and limitations under the License.
125151fb12Sdarrenm#
135151fb12Sdarrenm# When distributing Covered Code, include this CDDL HEADER in each
145151fb12Sdarrenm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
155151fb12Sdarrenm# If applicable, add the following below this CDDL HEADER, with the
165151fb12Sdarrenm# fields enclosed by brackets "[]" replaced with your own identifying
175151fb12Sdarrenm# information: Portions Copyright [yyyy] [name of copyright owner]
185151fb12Sdarrenm#
195151fb12Sdarrenm# CDDL HEADER END
205151fb12Sdarrenm#
215151fb12Sdarrenm#
225151fb12Sdarrenm# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
235151fb12Sdarrenm# Use is subject to license terms.
245151fb12Sdarrenm#
25*0aaef2f5SRichard Lowe
265151fb12Sdarrenm#
275151fb12Sdarrenm#	This makefile drives the production of the md4 crypto kernel module.
285151fb12Sdarrenm#
295151fb12Sdarrenm#	intel architecture dependent
305151fb12Sdarrenm#
315151fb12Sdarrenm
325151fb12Sdarrenm#
335151fb12Sdarrenm#	Path to the base of the uts directory tree (usually /usr/src/uts).
345151fb12Sdarrenm#
355151fb12SdarrenmUTSBASE	= ../..
365151fb12Sdarrenm
375151fb12Sdarrenm#
385151fb12Sdarrenm#	Define the module and object file sets.
395151fb12Sdarrenm#
405151fb12SdarrenmMODULE		= md4
415151fb12SdarrenmOBJECTS		= $(MD4_OBJS:%=$(OBJS_DIR)/%)
425151fb12SdarrenmROOTMODULE	= $(ROOT_CRYPTO_DIR)/$(MODULE)
435151fb12Sdarrenm
445151fb12Sdarrenm#
455151fb12Sdarrenm#	Include common rules.
465151fb12Sdarrenm#
475151fb12Sdarrenminclude $(UTSBASE)/intel/Makefile.intel
485151fb12Sdarrenm
495151fb12Sdarrenm#
505151fb12Sdarrenm#	Override defaults
515151fb12Sdarrenm#
525151fb12Sdarrenm
535151fb12Sdarrenm
545151fb12Sdarrenm#
555151fb12Sdarrenm#	Define targets
565151fb12Sdarrenm#
575151fb12SdarrenmALL_TARGET	= $(BINARY)
585151fb12SdarrenmINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
595151fb12Sdarrenm
605151fb12Sdarrenm#
615151fb12Sdarrenm#	Default build targets.
625151fb12Sdarrenm#
635151fb12Sdarrenm.KEEP_STATE:
645151fb12Sdarrenm
655151fb12Sdarrenmdef:		$(DEF_DEPS)
665151fb12Sdarrenm
675151fb12Sdarrenmall:		$(ALL_DEPS)
685151fb12Sdarrenm
695151fb12Sdarrenmclean:		$(CLEAN_DEPS)
705151fb12Sdarrenm
715151fb12Sdarrenmclobber:	$(CLOBBER_DEPS)
725151fb12Sdarrenm
735151fb12Sdarrenminstall:	$(INSTALL_DEPS)
745151fb12Sdarrenm
755151fb12Sdarrenm#
765151fb12Sdarrenm#	Include common targets.
775151fb12Sdarrenm#
785151fb12Sdarrenminclude $(UTSBASE)/intel/Makefile.targ
79