xref: /titanic_50/usr/src/lib/libmd/Makefile (revision 734b6a94890be549309b21156f8ed6d4561cac51)
1*734b6a94Sdarrenm#
2*734b6a94Sdarrenm# CDDL HEADER START
3*734b6a94Sdarrenm#
4*734b6a94Sdarrenm# The contents of this file are subject to the terms of the
5*734b6a94Sdarrenm# Common Development and Distribution License (the "License").
6*734b6a94Sdarrenm# You may not use this file except in compliance with the License.
7*734b6a94Sdarrenm#
8*734b6a94Sdarrenm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*734b6a94Sdarrenm# or http://www.opensolaris.org/os/licensing.
10*734b6a94Sdarrenm# See the License for the specific language governing permissions
11*734b6a94Sdarrenm# and limitations under the License.
12*734b6a94Sdarrenm#
13*734b6a94Sdarrenm# When distributing Covered Code, include this CDDL HEADER in each
14*734b6a94Sdarrenm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*734b6a94Sdarrenm# If applicable, add the following below this CDDL HEADER, with the
16*734b6a94Sdarrenm# fields enclosed by brackets "[]" replaced with your own identifying
17*734b6a94Sdarrenm# information: Portions Copyright [yyyy] [name of copyright owner]
18*734b6a94Sdarrenm#
19*734b6a94Sdarrenm# CDDL HEADER END
20*734b6a94Sdarrenm#
21*734b6a94Sdarrenm#
22*734b6a94Sdarrenm# ident	"%Z%%M%	%I%	%E% SMI"
23*734b6a94Sdarrenm#
24*734b6a94Sdarrenm# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
25*734b6a94Sdarrenm# Use is subject to license terms.
26*734b6a94Sdarrenm#
27*734b6a94Sdarrenm# lib/libmd/Makefile
28*734b6a94Sdarrenm#
29*734b6a94Sdarrenm
30*734b6a94Sdarrenminclude ../Makefile.lib
31*734b6a94Sdarrenm
32*734b6a94Sdarrenm$(SPARC_BLD)PLATFORMS= sun4u sun4v
33*734b6a94Sdarrenm
34*734b6a94SdarrenmSUBDIRS=	$(MACH) $(PLATFORMS)
35*734b6a94Sdarrenm$(BUILD64)SUBDIRS += $(MACH64)
36*734b6a94Sdarrenm
37*734b6a94SdarrenmHDRS =		md4.h md5.h sha1.h sha2.h
38*734b6a94SdarrenmHDRDIR =	common
39*734b6a94Sdarrenm
40*734b6a94Sdarrenmall :=		TARGET= all
41*734b6a94Sdarrenmclean :=	TARGET= clean
42*734b6a94Sdarrenmclobber :=	TARGET= clobber
43*734b6a94Sdarrenminstall :=	TARGET= install
44*734b6a94Sdarrenmlint :=		TARGET= lint
45*734b6a94Sdarrenm
46*734b6a94Sdarrenm.KEEP_STATE:
47*734b6a94Sdarrenm
48*734b6a94Sdarrenm.PARALLEL: $(MACH) $(MACH64) $(PLATFORMS)
49*734b6a94Sdarrenm
50*734b6a94Sdarrenmall install: spec .WAIT $(SUBDIRS)
51*734b6a94Sdarrenm
52*734b6a94Sdarrenmclean clobber: $(SUBDIRS)
53*734b6a94Sdarrenm
54*734b6a94Sdarrenmlint:		$(SUBDIRS)
55*734b6a94Sdarrenm
56*734b6a94Sdarrenminstall_h:	$(ROOTHDRS)
57*734b6a94Sdarrenm
58*734b6a94Sdarrenmcheck:		$(CHECKHDRS)
59*734b6a94Sdarrenm
60*734b6a94Sdarrenmspec $(MACH) $(MACH64) $(PLATFORMS): FRC
61*734b6a94Sdarrenm	@cd $@; pwd; $(MAKE) $(TARGET)
62*734b6a94SdarrenmFRC:
63*734b6a94Sdarrenm
64*734b6a94Sdarrenminclude ../Makefile.targ
65