xref: /titanic_52/usr/src/uts/common/pcmcia/sys/Makefile (revision 269e59f9a28bf47e0f463e64fc5af4a408b73b21)
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#
23#ident	"%W%	%E% SMI"
24#
25# Copyright (c) 1995-1996 by Sun Microsystems, Inc.
26# All rights reserved.
27#
28# uts/common/pcmcia/sys/Makefile
29#
30# include global definitions
31include ../../../../Makefile.master
32
33HDRS=	cis.h			\
34	cis_handlers.h		\
35	cis_protos.h		\
36	cs.h			\
37	cs_priv.h		\
38	cs_strings.h		\
39	cs_types.h		\
40	cs_stubs.h
41
42ROOTDIR=	$(ROOT)/usr/include/sys
43ROOTHDRS=	$(HDRS:%=$(ROOTDIR)/%)
44
45# install rules
46
47$(ROOTDIR)/%: %
48	$(INS.file)
49
50CHECKHDRS= $(HDRS:%.h=%.check)
51
52.KEEP_STATE:
53
54.PARALLEL: $(CHECKHDRS)
55
56install_h: $(ROOTDIR) .WAIT $(ROOTHDRS)
57
58$(ROOTDIR):
59	$(INS.dir)
60
61check:	$(CHECKHDRS)
62