xref: /titanic_50/usr/src/lib/libmd/Makefile (revision 45818ee124adeaaf947698996b4f4c722afc6d1f)
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#
211e49577aSRod Evans
22734b6a94Sdarrenm#
231e49577aSRod Evans# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
24*45818ee1SMatthew Ahrens# Copyright 2013 Saso Kiselkov. All rights reserved.
25734b6a94Sdarrenm#
26734b6a94Sdarrenm
271e49577aSRod Evansinclude		$(SRC)/lib/Makefile.lib
28734b6a94Sdarrenm
291e49577aSRod Evans$(SPARC_BLD)CAPDIR = capabilities
30734b6a94Sdarrenm
311e49577aSRod EvansSUBDIRS=	$(MACH) $(BUILD64) $(MACH64)
32734b6a94Sdarrenm
33*45818ee1SMatthew AhrensHDRS =		md4.h md5.h sha1.h sha2.h skein.h
34734b6a94SdarrenmHDRDIR =	common
35734b6a94Sdarrenm
36734b6a94Sdarrenmall :=		TARGET= all
37734b6a94Sdarrenmclean :=	TARGET= clean
38734b6a94Sdarrenmclobber :=	TARGET= clobber
39734b6a94Sdarrenminstall :=	TARGET= install
40734b6a94Sdarrenmlint :=		TARGET= lint
41734b6a94Sdarrenm
42734b6a94Sdarrenm.KEEP_STATE:
43734b6a94Sdarrenm
44f808c858Sraf.PARALLEL:	$(SUBDIRS)
45734b6a94Sdarrenm
461e49577aSRod Evansall clean clobber install lint: \
471e49577aSRod Evans		$(CAPDIR) .WAIT $(SUBDIRS)
48734b6a94Sdarrenm
49734b6a94Sdarrenminstall_h:	$(ROOTHDRS)
50734b6a94Sdarrenm
51734b6a94Sdarrenmcheck:		$(CHECKHDRS)
52734b6a94Sdarrenm
531e49577aSRod Evans$(CAPDIR) \
54f808c858Sraf$(SUBDIRS):	FRC
55734b6a94Sdarrenm		@cd $@; pwd; $(MAKE) $(TARGET)
561e49577aSRod Evans
57734b6a94SdarrenmFRC:
58734b6a94Sdarrenm
591e49577aSRod Evansinclude		$(SRC)/lib/Makefile.targ
60