Merge remote-tracking branch 'origin/master'
[unleashed/lotheac.git] / usr / src / uts / common / ipp / Makefile
blobd3ba65ee76d44b01d5508d00e534ff894deceea5
2 # CDDL HEADER START
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.
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.
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]
20 # CDDL HEADER END
23 # Copyright 2002 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
26 #pragma ident "%Z%%M% %I% %E% SMI"
28 # uts/common/ipp/Makefile
29 # This makefile installs IPP framework and module header files
31 # include global definitions
32 include ../../../Makefile.master
34 HDRS = \
35 ipp.h \
36 ipp_impl.h \
37 ippctl.h \
38 ipp_config.h
40 IPGPCHDRS = \
41 ipgpc.h
43 DSCPMKHDRS = \
44 dscpmk.h
46 DLCOSMKHDRS = \
47 dlcosmk.h
49 FLOWACCTHDRS = \
50 flowacct.h
52 METERSHDRS = \
53 meter.h
55 ipgpc/%.check: ipgpc/%.h
56 $(DOT_H_CHECK)
58 dscpmk/%.check: dscpmk/%.h
59 $(DOT_H_CHECK)
61 meters/%.check: meters/%.h
62 $(DOT_H_CHECK)
64 flowacct/%.check:flowacct/%.h
65 $(DOT_H_CHECK)
67 dlcosmk/%.check: dlcosmk/%.h
68 $(DOT_H_CHECK)
70 CHECKHDRS = \
71 $(HDRS:%.h=%.check) \
72 $(IPGPCHDRS:%.h=ipgpc/%.check) \
73 $(DSCPMKHDRS:%.h=dscpmk/%.check) \
74 $(DLCOSMKHDRS:%.h=dlcosmk/%.check) \
75 $(FLOWACCTHDRS:%.h=flowacct/%.check) \
76 $(METERSHDRS:%.h=meters/%.check)
78 ROOTDIR = $(ROOT)/usr/include/ipp
80 ROOTDIRS = \
81 $(ROOTDIR) \
82 $(ROOTDIR)/ipgpc \
83 $(ROOTDIR)/dscpmk \
84 $(ROOTDIR)/meters \
85 $(ROOTDIR)/dlcosmk \
86 $(ROOTDIR)/flowacct
88 ROOTHDRS = $(HDRS:%=$(ROOTDIR)/%)
89 ROOTMODHDRS = $(IPGPCHDRS:%=$(ROOTDIR)/ipgpc/%) \
90 $(DSCPMKHDRS:%=$(ROOTDIR)/dscpmk/%) \
91 $(DLCOSMKHDRS:%=$(ROOTDIR)/dlcosmk/%) \
92 $(FLOWACCTHDRS:%=$(ROOTDIR)/flowacct/%) \
93 $(METERSHDRS:%=$(ROOTDIR)/meters/%)
95 $(ROOTDIR)/%: %
96 $(INS.file)
98 $(ROOTDIR)/flowacct/%: flowacct/%
99 $(INS.file)
101 $(ROOTDIR)/ipgpc/%: ipgpc/%
102 $(INS.file)
104 $(ROOTDIR)/dscpmk/%: dscpmk/%
105 $(INS.file)
107 $(ROOTDIR)/dlcosmk/%: dlcosmk/%
108 $(INS.file)
110 $(ROOTDIR)/meters/%: meters/%
111 $(INS.file)
113 .KEEP_STATE:
115 .PARALLEL: \
116 $(CHECKHDRS) \
117 $(ROOTHDRS)
119 install_h: \
120 $(ROOTDIRS) \
121 $(ROOTHDRS) \
122 .WAIT \
123 $(ROOTMODHDRS)
125 $(ROOTDIRS):
126 $(INS.dir)
128 check: $(CHECKHDRS)