xref: /illumos-gate/usr/src/uts/common/des/Makefile (revision 6bb6b5762ca4b17cd5fb3c6c123f17489d5635aa)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22# Copyright (c) 1989,1999 by Sun Microsystems, Inc.
23# All rights reserved.
24#
25# uts/common/des/Makefile
26#
27# include global definitions
28include ../../../Makefile.master
29
30HDRS=	des.h		desdata.h	softdes.h
31
32ROOTDIRS= $(ROOT)/usr/include/des
33
34ROOTHDRS= $(HDRS:%=$(ROOTDIRS)/%)
35
36CHECKHDRS= $(HDRS:%.h=%.check)
37
38# install rule
39$(ROOTDIRS)/%: %
40	$(INS.file)
41
42.KEEP_STATE:
43
44.PARALLEL: $(CHECKHDRS)
45
46install_h: $(ROOTDIRS) $(ROOTHDRS)
47
48$(ROOTDIRS):
49	$(INS.dir)
50
51check:	$(CHECKHDRS)
52