xref: /titanic_50/usr/src/lib/libmd/Makefile (revision f808c858fa61e7769218966759510a8b1190dfcf)
1734b6a94Sdarrenm#
2734b6a94Sdarrenm# CDDL HEADER START
3734b6a94Sdarrenm#
4734b6a94Sdarrenm# The contents of this file are subject to the terms of the
5734b6a94Sdarrenm# Common Development and Distribution License (the "License").
6734b6a94Sdarrenm# You may not use this file except in compliance with the License.
7734b6a94Sdarrenm#
8734b6a94Sdarrenm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9734b6a94Sdarrenm# or http://www.opensolaris.org/os/licensing.
10734b6a94Sdarrenm# See the License for the specific language governing permissions
11734b6a94Sdarrenm# and limitations under the License.
12734b6a94Sdarrenm#
13734b6a94Sdarrenm# When distributing Covered Code, include this CDDL HEADER in each
14734b6a94Sdarrenm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15734b6a94Sdarrenm# If applicable, add the following below this CDDL HEADER, with the
16734b6a94Sdarrenm# fields enclosed by brackets "[]" replaced with your own identifying
17734b6a94Sdarrenm# information: Portions Copyright [yyyy] [name of copyright owner]
18734b6a94Sdarrenm#
19734b6a94Sdarrenm# CDDL HEADER END
20734b6a94Sdarrenm#
21734b6a94Sdarrenm#
22734b6a94Sdarrenm# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23734b6a94Sdarrenm# Use is subject to license terms.
24734b6a94Sdarrenm#
25*f808c858Sraf# ident	"%Z%%M%	%I%	%E% SMI"
26734b6a94Sdarrenm#
27734b6a94Sdarrenm
28734b6a94Sdarrenminclude ../Makefile.lib
29734b6a94Sdarrenm
30734b6a94Sdarrenm$(SPARC_BLD)PLATFORMS= sun4u sun4v
31734b6a94Sdarrenm
32734b6a94SdarrenmSUBDIRS=	$(MACH) $(PLATFORMS)
33734b6a94Sdarrenm$(BUILD64)SUBDIRS += $(MACH64)
34734b6a94Sdarrenm
35734b6a94SdarrenmHDRS =		md4.h md5.h sha1.h sha2.h
36734b6a94SdarrenmHDRDIR =	common
37734b6a94Sdarrenm
38734b6a94Sdarrenmall :=		TARGET= all
39734b6a94Sdarrenmclean :=	TARGET= clean
40734b6a94Sdarrenmclobber :=	TARGET= clobber
41734b6a94Sdarrenminstall :=	TARGET= install
42734b6a94Sdarrenmlint :=		TARGET= lint
43734b6a94Sdarrenm
44734b6a94Sdarrenm.KEEP_STATE:
45734b6a94Sdarrenm
46*f808c858Sraf.PARALLEL: $(SUBDIRS)
47734b6a94Sdarrenm
48*f808c858Srafall clean clobber install lint: $(SUBDIRS)
49734b6a94Sdarrenm
50734b6a94Sdarrenminstall_h:	$(ROOTHDRS)
51734b6a94Sdarrenm
52734b6a94Sdarrenmcheck:		$(CHECKHDRS)
53734b6a94Sdarrenm
54*f808c858Sraf$(SUBDIRS): FRC
55734b6a94Sdarrenm	@cd $@; pwd; $(MAKE) $(TARGET)
56734b6a94SdarrenmFRC:
57734b6a94Sdarrenm
58734b6a94Sdarrenminclude ../Makefile.targ
59