xref: /titanic_50/usr/src/lib/libmd/Makefile (revision 1e49577a7fcde812700ded04431b49d67cc57d6d)
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#
21*1e49577aSRod Evans
22734b6a94Sdarrenm#
23*1e49577aSRod Evans# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
24734b6a94Sdarrenm#
25734b6a94Sdarrenm
26*1e49577aSRod Evansinclude		$(SRC)/lib/Makefile.lib
27734b6a94Sdarrenm
28*1e49577aSRod Evans$(SPARC_BLD)CAPDIR = capabilities
29734b6a94Sdarrenm
30*1e49577aSRod EvansSUBDIRS=	$(MACH) $(BUILD64) $(MACH64)
31734b6a94Sdarrenm
32734b6a94SdarrenmHDRS =		md4.h md5.h sha1.h sha2.h
33734b6a94SdarrenmHDRDIR =	common
34734b6a94Sdarrenm
35734b6a94Sdarrenmall :=		TARGET= all
36734b6a94Sdarrenmclean :=	TARGET= clean
37734b6a94Sdarrenmclobber :=	TARGET= clobber
38734b6a94Sdarrenminstall :=	TARGET= install
39734b6a94Sdarrenmlint :=		TARGET= lint
40734b6a94Sdarrenm
41734b6a94Sdarrenm.KEEP_STATE:
42734b6a94Sdarrenm
43f808c858Sraf.PARALLEL:	$(SUBDIRS)
44734b6a94Sdarrenm
45*1e49577aSRod Evansall clean clobber install lint: \
46*1e49577aSRod Evans		$(CAPDIR) .WAIT $(SUBDIRS)
47734b6a94Sdarrenm
48734b6a94Sdarrenminstall_h:	$(ROOTHDRS)
49734b6a94Sdarrenm
50734b6a94Sdarrenmcheck:		$(CHECKHDRS)
51734b6a94Sdarrenm
52*1e49577aSRod Evans$(CAPDIR) \
53f808c858Sraf$(SUBDIRS):	FRC
54734b6a94Sdarrenm		@cd $@; pwd; $(MAKE) $(TARGET)
55*1e49577aSRod Evans
56734b6a94SdarrenmFRC:
57734b6a94Sdarrenm
58*1e49577aSRod Evansinclude		$(SRC)/lib/Makefile.targ
59